36 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---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-supply8 9description: |10 The AXP20X can read the current current and voltage supplied by AC by11 reading ADC channels from the AXP20X ADC. The AXP22X is only able to12 tell if an AC power supply is present and usable. AXP813/AXP803 are13 able to limit current and supply voltage14 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 oneOf:25 - const: x-powers,axp202-ac-power-supply26 - const: x-powers,axp221-ac-power-supply27 - items:28 - const: x-powers,axp803-ac-power-supply29 - const: x-powers,axp813-ac-power-supply30 - const: x-powers,axp813-ac-power-supply31 32required:33 - compatible34 35additionalProperties: false36