dt-bindings: power: supply: add Maxim MAX77976 battery charger
authorLuca Ceresoli <luca@lucaceresoli.net>
Mon, 8 Nov 2021 16:27:04 +0000 (17:27 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 16 Nov 2021 15:10:07 +0000 (16:10 +0100)
Add bindings for the Maxim MAX77976 I2C-controlled battery charger.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml [new file with mode: 0644]
MAINTAINERS

diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml
new file mode 100644 (file)
index 0000000..675b9b2
--- /dev/null
@@ -0,0 +1,44 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/power/supply/maxim,max77976.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Maxim Integrated MAX77976 Battery charger
+
+maintainers:
+  - Luca Ceresoli <luca@lucaceresoli.net>
+
+description: |
+  The Maxim MAX77976 is a 19Vin / 5.5A, 1-Cell Li+ battery charger
+  configured via I2C.
+
+allOf:
+  - $ref: power-supply.yaml#
+
+properties:
+  compatible:
+    const: maxim,max77976
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    i2c {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      charger@6b {
+        compatible = "maxim,max77976";
+        reg = <0x6b>;
+      };
+    };
+
+...
index 7a2345ce85213cd03ef4aca3735a26cc1677d018..b2347950360e9dd85e291b580c8d93ead324f926 100644 (file)
@@ -11580,6 +11580,11 @@ F:     Documentation/devicetree/bindings/*/*max77802.txt
 F:     drivers/regulator/max77802-regulator.c
 F:     include/dt-bindings/*/*max77802.h
 
+MAXIM MAX77976 BATTERY CHARGER
+M:     Luca Ceresoli <luca@lucaceresoli.net>
+S:     Supported
+F:     Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml
+
 MAXIM MUIC CHARGER DRIVERS FOR EXYNOS BASED BOARDS
 M:     Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
 M:     Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>