[PATCH v3 00/10] Support ROHM BD73800

Matti Vaittinen posted 10 patches 3 weeks, 2 days ago
.../bindings/mfd/rohm,bd71815-pmic.yaml       |   9 +-
.../bindings/mfd/rohm,bd71828-pmic.yaml       |   9 +-
.../bindings/mfd/rohm,bd72720-pmic.yaml       |  29 +-
.../bindings/mfd/rohm,bd73800-pmic.yaml       | 218 +++++++
.../bindings/mfd/rohm,pmic-pins.yaml          |  72 +++
.../regulator/rohm,bd73800-regulator.yaml     |  99 ++++
MAINTAINERS                                   |   2 +
drivers/clk/clk-bd718x7.c                     |   8 +
drivers/gpio/Kconfig                          |  12 +
drivers/gpio/Makefile                         |   1 +
drivers/gpio/gpio-bd73800.c                   | 209 +++++++
drivers/mfd/Kconfig                           |  15 +-
drivers/mfd/rohm-bd71828.c                    | 147 ++++-
drivers/regulator/Kconfig                     |   4 +-
drivers/regulator/bd71828-regulator.c         | 558 +++++++++++++++++-
drivers/rtc/rtc-bd70528.c                     |   8 +
include/linux/mfd/rohm-bd73800.h              | 307 ++++++++++
include/linux/mfd/rohm-generic.h              |   1 +
18 files changed, 1662 insertions(+), 46 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd73800-pmic.yaml
create mode 100644 Documentation/devicetree/bindings/mfd/rohm,pmic-pins.yaml
create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd73800-regulator.yaml
create mode 100644 drivers/gpio/gpio-bd73800.c
create mode 100644 include/linux/mfd/rohm-bd73800.h
[PATCH v3 00/10] Support ROHM BD73800
Posted by Matti Vaittinen 3 weeks, 2 days ago
Add support for the ROHM BD73800 PMIC and compatibles.

The ROHM BD73800 is a power management IC which integrates 8 BUCKs and 4
LDOs. There is also an ADC and operation amplifier intended for current
/ temperature measurement and accumulation. RTC and 32.768 kHz clock
gate are also included. The PMIC can be customized via OTP and it has
options for operating as a main PMIC in multi-PMIC installation. Some
of the pins can also be used for GPO or GPI (including interrupt support).

There are also ROHM BD71851 and BD71885 PMICs out there. These are, from
the SW-perspective, similar to the BD73800. There is only some different
default values and OTP settings. The driver should be able to handle them
just fine.

Revision history:

v2 => v3:
 - Rebased on v7.3-rc1.
 - gpio: Use gpio-regmap as was suggested by Linus W.
 More accurate change-log in individual patches.

v1 => v2:
 - Rebased on regulator/for-7.3 as it carries dependency:
   f29a8bf6fde1 ("regulator: dt-bindings: ROHM PMIC state-machine voltages")
 - dt-bindings: Various fixes, split generic stuff to own files.
 - gpio: Styling, return -ENODEV if no GPIOs found
 - MFD: Styling
 - regulator: Simplify dt-reading
 More accurate change-log in individual patches.

---

Matti Vaittinen (10):
  dt-bindings: mfd: common ROHM PMIC properties
  dt-bindings: rohm,bd*: Ref common ROHM bindings
  dt-bindings: regulator: ROHM BD73800 regulators
  dt-bindings: mfd: ROHM BD73800 PMIC
  mfd: Support for ROHM BD73800 PMIC core
  rtc: bd70528: Support RTC on ROHM BD73800
  regulator: bd71828: Support ROHM BD73800
  clk: bd718x7: Support ROHM BD73800
  gpio: bd73800: Support ROHM BD73800 PMIC GPIOs
  MAINTAINERS: Add ROHM BD73800 PMIC files

 .../bindings/mfd/rohm,bd71815-pmic.yaml       |   9 +-
 .../bindings/mfd/rohm,bd71828-pmic.yaml       |   9 +-
 .../bindings/mfd/rohm,bd72720-pmic.yaml       |  29 +-
 .../bindings/mfd/rohm,bd73800-pmic.yaml       | 218 +++++++
 .../bindings/mfd/rohm,pmic-pins.yaml          |  72 +++
 .../regulator/rohm,bd73800-regulator.yaml     |  99 ++++
 MAINTAINERS                                   |   2 +
 drivers/clk/clk-bd718x7.c                     |   8 +
 drivers/gpio/Kconfig                          |  12 +
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-bd73800.c                   | 209 +++++++
 drivers/mfd/Kconfig                           |  15 +-
 drivers/mfd/rohm-bd71828.c                    | 147 ++++-
 drivers/regulator/Kconfig                     |   4 +-
 drivers/regulator/bd71828-regulator.c         | 558 +++++++++++++++++-
 drivers/rtc/rtc-bd70528.c                     |   8 +
 include/linux/mfd/rohm-bd73800.h              | 307 ++++++++++
 include/linux/mfd/rohm-generic.h              |   1 +
 18 files changed, 1662 insertions(+), 46 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd73800-pmic.yaml
 create mode 100644 Documentation/devicetree/bindings/mfd/rohm,pmic-pins.yaml
 create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd73800-regulator.yaml
 create mode 100644 drivers/gpio/gpio-bd73800.c
 create mode 100644 include/linux/mfd/rohm-bd73800.h


base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
-- 
2.55.0

