| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-ac-power-supply.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: AXP20x AC power-supply |
| 8 |
|
| 9 |
description: | |
| 10 |
The AXP20X can read the current current and voltage supplied by AC by |
| 11 |
reading ADC channels from the AXP20X ADC. The AXP22X is only able to |
| 12 |
tell if an AC power supply is present and usable. AXP813/AXP803 are |
| 13 |
able to limit current and supply voltage |
| 14 |
|
| 15 |
maintainers: |
| 16 |
- Chen-Yu Tsai <[email protected]> |
| 17 |
- Sebastian Reichel <[email protected]> |
| 18 |
|
| 19 |
allOf: |
| 20 |
- $ref: power-supply.yaml# |
| 21 |
|
| 22 |
properties: |
| 23 |
compatible: |
| 24 |
oneOf: |
| 25 |
- const: x-powers,axp202-ac-power-supply |
| 26 |
- const: x-powers,axp221-ac-power-supply |
| 27 |
- items: |
| 28 |
- const: x-powers,axp803-ac-power-supply |
| 29 |
- const: x-powers,axp813-ac-power-supply |
| 30 |
- const: x-powers,axp813-ac-power-supply |
| 31 |
|
| 32 |
required: |
| 33 |
- compatible |
| 34 |
|
| 35 |
additionalProperties: false |