Debian Codegraph @

Documentation/devicetree/bindings/power/supply/maxim,max77705.yaml

raw
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/power/supply/maxim,max77705.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Maxim MAX777705 charger
8
9 maintainers:
10 - Dzmitry Sankouski <[email protected]>
11
12 description: |
13 This is a device tree bindings for charger found in Maxim MAX77705 chip.
14
15 allOf:
16 - $ref: power-supply.yaml#
17
18 properties:
19 compatible:
20 const: maxim,max77705-charger
21
22 interrupts:
23 maxItems: 1
24
25 reg:
26 maxItems: 1
27
28 required:
29 - compatible
30 - reg
31 - monitored-battery
32
33 unevaluatedProperties: false
34
35 examples:
36 - |
37 #include <dt-bindings/interrupt-controller/irq.h>
38
39 i2c {
40 #address-cells = <1>;
41 #size-cells = <0>;
42
43 charger@69 {
44 compatible = "maxim,max77705-charger";
45 reg = <0x69>;
46 monitored-battery = <&battery>;
47 interrupt-parent = <&pm8998_gpios>;
48 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
49 };
50 };