Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 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 | |
| 7 | title: AXP20x USB power-supply |
| 8 | |
| 9 | description: | |
| 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 | |
| 14 | maintainers: |
| 15 | - Chen-Yu Tsai <wens@csie.org> |
| 16 | - Sebastian Reichel <sre@kernel.org> |
| 17 | |
| 18 | allOf: |
| 19 | - $ref: power-supply.yaml# |
| 20 | |
| 21 | properties: |
| 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 | |
| 35 | required: |
| 36 | - compatible |
| 37 | |
| 38 | additionalProperties: false |