Re: [PATCH v3 00/10] Support ROHM BD73800
Posted by Lee Jones 2 weeks, 1 day ago
On Wed, 02 Sep 2026, Matti Vaittinen wrote:

> Add support for the ROHM BD73800 PMIC and compatibles.
> 
> The ROHM BD73800 is a power management IC which integrates 8 BUCKs and 4
> LDOs. There is also an ADC and operation amplifier intended for current
> / temperature measurement and accumulation. RTC and 32.768 kHz clock
> gate are also included. The PMIC can be customized via OTP and it has
> options for operating as a main PMIC in multi-PMIC installation. Some
> of the pins can also be used for GPO or GPI (including interrupt support).
> 
> There are also ROHM BD71851 and BD71885 PMICs out there. These are, from
> the SW-perspective, similar to the BD73800. There is only some different
> default values and OTP settings. The driver should be able to handle them
> just fine.
> 
> Revision history:
> 
> v2 => v3:
>  - Rebased on v7.3-rc1.
>  - gpio: Use gpio-regmap as was suggested by Linus W.
>  More accurate change-log in individual patches.
> 
> v1 => v2:
>  - Rebased on regulator/for-7.3 as it carries dependency:
>    f29a8bf6fde1 ("regulator: dt-bindings: ROHM PMIC state-machine voltages")
>  - dt-bindings: Various fixes, split generic stuff to own files.
>  - gpio: Styling, return -ENODEV if no GPIOs found
>  - MFD: Styling
>  - regulator: Simplify dt-reading
>  More accurate change-log in individual patches.

I assume there will be one more revision?

-- 
Lee Jones
Re: [PATCH v3 00/10] Support ROHM BD73800
Posted by Matti Vaittinen 2 weeks, 1 day ago
On 10/09/2026 19:03, Lee Jones wrote:
> On Wed, 02 Sep 2026, Matti Vaittinen wrote:
> 
>> Add support for the ROHM BD73800 PMIC and compatibles.
>>
>> The ROHM BD73800 is a power management IC which integrates 8 BUCKs and 4
>> LDOs. There is also an ADC and operation amplifier intended for current
>> / temperature measurement and accumulation. RTC and 32.768 kHz clock
>> gate are also included. The PMIC can be customized via OTP and it has
>> options for operating as a main PMIC in multi-PMIC installation. Some
>> of the pins can also be used for GPO or GPI (including interrupt support).
>>
>> There are also ROHM BD71851 and BD71885 PMICs out there. These are, from
>> the SW-perspective, similar to the BD73800. There is only some different
>> default values and OTP settings. The driver should be able to handle them
>> just fine.
>>
>> Revision history:
>>
>> v2 => v3:
>>   - Rebased on v7.3-rc1.
>>   - gpio: Use gpio-regmap as was suggested by Linus W.
>>   More accurate change-log in individual patches.
>>
>> v1 => v2:
>>   - Rebased on regulator/for-7.3 as it carries dependency:
>>     f29a8bf6fde1 ("regulator: dt-bindings: ROHM PMIC state-machine voltages")
>>   - dt-bindings: Various fixes, split generic stuff to own files.
>>   - gpio: Styling, return -ENODEV if no GPIOs found
>>   - MFD: Styling
>>   - regulator: Simplify dt-reading
>>   More accurate change-log in individual patches.
> 
> I assume there will be one more revision?
> 

Hi Lee,

I thought everything was acked and good to go?

Yours,
	-- Matti

-- 
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~
Re: [PATCH v3 00/10] Support ROHM BD73800
Posted by Lee Jones 1 week, 3 days ago
On Fri, 11 Sep 2026, Matti Vaittinen wrote:

> On 10/09/2026 19:03, Lee Jones wrote:
> > On Wed, 02 Sep 2026, Matti Vaittinen wrote:
> > 
> > > Add support for the ROHM BD73800 PMIC and compatibles.
> > > 
> > > The ROHM BD73800 is a power management IC which integrates 8 BUCKs and 4
> > > LDOs. There is also an ADC and operation amplifier intended for current
> > > / temperature measurement and accumulation. RTC and 32.768 kHz clock
> > > gate are also included. The PMIC can be customized via OTP and it has
> > > options for operating as a main PMIC in multi-PMIC installation. Some
> > > of the pins can also be used for GPO or GPI (including interrupt support).
> > > 
> > > There are also ROHM BD71851 and BD71885 PMICs out there. These are, from
> > > the SW-perspective, similar to the BD73800. There is only some different
> > > default values and OTP settings. The driver should be able to handle them
> > > just fine.
> > > 
> > > Revision history:
> > > 
> > > v2 => v3:
> > >   - Rebased on v7.3-rc1.
> > >   - gpio: Use gpio-regmap as was suggested by Linus W.
> > >   More accurate change-log in individual patches.
> > > 
> > > v1 => v2:
> > >   - Rebased on regulator/for-7.3 as it carries dependency:
> > >     f29a8bf6fde1 ("regulator: dt-bindings: ROHM PMIC state-machine voltages")
> > >   - dt-bindings: Various fixes, split generic stuff to own files.
> > >   - gpio: Styling, return -ENODEV if no GPIOs found
> > >   - MFD: Styling
> > >   - regulator: Simplify dt-reading
> > >   More accurate change-log in individual patches.
> > 
> > I assume there will be one more revision?
> > 
> 
> Hi Lee,
> 
> I thought everything was acked and good to go?

I just saw the nits and commented before the blessing.

However, you may as well fix them and submit.  I'll apply the set when you do.

-- 
Lee Jones