xref: /linux/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml (revision fd7d598270724cc787982ea48bbe17ad383a8b7f)
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,axp192-usb-power-supply
26          - x-powers,axp202-usb-power-supply
27          - x-powers,axp221-usb-power-supply
28          - x-powers,axp223-usb-power-supply
29          - x-powers,axp813-usb-power-supply
30      - items:
31          - const: x-powers,axp803-usb-power-supply
32          - const: x-powers,axp813-usb-power-supply
33
34
35required:
36  - compatible
37
38additionalProperties: false
39