[PATCH v2 1/5] dt-bindings: mfd: maxim,max77759: add charger child node
Amit Sunil Dhamne via B4 Relay
devnull+amitsd.google.com at kernel.org
Thu Dec 18 14:49:06 PST 2025
From: Amit Sunil Dhamne <amitsd at google.com>
The Maxim MAX77759 MFD includes a charger function. Extend the max77759
binding to include the charger. Also, update the example to include
charger.
Signed-off-by: Amit Sunil Dhamne <amitsd at google.com>
---
.../devicetree/bindings/mfd/maxim,max77759.yaml | 33 ++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/maxim,max77759.yaml b/Documentation/devicetree/bindings/mfd/maxim,max77759.yaml
index 525de9ab3c2b..1cffdf2e5776 100644
--- a/Documentation/devicetree/bindings/mfd/maxim,max77759.yaml
+++ b/Documentation/devicetree/bindings/mfd/maxim,max77759.yaml
@@ -37,6 +37,30 @@ properties:
nvmem-0:
$ref: /schemas/nvmem/maxim,max77759-nvmem.yaml
+ charger:
+ type: object
+ description: This is a dual input switch mode battery charger for portable
+ applications. It supports wired and wireless charging and can operate in
+ buck and boost mode.
+
+ allOf:
+ - $ref: /schemas/power/supply/power-supply.yaml#
+
+ properties:
+ compatible:
+ const: maxim,max77759-charger
+
+ chgin-otg-regulator:
+ type: object
+ description: Provides Boost for sourcing VBUS.
+ $ref: /schemas/regulator/regulator.yaml#
+ unevaluatedProperties: false
+
+ required:
+ - compatible
+
+ unevaluatedProperties: false
+
required:
- compatible
- interrupts
@@ -95,5 +119,14 @@ examples:
};
};
};
+
+ charger {
+ compatible = "maxim,max77759-charger";
+ power-supplies = <&maxtcpci>;
+
+ chgin-otg-regulator {
+ regulator-name = "chgin-otg";
+ };
+ };
};
};
--
2.52.0.322.g1dd061c0dc-goog
More information about the linux-arm-kernel
mailing list