xref: /linux/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-ac-power-supply.yaml (revision 320424c7d44f54c18df9812fd7c45f6963524002)
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
7title: AXP20x AC power-supply
8
9description: |
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
15maintainers:
16  - Chen-Yu Tsai <wens@csie.org>
17  - Sebastian Reichel <sre@kernel.org>
18
19allOf:
20  - $ref: power-supply.yaml#
21
22properties:
23  compatible:
24    enum:
25      - x-powers,axp202-ac-power-supply
26      - x-powers,axp221-ac-power-supply
27      - x-powers,axp813-ac-power-supply
28
29required:
30  - compatible
31
32additionalProperties: false
33