[PATCH] dt-bindings: bd72720: Add ROHM BD73900

Matti Vaittinen
2026-02-24T13:11:28Z

[-- 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 --]