Initial support for watchdog block included in ROHM BD70528
power management IC.
Configurations for low power states are still to be checked.
Signed-off-by: Matti Vaittinen
---
drivers/watchdog/Kconfig | 12 +++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/bd70528_wdt.c
WDT functions
> > should be exported from WDT - then please ignore the v12. I'll do v13
> > at the afternoon (my time, which is only a bit after noon your time I
> > guess) which will export these functions from WDT. (Well, I had to try
> > once more :D)
>
> Please ke
support BD70528 GPIO block
Patch 6:
support BD70528 RTC
Patch 7:
support BD70528 battery charger
Patch 8:
support BD70528 watchdog
This patch series is based on Linus' v5.1-rc2 tag.
---
Matti Vaittinen (8):
mfd: regulator: clk: split rohm-bd718x7.h
mfd: bd705
Split the bd718x7.h to ROHM common and bd718x7 specific parts
so that we do not need to add same things in every new ROHM
PMIC header. Please note that this change requires changes also
in bd718x7 sub-device drivers for regulators and clk.
Signed-off-by: Matti Vaittinen
Acked-by: Mark Brown
clk
- RTC
- watchdog
Signed-off-by: Matti Vaittinen
---
Changelog v13:
- Moved WDT enable/disable code to WDT driver
- Created WDT enable/disable stubs for cases where WDT is not compiled
in
Changelog v12:
- No functional changes.
- Fixed styling issues pointed by Lee Jones
ROHM BD70528 is an ultra low power PMIC with similar 32K clk as
bd718x7. Only difference (from clk perspective) is register address.
Add support for controlling BD70528 clk using bd718x7 driver.
Signed-off-by: Matti Vaittinen
Acked-by: Stephen Boyd
---
Changelog v13:
- No changes
Changelog v12
Document bindings for regulators (3 bucks, 3 LDOs and 2 LED
drivers) and 4 GPIO pins which can be configured for I/O or
as interrupt sources withe configurable trigger levels.
Signed-off-by: Matti Vaittinen
Reviewed-by: Rob Herring
Acked-by: Linus Walleij
---
Changelog v13:
- No changes
ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be
controlled by GPIO framework.
IRQs are handled by regmap-irq and GPIO driver is not
aware of the irq usage.
Signed-off-by: Matti Vaittinen
Reviewed-by: Linus Walleij
---
Changelog v13:
- No changes
Changelog v12:
- No functional changes
also the alarm interrupt to
this 24 hours for the sake of consistency.
Signed-off-by: Matti Vaittinen
Acked-by: Alexandre Belloni
---
Changelog v13:
- No changes
Changelog v12:
- No functional changes
- Few styling fixes
drivers/rtc/Kconfig | 8 +
drivers/rtc/Makefile | 1
ROHM BD70528 PMIC includes battery charger block. Support charger
staus queries and doing few basic settings like input current limit
and charging current.
Signed-off-by: Matti Vaittinen
---
Changelog v13:
- no changes
Changelog v12:
- Styling fixes only
drivers/power/supply/Kconfig
Initial support for watchdog block included in ROHM BD70528
power management IC.
Configurations for low power states are still to be checked.
Signed-off-by: Matti Vaittinen
Acked-by: Guenter Roeck
---
Changelog v13
- Moved WDT enable/disable code from MFD to WDT as was (strongly) suggested
Hello Sebastian,
Thanks for the review. This is highly appreciated as charger subsystem
is new to me =)
On Thu, May 02, 2019 at 12:25:35AM +0200, Sebastian Reichel wrote:
> Hi,
>
> On Thu, Apr 25, 2019 at 02:16:51PM +0300, Matti Vaittinen wrote:
> > ROHM BD70528 PMIC includes
s for BD70528
Patch 5:
support BD70528 GPIO block
Patch 6:
support BD70528 RTC
Patch 7:
support BD70528 battery charger
Patch 8:
support BD70528 watchdog
This patch series is based on Linus' v5.1-rc2 tag.
---
Matti Vaittinen (8):
mfd: regulator: clk: split
Split the bd718x7.h to ROHM common and bd718x7 specific parts
so that we do not need to add same things in every new ROHM
PMIC header. Please note that this change requires changes also
in bd718x7 sub-device drivers for regulators and clk.
Signed-off-by: Matti Vaittinen
Acked-by: Mark Brown
clk
- RTC
- watchdog
Signed-off-by: Matti Vaittinen
---
Changelog v14: No changes
drivers/mfd/Kconfig | 17 ++
drivers/mfd/Makefile | 1 +
drivers/mfd/rohm-bd70528.c | 316
include/linux/mfd/rohm-bd70528.h | 408
ROHM BD70528 is an ultra low power PMIC with similar 32K clk as
bd718x7. Only difference (from clk perspective) is register address.
Add support for controlling BD70528 clk using bd718x7 driver.
Signed-off-by: Matti Vaittinen
Acked-by: Stephen Boyd
---
Changelog v14: No changes
drivers/clk
Document bindings for regulators (3 bucks, 3 LDOs and 2 LED
drivers) and 4 GPIO pins which can be configured for I/O or
as interrupt sources withe configurable trigger levels.
Signed-off-by: Matti Vaittinen
Reviewed-by: Rob Herring
Acked-by: Linus Walleij
---
Changelog v14: No changes
ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be
controlled by GPIO framework.
IRQs are handled by regmap-irq and GPIO driver is not
aware of the irq usage.
Signed-off-by: Matti Vaittinen
Reviewed-by: Linus Walleij
---
Changelog v14: No changes
drivers/gpio/Kconfig| 11
also the alarm interrupt to
this 24 hours for the sake of consistency.
Signed-off-by: Matti Vaittinen
Acked-by: Alexandre Belloni
---
Changelog v14: No changes
drivers/rtc/Kconfig | 8 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-bd70528.c | 500
ROHM BD70528 PMIC includes battery charger block. Support charger
staus queries and doing few basic settings like input current limit
and charging current.
Signed-off-by: Matti Vaittinen
Acked-by: Sebastian Reichel
---
Changelog v14:
- constify and statictze few structs
- use dev_get_regmap
Initial support for watchdog block included in ROHM BD70528
power management IC.
Configurations for low power states are still to be checked.
Signed-off-by: Matti Vaittinen
Acked-by: Guenter Roeck
---
Changelog v14: No changes
drivers/watchdog/Kconfig | 12 ++
drivers/watchdog
og is not compiled at all the stub functions for watchdog
control are used. compiling the RTC without watchdog is fine.
Fixes: 32a4a4ebf768 ("rtc: bd70528: Initial support for ROHM bd70528 RTC")
Suggested-by: Arnd Bergmann
Reported-by: kbuild test robot
Signed-off-by: Matti Vaittinen
---
mpatible = "ldo5";
> + regulator-min-microvolt = <180>;
> + regulator-max-microvolt = <330>;
> + regulator-boot-on;
> + regulator-always-on;
You may want to mark the BU
Hello Mark,
On Tue, Feb 12, 2019 at 04:08:31PM +, Mark Brown wrote:
> On Tue, Feb 12, 2019 at 04:19:38PM +0200, Matti Vaittinen wrote:
> > read ROHM BD71837 / BD71847 specific device tree bindings for
> > controlling the PMIC shutdown/reset states and voltages for
> > dif
his as "rohm,regulator-crucial-for-boot".
>
> I just think I need to document that those flags are required
> for critical regulators if SNVS is used as reset target even if there
> should be no one touching those regulators.
Anyways, this is still valid - I'll prepar
of regulator-always-on and regulator-boot-on
---
Matti Vaittinen (3):
devicetree: bindings: bd718x7: document HW state related ROHM specific
properties
regulator: add regulator_desc_list_voltage_linear_range
regulator: bd718x7: Support SNVS low power state
.../devicetree/bindings
regulators which are critical for boot.
Signed-off-by: Matti Vaittinen
---
.../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 15 +++
.../bindings/regulator/rohm,bd71837-regulator.txt | 30 ++
2 files changed, 45 insertions(+)
diff --git a/Documentation/devicetree
Add regulator_desc_list_voltage_linear_range which can be used
by drivers for getting the voltages before regulator is registered.
This may be useful for drivers which need to fetch the voltage
selectors at device-tree parsing callback.
Signed-off-by: Matti Vaittinen
---
drivers/regulator
regulators which are critical for boot.
Signed-off-by: Matti Vaittinen
---
drivers/regulator/bd718x7-regulator.c | 201 +-
1 file changed, 176 insertions(+), 25 deletions(-)
diff --git a/drivers/regulator/bd718x7-regulator.c
b/drivers/regulator/bd718x7-regulator.c
support BD70528 battery charger
Patch 8:
support BD70528 watchdog
This patch series is based on Mark's regulator/for-next branch
---
Matti Vaittinen (8):
mfd: regulator: clk: split rohm-bd718x7.h
mfd: bd70528: Support ROHM bd70528 PMIC - core
clk: bd718x7: Support ROHM BD70
Split the bd718x7.h to ROHM common and bd718x7 specific parts
so that we do not need to add same things in every new ROHM
PMIC header. Please note that this change requires changes also
in bd718x7 sub-device drivers for regulators and clk.
Signed-off-by: Matti Vaittinen
Acked-by: Mark Brown
clk
- RTC
- watchdog
Signed-off-by: Matti Vaittinen
---
drivers/mfd/Kconfig | 17 ++
drivers/mfd/Makefile | 1 +
drivers/mfd/rohm-bd70528.c | 397 +++
include/linux/mfd/rohm-bd70528.h | 392
ROHM BD70528 is an ultra low power PMIC with similar 32K clk as
bd718x7. Only difference (from clk perspective) is register address.
Add support for controlling BD70528 clk using bd718x7 driver.
Signed-off-by: Matti Vaittinen
---
drivers/clk/Kconfig | 6 +++---
drivers/clk/clk-bd718x7.c
Document bindings for regulators (3 bucks, 3 LDOs and 2 LED
drivers) and 4 GPIO pins which can be configured for I/O or
as interrupt sources withe configurable trigger levels.
Signed-off-by: Matti Vaittinen
Reviewed-by: Rob Herring
Acked-by: Linus Walleij
---
I maintained reviewed-by and
ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be
controlled by GPIO framework.
IRQs are handled by regmap-irq and GPIO driver is not
aware of the irq usage.
Signed-off-by: Matti Vaittinen
Reviewed-by: Linus Walleij
---
drivers/gpio/Kconfig| 11 +++
drivers/gpio/Makefile
also the alarm interrupt to
this 24 hours for the sake of consistency.
Signed-off-by: Matti Vaittinen
Acked-by: Alexandre Belloni
---
I maintained the ack from Alexandre as the only change is using
function exported by MFD instead of the pointer provided by MFD. Please
let me know if this is not Ok
ROHM BD70528 PMIC includes battery charger block. Support charger
staus queries and doing few basic settings like input current limit
and charging current.
Signed-off-by: Matti Vaittinen
---
drivers/power/supply/Kconfig | 9 +
drivers/power/supply/Makefile | 1 +
drivers
Initial support for watchdog block included in ROHM BD70528
power management IC.
Configurations for low power states are still to be checked.
Signed-off-by: Matti Vaittinen
Acked-by: Guenter Roeck
---
I maintained the ack from Guenter as only change is to use function
exported by MFD instead
Hello again Lee & all,
On Thu, Feb 28, 2019 at 10:22:48AM +0200, Matti Vaittinen wrote:
> On Thu, Feb 28, 2019 at 08:10:55AM +, Lee Jones wrote:
> > On Thu, 28 Feb 2019, Matti Vaittinen wrote:
> >
> > > Hello Lee and Mark,
> > >
> > > O
On Mon, Mar 25, 2019 at 08:02:06AM +, Lee Jones wrote:
> On Mon, 25 Mar 2019, Matti Vaittinen wrote:
>
> > Hello again Lee & all,
> >
> > On Thu, Feb 28, 2019 at 10:22:48AM +0200, Matti Vaittinen wrote:
> > > On Thu, Feb 28, 2019 at 08:10:55AM +, Le
0528 GPIO block
Patch 6:
support BD70528 RTC
Patch 7:
support BD70528 battery charger
Patch 8:
support BD70528 watchdog
This patch series is based on Linus' v5.1-rc2 tag.
---
Matti Vaittinen (8):
mfd: regulator: clk: split rohm-bd718x7.h
mfd: bd70528: Support
clk
- RTC
- watchdog
Signed-off-by: Matti Vaittinen
---
drivers/mfd/Kconfig | 17 ++
drivers/mfd/Makefile | 1 +
drivers/mfd/rohm-bd70528.c | 438 +++
include/linux/mfd/rohm-bd70528.h | 383 +++
4
ROHM BD70528 is an ultra low power PMIC with similar 32K clk as
bd718x7. Only difference (from clk perspective) is register address.
Add support for controlling BD70528 clk using bd718x7 driver.
Signed-off-by: Matti Vaittinen
Acked-by: Stephen Boyd
---
drivers/clk/Kconfig | 6
Document bindings for regulators (3 bucks, 3 LDOs and 2 LED
drivers) and 4 GPIO pins which can be configured for I/O or
as interrupt sources withe configurable trigger levels.
Signed-off-by: Matti Vaittinen
Reviewed-by: Rob Herring
Acked-by: Linus Walleij
---
.../bindings/mfd/rohm,bd70528
Split the bd718x7.h to ROHM common and bd718x7 specific parts
so that we do not need to add same things in every new ROHM
PMIC header. Please note that this change requires changes also
in bd718x7 sub-device drivers for regulators and clk.
Signed-off-by: Matti Vaittinen
Acked-by: Mark Brown
Initial support for watchdog block included in ROHM BD70528
power management IC.
Configurations for low power states are still to be checked.
Signed-off-by: Matti Vaittinen
Acked-by: Guenter Roeck
---
drivers/watchdog/Kconfig | 12 +++
drivers/watchdog/Makefile | 1 +
drivers
also the alarm interrupt to
this 24 hours for the sake of consistency.
Signed-off-by: Matti Vaittinen
---
drivers/rtc/Kconfig | 8 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-bd70528.c | 500 ++
3 files changed, 509 insertions(+)
create mode
ROHM BD70528 PMIC includes battery charger block. Support charger
staus queries and doing few basic settings like input current limit
and charging current.
Signed-off-by: Matti Vaittinen
---
drivers/power/supply/Kconfig | 9 +
drivers/power/supply/Makefile | 1 +
drivers
ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be
controlled by GPIO framework.
IRQs are handled by regmap-irq and GPIO driver is not
aware of the irq usage.
Signed-off-by: Matti Vaittinen
Reviewed-by: Linus Walleij
---
drivers/gpio/Kconfig| 11 ++
drivers/gpio/Makefile | 1
On Thu, Feb 28, 2019 at 11:40:26AM +, Mark Brown wrote:
> On Thu, Feb 28, 2019 at 09:04:50AM +0200, Matti Vaittinen wrote:
> > On Thu, Feb 14, 2019 at 03:02:37PM +0200, Matti Vaittinen wrote:
>
> >> Patch series introducing support for ROHM BD70528 PMIC
> >
>
Hello Lee,
Thanks again for the review! I see you did bunch of them... I really
admire your devotion. For me reviewing is hard work. I do appreciate
it. So nice to see you're back in the business =)
On Tue, Sep 11, 2018 at 02:48:08PM +0100, Lee Jones wrote:
> On Wed, 29 Aug 2018, Matti V
Hello,
On Tue, Sep 11, 2018 at 02:55:49PM +0100, Lee Jones wrote:
> On Wed, 29 Aug 2018, Matti Vaittinen wrote:
>
> > Few regulators in BD71837 and BD71847 can output voltages from
> > different voltage ranges. Register interface is arranged so that
> > used range is s
On Tue, Sep 11, 2018 at 02:49:47PM +0100, Lee Jones wrote:
> On Wed, 29 Aug 2018, Matti Vaittinen wrote:
>
> > Add ROHM BD71847 Power Management IC MFD binding information to
> > device-tree binding documents.
> >
> > Signed-off-by: Matti Vaittinen
> > ---
&
On Tue, Sep 11, 2018 at 01:40:29PM +0100, Lee Jones wrote:
> On Wed, 29 Aug 2018, Matti Vaittinen wrote:
>
> > There is a HW quirk in BD71837. The shutdown sequence timings for
> > bucks/LDOs which are enabled via register interface are changed.
> > At PMIC poweroff the vo
On Wed, Sep 12, 2018 at 09:42:51AM +0100, Lee Jones wrote:
> On Wed, 12 Sep 2018, Matti Vaittinen wrote:
>
> > On Tue, Sep 11, 2018 at 01:40:29PM +0100, Lee Jones wrote:
> > > On Wed, 29 Aug 2018, Matti Vaittinen wrote:
> > >
> > > > There is a HW quirk
t using helpers from
patch 5
Patch 8:
Renaming bd71837 regulator driver to bd718x7
this patch series is based on linux-next tag next-20180912.
Matti Vaittinen (7):
regulator: Support ROHM BD71847 power management IC
regulator: dt bindings: add BD71847 device-tree binding documentation
m
BD71847 is reduced version of BD71837. DVS bucks 3 and 4 are
removed as is LDO7. Voltage ranges of some regulators are
expanded.
Add initial support for BD71847 with BD71837 driver.
Signed-off-by: Matti Vaittinen
---
drivers/mfd/rohm-bd718x7.c| 68 +--
drivers/regulator/bd71837
Add ROHM BD71847 Power Management IC regulator binding information to
device-tree binding documents.
Signed-off-by: Matti Vaittinen
Reviewed-by: Rob Herring
---
.../devicetree/bindings/regulator/rohm,bd71837-regulator.txt | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff
Add ROHM BD71847 Power Management IC MFD binding information to
device-tree binding documents.
Signed-off-by: Matti Vaittinen
Reviewed-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
.../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 17 +
1 file changed, 9 insertions
For example ROHM BD71837 and ROHM BD71847 Power management ICs have
regulators which provide multiple linear ranges. Ranges can be
selected by individual non contagious bit in vsel register. Add
regmap helper functions for selecting ranges.
Signed-off-by: Matti Vaittinen
---
drivers/regulator
Rename parts of code that support both BD71837 and BD71847 to BD718XX.
Signed-off-by: Matti Vaittinen
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/rohm-bd718x7.c| 98 +--
drivers/regulator/bd71837-regulator.c | 24 -
include/linux/mfd/rohm
bits (as usual). Support BD71837
and BD71847 selectible range voltages using new pickable ranges
helpers.
Signed-off-by: Matti Vaittinen
---
drivers/regulator/bd71837-regulator.c | 155 +++---
include/linux/mfd/rohm-bd718x7.h | 34
2 files changed, 145
rename bd71837-regulator.c to bd718x7-regulator.c to reflect the
fact that also BD71847 is now supported by the driver.
Signed-off-by: Matti Vaittinen
---
drivers/regulator/Kconfig | 2 +-
drivers/regulator/Makefile | 2
patch is applied to the wrong git tree, please drop us a note to
> help improve the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Matti-Vaittinen/regulator-mfd-dt_bindings-bd718x7-Support-ROHM-bd71847/20180914-000129
> base: https://git.kernel.org/pub/scm/linux/kerne
ator helpers
Patch 6:
Simple renaming plenty of BD71837 occurrences to BD718XX
Patch 7:
BD71837/BD71847 Full voltage range support using helpers from
patch 5
Patch 8:
Renaming bd71837 regulator driver to bd718x7
this patch series is based on linux-next tag next-20180912.
BD71847 is reduced version of BD71837. DVS bucks 3 and 4 are
removed as is LDO7. Voltage ranges of some regulators are
expanded.
Add initial support for BD71847 with BD71837 driver.
Signed-off-by: Matti Vaittinen
---
drivers/mfd/rohm-bd718x7.c| 70 +--
drivers/regulator/bd71837
Add ROHM BD71847 Power Management IC regulator binding information to
device-tree binding documents.
Signed-off-by: Matti Vaittinen
Reviewed-by: Rob Herring
---
.../devicetree/bindings/regulator/rohm,bd71837-regulator.txt | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff
Add ROHM BD71847 Power Management IC MFD binding information to
device-tree binding documents.
Signed-off-by: Matti Vaittinen
Reviewed-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
.../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 17 +
1 file changed, 9 insertions
For example ROHM BD71837 and ROHM BD71847 Power management ICs have
regulators which provide multiple linear ranges. Ranges can be
selected by individual non contagious bit in vsel register. Add
regmap helper functions for selecting ranges.
Signed-off-by: Matti Vaittinen
---
drivers/regulator
Rename parts of code that support both BD71837 and BD71847 to BD718XX.
Signed-off-by: Matti Vaittinen
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/rohm-bd718x7.c| 98 +--
drivers/regulator/bd71837-regulator.c | 26 +-
include/linux/mfd/rohm
rename bd71837-regulator.c to bd718x7-regulator.c to reflect the
fact that also BD71847 is now supported by the driver.
Signed-off-by: Matti Vaittinen
---
drivers/regulator/Kconfig | 2 +-
drivers/regulator/Makefile | 2
bits (as usual). Support BD71837
and BD71847 selectible range voltages using new pickable ranges
helpers.
Signed-off-by: Matti Vaittinen
---
drivers/regulator/bd71837-regulator.c | 153 +++---
include/linux/mfd/rohm-bd718x7.h | 32 +++
2 files changed, 143
014 - well, chances are the driver does work and I
just don't get it =)
So can someone please shed some light on this? Is this a bug or am I
just plain wrong?
Br,
Matti Vaittinen
of_device_get_match_data(&i2c->dev);
is it possible one of the earlier versions has accidentally been
applied? Should I create patch on top of the last regulator tree or what
is the simplest way fix this?
Br,
Matti Vaittinen
Hello Stephen, Mark & All,
On Tue, Oct 02, 2018 at 04:25:51PM +1000, Stephen Rothwell wrote:
> On Tue, 2 Oct 2018 09:16:44 +0300 Matti Vaittinen
> wrote:
> >
> > On Tue, Oct 02, 2018 at 01:07:48PM +1000, Stephen Rothwell wrote:
> > > After merging the regulator
Casting address to unsigned int causes a warning on some 64 bit
architectures. Fix the cast.
Signed-off-by: Matti Vaittinen
---
Patch created against Mark's origin/topic/bd718xx. Fixes build warning
reported by Stephen from linux-next. See:
https://lore.kernel.org/lkml/20181002064317.G
ext
so I also did a patch fixing this. I think Mark alrady applied that
patch to his tree.
(https://lore.kernel.org/lkml/20181002145901.899d41121...@debutante.sirena.org.uk/)
Br,
Matti Vaittinen
plied to the wrong git tree, please drop us a note to
> help improve the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Matti-Vaittinen/regulator-mfd-dt_bindings-bd718x7-Support-ROHM-bd71847/20180914-210454
> base: https://git.kernel.org/pub/scm/linux/kernel/git/
0-Day tests found compilation error on x86. Driver won't
compile on x86_64 as "of_match_ptr" is not found. Add missing
include
Signed-off-by: Matti Vaittinen
---
drivers/regulator/bd71837-regulator.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/bd71837
Hello,
On Fri, Sep 07, 2018 at 01:19:40PM +0300, Matti Vaittinen wrote:
> While doing this I hit to Rockchip RK808 driver which seems to utilize
> oarent device (MFD dev) for pretty much all devm releasing. I wonder if
> this is safe? What happens if one tries to remove the RK808 c
, ret);
base-commit: 0b0c0bd818ef76a20f58c3cb1ac96a3056ccb681
--
2.21.0
--
Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND
~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
Simon says - in Latin please.
~~~ "
Add regulator- prefix to allowed regulator node names. Prefix is expected
by the driver and the actual binding yaml description.
Signed-off-by: Matti Vaittinen
---
.../devicetree/bindings/regulator/rohm,bd9576-regulator.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
The print in probe is done using pr_info. Correct print call would be
dev_dbg because:
- Severity should really be dbg
- The dev pointer is given as first argument
Fixes: b014e9fae7e7de4329a7092ade4256982c5ce974
Signed-off-by: Matti Vaittinen
---
Sorry folks! This should have never slip in
Add maintainer entries for ROHM BD9576MUF and ROHM BD9573MUF drivers.
MFD, regulator and watchdog drivers were introduced for these PMICs.
Signed-off-by: Matti Vaittinen
---
MAINTAINERS | 4
1 file changed, 4 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index b5cfab015bd6
.
Changelog v2:
- dropped already applied regulator part
- dt_bindings: Fix case for regulator-names in the example
- watchdod: unify probe error check and revise includes
---
Matti Vaittinen (4):
dt_bindings: mfd: Add ROHM BD9576MUF and BD9573MUF PMICs
mfd: Support ROHM BD9576MUF and
Add bindings for ROHM BD9576MUF and BD9573MUF PMICs. These
PMICs are primarily intended to be used to power the R-Car series
processors. They provide 6 power outputs, safety features and a
watchdog with two functional modes.
Signed-off-by: Matti Vaittinen
---
Changes from v2:
- Replace
Add core support for ROHM BD9576MUF and BD9573MUF PMICs which are
mainly used to power the R-Car series processors.
Signed-off-by: Matti Vaittinen
---
drivers/mfd/Kconfig | 11 +++
drivers/mfd/Makefile | 1 +
drivers/mfd/rohm-bd9576.c| 130
configured to detect only delayed ping or in
a window mode where also too fast pings are detected.
Signed-off-by: Matti Vaittinen
---
Changes from v2:
- Replace bindings hw_margin_ms and rohm,hw-margin-min-ms with
rohm,hw-timeout-ms
drivers/watchdog/Kconfig | 13 ++
drivers/watchdog
When linear_ranges is compiled as module we get warning
about missing MODULE_LICENSE(). Fix it by adding
MODULE_LICENSE("GPL") as is suggested by SPDX and EXPORTs.
Signed-off-by: Matti Vaittinen
---
I saw Mark applied the linear-ranges patch. So I sent this fix as
incremental pat
oltage has stabilized. ROHM HW colleagues measured the safety
limit of 1000uS for guaranteeing the voltage has stabilized. Let's
use that for starters and add confiurable stabilization wait-time
later if needed.
Signed-off-by: Matti Vaittinen
---
drivers/regulator/bd718x7-re
allowing other to be
still controlled using the driver. The driver can also be used to set
voltages levels for all regulators no matter if enable/disable state is
controlled by SW or HW.
---
Matti Vaittinen (4):
regulator: bd718x7 initialize regulator config only once
dt-bindings: regulator
state machine control.
Signed-off-by: Matti Vaittinen
---
.../bindings/regulator/rohm,bd71837-regulator.yaml| 11 +++
1 file changed, 11 insertions(+)
diff --git
a/Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.yaml
b/Documentation/devicetree/bindings/regulator
state machine control.
Signed-off-by: Matti Vaittinen
---
.../bindings/regulator/rohm,bd71847-regulator.yaml| 11 +++
1 file changed, 11 insertions(+)
diff --git
a/Documentation/devicetree/bindings/regulator/rohm,bd71847-regulator.yaml
b/Documentation/devicetree/bindings/regulator
The BD718x7 driver initialized common configs for all regulators.
Simplify initialization by moving the initialization of common configs
out of the loop.
Signed-off-by: Matti Vaittinen
---
drivers/regulator/bd718x7-regulator.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff
state machine control.
Signed-off-by: Matti Vaittinen
---
drivers/regulator/bd718x7-regulator.c | 417 +-
1 file changed, 268 insertions(+), 149 deletions(-)
diff --git a/drivers/regulator/bd718x7-regulator.c
b/drivers/regulator/bd718x7-regulator.c
index a72031595b9e.
um) from the DT binding doc
Changelog v3:
- use only one binding to specify watchdog time-out window.
Changelog v2:
- dropped already applied regulator part
- dt_bindings: Fix case for regulator-names in the example
- watchdod: unify probe error check and revise includes
---
Mat
Add bindings for ROHM BD9576MUF and BD9573MUF PMICs. These
PMICs are primarily intended to be used to power the R-Car series
processors. They provide 6 power outputs, safety features and a
watchdog with two functional modes.
Signed-off-by: Matti Vaittinen
Reviewed-by: Rob Herring
---
Changes
Add core support for ROHM BD9576MUF and BD9573MUF PMICs which are
mainly used to power the R-Car series processors.
Signed-off-by: Matti Vaittinen
---
drivers/mfd/Kconfig | 11 +++
drivers/mfd/Makefile | 1 +
drivers/mfd/rohm-bd9576.c| 130
Add maintainer entries for ROHM BD9576MUF and ROHM BD9573MUF drivers.
MFD, regulator and watchdog drivers were introduced for these PMICs.
Signed-off-by: Matti Vaittinen
---
MAINTAINERS | 4
1 file changed, 4 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index e73636b75f29
configured to detect only delayed ping or in
a window mode where also too fast pings are detected.
Signed-off-by: Matti Vaittinen
Reviewed-by: Guenter Roeck
---
drivers/watchdog/Kconfig | 13 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/bd9576_wdt.c | 290
701 - 800 of 875 matches
Mail list logo