10e2d1823SSebastian Reichel# SPDX-License-Identifier: GPL-2.0
20e2d1823SSebastian Reichel%YAML 1.2
30e2d1823SSebastian Reichel---
4*1ea78ec5SKrzysztof Kozlowski$id: http://devicetree.org/schemas/power/supply/tps65217-charger.yaml#
5*1ea78ec5SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
60e2d1823SSebastian Reichel
70e2d1823SSebastian Reicheltitle: TPS65217 Charger
80e2d1823SSebastian Reichel
90e2d1823SSebastian Reichelmaintainers:
100e2d1823SSebastian Reichel  - Sebastian Reichel <sre@kernel.org>
110e2d1823SSebastian Reichel
120e2d1823SSebastian ReichelallOf:
130e2d1823SSebastian Reichel  - $ref: power-supply.yaml#
140e2d1823SSebastian Reichel
150e2d1823SSebastian Reichelproperties:
160e2d1823SSebastian Reichel  compatible:
170e2d1823SSebastian Reichel    const: ti,tps65217-charger
180e2d1823SSebastian Reichel
190e2d1823SSebastian Reichel  interrupts:
200e2d1823SSebastian Reichel    minItems: 2
210e2d1823SSebastian Reichel    maxItems: 2
220e2d1823SSebastian Reichel
230e2d1823SSebastian Reichel  interrupt-names:
240e2d1823SSebastian Reichel    items:
250e2d1823SSebastian Reichel      - const: USB
260e2d1823SSebastian Reichel      - const: AC
270e2d1823SSebastian Reichel
280e2d1823SSebastian Reichelrequired:
290e2d1823SSebastian Reichel  - compatible
300e2d1823SSebastian Reichel  - interrupts
310e2d1823SSebastian Reichel  - interrupt-names
320e2d1823SSebastian Reichel
330e2d1823SSebastian ReicheladditionalProperties: false
340e2d1823SSebastian Reichel
350e2d1823SSebastian Reichelexamples:
360e2d1823SSebastian Reichel  - |
370e2d1823SSebastian Reichel    pmic {
380e2d1823SSebastian Reichel      charger {
390e2d1823SSebastian Reichel        compatible = "ti,tps65217-charger";
400e2d1823SSebastian Reichel        interrupts = <0>, <1>;
410e2d1823SSebastian Reichel        interrupt-names = "USB", "AC";
420e2d1823SSebastian Reichel      };
430e2d1823SSebastian Reichel    };
44