[PATCH v2] dt-bindings: mfd: ti,bq25703a: Expand to include BQ25798
From: Alexey Charkov
Date: Thu Sep 17 2026 - 08:45:05 EST
TI has unpublished the BQ25792 charger variant and pulled its docs from
their website.
BQ25798 is a pin and register compatible replacement, which also adds MPPT
tracking support (reg 0x15, added in BQ25798 and reserved in BQ25792) and
backup mode (reg 0x0f[1], reg 0x10[7:6], reg 0x16[0] and reg 0x1c[7:5] on
BQ25798 - all of them reserved on BQ25792).
Expand the existing binding to include BQ25798 with a fallback compatible
to BQ25792.
Link: https://www.ti.com/product/BQ25798
Signed-off-by: Alexey Charkov <alchark@xxxxxxxxxxx>
---
Changes in v2:
- Fixed the conditional to ensure the constraints are applied to ti,bq25798 (Sashiko)
- Link to v1: https://patch.msgid.link/20260914-bq25798-v1-1-dc5e2ec343c4@xxxxxxxxxxx
To: Lee Jones <lee@xxxxxxxxxx>
To: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
To: Chris Morgan <macromorgan@xxxxxxxxxxx>
Cc: mfd@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml b/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml
index cdce83f05804..3bc07f25d063 100644
--- a/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml
@@ -11,9 +11,14 @@ maintainers:
properties:
compatible:
- enum:
- - ti,bq25703a
- - ti,bq25792
+ oneOf:
+ - enum:
+ - ti,bq25703a
+ - ti,bq25792
+ - items:
+ - enum:
+ - ti,bq25798
+ - const: ti,bq25792
reg:
const: 0x6b
@@ -103,7 +108,8 @@ allOf:
- if:
properties:
compatible:
- const: ti,bq25792
+ contains:
+ const: ti,bq25792
then:
properties:
input-current-limit-microamp:
---
base-commit: 0d9d0dbf2fddcff5859d623e90ca73c4054276e1
change-id: 20260914-bq25798-67768a40517e
Best regards,
--
Alexey Charkov <alchark@xxxxxxxxxxx>