Debian Codegraph @

Documentation/devicetree/bindings/power/supply/tps65217-charger.yaml

raw
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/power/supply/tps65217-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: TPS65217 Charger
8
9 maintainers:
10 - Sebastian Reichel <[email protected]>
11
12 allOf:
13 - $ref: power-supply.yaml#
14
15 properties:
16 compatible:
17 const: ti,tps65217-charger
18
19 interrupts:
20 minItems: 2
21 maxItems: 2
22
23 interrupt-names:
24 items:
25 - const: USB
26 - const: AC
27
28 required:
29 - compatible
30 - interrupts
31 - interrupt-names
32
33 additionalProperties: false
34
35 examples:
36 - |
37 pmic {
38 charger {
39 compatible = "ti,tps65217-charger";
40 interrupts = <0>, <1>;
41 interrupt-names = "USB", "AC";
42 };
43 };