1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/power/supply/maxim,max77976.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim Integrated MAX77976 Battery charger
8
9maintainers:
10  - Luca Ceresoli <luca.ceresoli@bootlin.com>
11
12description: |
13  The Maxim MAX77976 is a 19Vin / 5.5A, 1-Cell Li+ battery charger
14  configured via I2C.
15
16allOf:
17  - $ref: power-supply.yaml#
18
19properties:
20  compatible:
21    const: maxim,max77976
22
23  reg:
24    maxItems: 1
25
26required:
27  - compatible
28  - reg
29
30unevaluatedProperties: false
31
32examples:
33  - |
34    i2c {
35      #address-cells = <1>;
36      #size-cells = <0>;
37
38      charger@6b {
39        compatible = "maxim,max77976";
40        reg = <0x6b>;
41      };
42    };
43
44...
45