162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci%YAML 1.2
362306a36Sopenharmony_ci---
462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml#
562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
662306a36Sopenharmony_ci
762306a36Sopenharmony_cititle: AXP20x Battery power-supply
862306a36Sopenharmony_ci
962306a36Sopenharmony_cidescription: |
1062306a36Sopenharmony_ci  The supported devices can read the battery voltage, charge and discharge
1162306a36Sopenharmony_ci  currents of the battery by reading ADC channels from the ADC.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_cimaintainers:
1462306a36Sopenharmony_ci  - Chen-Yu Tsai <wens@csie.org>
1562306a36Sopenharmony_ci  - Sebastian Reichel <sre@kernel.org>
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciallOf:
1862306a36Sopenharmony_ci  - $ref: power-supply.yaml#
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciproperties:
2162306a36Sopenharmony_ci  compatible:
2262306a36Sopenharmony_ci    oneOf:
2362306a36Sopenharmony_ci      - const: x-powers,axp202-battery-power-supply
2462306a36Sopenharmony_ci      - const: x-powers,axp209-battery-power-supply
2562306a36Sopenharmony_ci      - const: x-powers,axp221-battery-power-supply
2662306a36Sopenharmony_ci      - items:
2762306a36Sopenharmony_ci          - const: x-powers,axp803-battery-power-supply
2862306a36Sopenharmony_ci          - const: x-powers,axp813-battery-power-supply
2962306a36Sopenharmony_ci      - const: x-powers,axp813-battery-power-supply
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_cirequired:
3262306a36Sopenharmony_ci  - compatible
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciadditionalProperties: false
35