summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power/supply
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2021-11-08 17:27:04 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-11-16 16:10:07 +0100
commitf9a09de33b47a8ac9a128fea54a549dddf87c6b4 (patch)
tree626ce833d295290068b7aabd894b31a8c9ebbe92 /Documentation/devicetree/bindings/power/supply
parentf8ae9bb51670ea74b92102e5befc6223c0b45041 (diff)
downloadlinux-f9a09de33b47a8ac9a128fea54a549dddf87c6b4.tar.bz2
dt-bindings: power: supply: add Maxim MAX77976 battery charger
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>
Diffstat (limited to 'Documentation/devicetree/bindings/power/supply')
-rw-r--r--Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml44
1 files changed, 44 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml
new file mode 100644
index 000000000000..675b9b26d233
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml
@@ -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>;
+ };
+ };
+
+...