* [PATCH] dt-bindings: bd72720: Add ROHM BD73900
@ 2026-02-24 13:11 Matti Vaittinen
2026-02-24 17:54 ` Conor Dooley
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Matti Vaittinen @ 2026-02-24 13:11 UTC (permalink / raw)
To: Matti Vaittinen, Matti Vaittinen, Matti Vaittinen
Cc: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Matti Vaittinen, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 4248 bytes --]
From: Matti Vaittinen <mazziesaccount@gmail.com>
The ROHM BD79300 is almost identical to the BD72720. Main differences
are the initial values for some of the registers. Thus, it appears the
BD79300 can be handled with same software as BD72720.
Adding the compatible for the BD79300 enables people to use the real IC
type in the device-tree instead of claiming it is BD72720. This does
also help differentiating the ICs if appears it is needed.
Add own compatible for the BD73900 and mark BD72720 as a fall-back.
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
---
.../bindings/mfd/rohm,bd72720-pmic.yaml | 29 +++++++++++--------
1 file changed, 17 insertions(+), 12 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/rohm,bd72720-pmic.yaml b/Documentation/devicetree/bindings/mfd/rohm,bd72720-pmic.yaml
index 9f42097dfbac..b094542339e8 100644
--- a/Documentation/devicetree/bindings/mfd/rohm,bd72720-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/rohm,bd72720-pmic.yaml
@@ -4,19 +4,19 @@
$id: http://devicetree.org/schemas/mfd/rohm,bd72720-pmic.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: ROHM BD72720 Power Management Integrated Circuit
+title: ROHM BD72720 and BD73900 Power Management Integrated Circuits
maintainers:
- Matti Vaittinen <mazziesaccount@gmail.com>
description:
- BD72720 is a single-chip power management IC for battery-powered portable
- devices. The BD72720 integrates 10 bucks and 11 LDOs, and a 3000 mA
- switching charger. The IC also includes a Coulomb counter, a real-time
- clock (RTC), GPIOs and a 32.768 kHz clock gate.
+ BD72720 and BD73900 are single-chip power management ICs for
+ battery-powered portable devices. They integrate 10 bucks and 11 LDOs,
+ and a 3000 mA switching charger. ICs also include a Coulomb counter,
+ a real-time clock (RTC), GPIOs and a 32.768 kHz clock gate.
-# In addition to the properties found from the charger node, the ROHM BD72720
-# uses properties from a static battery node. Please see the:
+# In addition to the properties found from the charger node, PMICs
+# use properties from a static battery node. Please see the:
# Documentation/devicetree/bindings/power/supply/battery.yaml
#
# Following properties are used
@@ -48,7 +48,12 @@ description:
properties:
compatible:
- const: rohm,bd72720
+ oneOf:
+ - const: rohm,bd72720
+
+ - items:
+ - const: rohm,bd73900
+ - const: rohm,bd72720
reg:
description:
@@ -84,7 +89,7 @@ properties:
minimum: 10000
maximum: 50000
description:
- BD72720 has a SAR ADC for measuring charging currents. External sense
+ PMIC has a SAR ADC for measuring charging currents. External sense
resistor (RSENSE in data sheet) should be used. If some other but
30 mOhm resistor is used the resistance value should be given here in
micro Ohms.
@@ -100,7 +105,7 @@ properties:
rohm,pin-fault_b:
$ref: /schemas/types.yaml#/definitions/string
description:
- BD72720 has an OTP option to use fault_b-pin for different
+ PMIC has an OTP option to use fault_b-pin for different
purposes. Set this property accordingly. OTP options are
OTP0 - bi-directional FAULT_B or READY indicator depending on a
'sub option'
@@ -116,7 +121,7 @@ patternProperties:
"^rohm,pin-dvs[0-1]$":
$ref: /schemas/types.yaml#/definitions/string
description:
- BD72720 has 4 different OTP options to determine the use of dvs<X>-pins.
+ PMIC has 4 different OTP options to determine the use of dvs<X>-pins.
OTP0 - regulator RUN state control.
OTP1 - GPI.
OTP2 - GPO.
@@ -130,7 +135,7 @@ patternProperties:
"^rohm,pin-exten[0-1]$":
$ref: /schemas/types.yaml#/definitions/string
- description: BD72720 has an OTP option to use exten0-pin for different
+ description: PMIC has an OTP option to use exten0-pin for different
purposes. Set this property accordingly.
OTP0 - GPO
OTP1 - Power sequencer output.
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
--
2.53.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: bd72720: Add ROHM BD73900
2026-02-24 13:11 [PATCH] dt-bindings: bd72720: Add ROHM BD73900 Matti Vaittinen
@ 2026-02-24 17:54 ` Conor Dooley
2026-03-10 9:06 ` Matti Vaittinen
2026-03-10 13:06 ` (subset) " Lee Jones
2 siblings, 0 replies; 7+ messages in thread
From: Conor Dooley @ 2026-02-24 17:54 UTC (permalink / raw)
To: Matti Vaittinen
Cc: Matti Vaittinen, Matti Vaittinen, Lee Jones, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 75 bytes --]
Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: bd72720: Add ROHM BD73900
2026-02-24 13:11 [PATCH] dt-bindings: bd72720: Add ROHM BD73900 Matti Vaittinen
2026-02-24 17:54 ` Conor Dooley
@ 2026-03-10 9:06 ` Matti Vaittinen
2026-03-10 13:07 ` Lee Jones
2026-03-10 13:06 ` (subset) " Lee Jones
2 siblings, 1 reply; 7+ messages in thread
From: Matti Vaittinen @ 2026-03-10 9:06 UTC (permalink / raw)
To: Matti Vaittinen, Matti Vaittinen
Cc: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
devicetree, linux-kernel
On 24/02/2026 15:11, Matti Vaittinen wrote:
> From: Matti Vaittinen <mazziesaccount@gmail.com>
>
> The ROHM BD79300 is almost identical to the BD72720. Main differences
> are the initial values for some of the registers. Thus, it appears the
> BD79300 can be handled with same software as BD72720.
>
> Adding the compatible for the BD79300 enables people to use the real IC
> type in the device-tree instead of claiming it is BD72720. This does
> also help differentiating the ICs if appears it is needed.
>
> Add own compatible for the BD73900 and mark BD72720 as a fall-back.
>
> Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Hi dee Ho peeps,
I wonder if this should go via MFD tree?
Also, out of the curiosity, I saw:
> pw-bot: not-applicable
in Conor's ack-mail. I suppose this has a meaning?
Yours,
-- Matti
---
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: (subset) [PATCH] dt-bindings: bd72720: Add ROHM BD73900
2026-02-24 13:11 [PATCH] dt-bindings: bd72720: Add ROHM BD73900 Matti Vaittinen
2026-02-24 17:54 ` Conor Dooley
2026-03-10 9:06 ` Matti Vaittinen
@ 2026-03-10 13:06 ` Lee Jones
2 siblings, 0 replies; 7+ messages in thread
From: Lee Jones @ 2026-03-10 13:06 UTC (permalink / raw)
To: Matti Vaittinen, Matti Vaittinen, Matti Vaittinen
Cc: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Matti Vaittinen, devicetree, linux-kernel
On Tue, 24 Feb 2026 15:11:12 +0200, Matti Vaittinen wrote:
> The ROHM BD79300 is almost identical to the BD72720. Main differences
> are the initial values for some of the registers. Thus, it appears the
> BD79300 can be handled with same software as BD72720.
>
> Adding the compatible for the BD79300 enables people to use the real IC
> type in the device-tree instead of claiming it is BD72720. This does
> also help differentiating the ICs if appears it is needed.
>
> [...]
Applied, thanks!
[1/1] dt-bindings: bd72720: Add ROHM BD73900
commit: 405c1338219f0d0e272db85659ac8b9c2d19ac9c
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: bd72720: Add ROHM BD73900
2026-03-10 9:06 ` Matti Vaittinen
@ 2026-03-10 13:07 ` Lee Jones
2026-03-10 14:02 ` Matti Vaittinen
0 siblings, 1 reply; 7+ messages in thread
From: Lee Jones @ 2026-03-10 13:07 UTC (permalink / raw)
To: Matti Vaittinen
Cc: Matti Vaittinen, Matti Vaittinen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-kernel
On Tue, 10 Mar 2026, Matti Vaittinen wrote:
> On 24/02/2026 15:11, Matti Vaittinen wrote:
> > From: Matti Vaittinen <mazziesaccount@gmail.com>
> >
> > The ROHM BD79300 is almost identical to the BD72720. Main differences
> > are the initial values for some of the registers. Thus, it appears the
> > BD79300 can be handled with same software as BD72720.
> >
> > Adding the compatible for the BD79300 enables people to use the real IC
> > type in the device-tree instead of claiming it is BD72720. This does
> > also help differentiating the ICs if appears it is needed.
> >
> > Add own compatible for the BD73900 and mark BD72720 as a fall-back.
> >
> > Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
> Hi dee Ho peeps,
>
> I wonder if this should go via MFD tree?
It was missed because of a malformed subject line.
If fixed this up and apply the patch.
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: bd72720: Add ROHM BD73900
2026-03-10 13:07 ` Lee Jones
@ 2026-03-10 14:02 ` Matti Vaittinen
2026-03-10 14:42 ` Lee Jones
0 siblings, 1 reply; 7+ messages in thread
From: Matti Vaittinen @ 2026-03-10 14:02 UTC (permalink / raw)
To: Lee Jones
Cc: Matti Vaittinen, Matti Vaittinen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-kernel
On 10/03/2026 15:07, Lee Jones wrote:
> On Tue, 10 Mar 2026, Matti Vaittinen wrote:
>
>> On 24/02/2026 15:11, Matti Vaittinen wrote:
>>> From: Matti Vaittinen <mazziesaccount@gmail.com>
>>>
>>> The ROHM BD79300 is almost identical to the BD72720. Main differences
>>> are the initial values for some of the registers. Thus, it appears the
>>> BD79300 can be handled with same software as BD72720.
>>>
>>> Adding the compatible for the BD79300 enables people to use the real IC
>>> type in the device-tree instead of claiming it is BD72720. This does
>>> also help differentiating the ICs if appears it is needed.
>>>
>>> Add own compatible for the BD73900 and mark BD72720 as a fall-back.
>>>
>>> Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
>> Hi dee Ho peeps,
>>
>> I wonder if this should go via MFD tree?
>
> It was missed because of a malformed subject line.
>
> If fixed this up and apply the patch.
>
Thanks Lee :)
--
---
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: bd72720: Add ROHM BD73900
2026-03-10 14:02 ` Matti Vaittinen
@ 2026-03-10 14:42 ` Lee Jones
0 siblings, 0 replies; 7+ messages in thread
From: Lee Jones @ 2026-03-10 14:42 UTC (permalink / raw)
To: Matti Vaittinen
Cc: Matti Vaittinen, Matti Vaittinen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-kernel
On Tue, 10 Mar 2026, Matti Vaittinen wrote:
> On 10/03/2026 15:07, Lee Jones wrote:
> > On Tue, 10 Mar 2026, Matti Vaittinen wrote:
> >
> > > On 24/02/2026 15:11, Matti Vaittinen wrote:
> > > > From: Matti Vaittinen <mazziesaccount@gmail.com>
> > > >
> > > > The ROHM BD79300 is almost identical to the BD72720. Main differences
> > > > are the initial values for some of the registers. Thus, it appears the
> > > > BD79300 can be handled with same software as BD72720.
> > > >
> > > > Adding the compatible for the BD79300 enables people to use the real IC
> > > > type in the device-tree instead of claiming it is BD72720. This does
> > > > also help differentiating the ICs if appears it is needed.
> > > >
> > > > Add own compatible for the BD73900 and mark BD72720 as a fall-back.
> > > >
> > > > Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
> > > Hi dee Ho peeps,
> > >
> > > I wonder if this should go via MFD tree?
> >
> > It was missed because of a malformed subject line.
> >
> > If fixed this up and apply the patch.
It would have been better if I'd proof-read this before posting!
... but you get the idea.
> Thanks Lee :)
NP
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-03-10 14:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-24 13:11 [PATCH] dt-bindings: bd72720: Add ROHM BD73900 Matti Vaittinen
2026-02-24 17:54 ` Conor Dooley
2026-03-10 9:06 ` Matti Vaittinen
2026-03-10 13:07 ` Lee Jones
2026-03-10 14:02 ` Matti Vaittinen
2026-03-10 14:42 ` Lee Jones
2026-03-10 13:06 ` (subset) " Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox