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
7title: TPS65217 Charger
8
9maintainers:
10  - Sebastian Reichel <sre@kernel.org>
11
12allOf:
13  - $ref: power-supply.yaml#
14
15properties:
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
28required:
29  - compatible
30  - interrupts
31  - interrupt-names
32
33additionalProperties: false
34
35examples:
36  - |
37    pmic {
38      charger {
39        compatible = "ti,tps65217-charger";
40        interrupts = <0>, <1>;
41        interrupt-names = "USB", "AC";
42      };
43    };
44