1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/power/supply/x-powers,axp20x-usb-power-supply.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: AXP20x USB power-supply
8
9description: |
10  The AXP223 PMIC shares most of its behaviour with the AXP221 but has slight
11  variations such as the former being able to set the VBUS power supply max
12  current to 100mA, unlike the latter.
13
14maintainers:
15  - Chen-Yu Tsai <wens@csie.org>
16  - Sebastian Reichel <sre@kernel.org>
17
18allOf:
19  - $ref: power-supply.yaml#
20
21properties:
22  compatible:
23    oneOf:
24      - enum:
25          - x-powers,axp202-usb-power-supply
26          - x-powers,axp221-usb-power-supply
27          - x-powers,axp223-usb-power-supply
28          - x-powers,axp813-usb-power-supply
29      - items:
30          - const: x-powers,axp803-usb-power-supply
31          - const: x-powers,axp813-usb-power-supply
32
33
34required:
35  - compatible
36
37additionalProperties: false
38