brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 5ccd375 Raw
42 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: AXP20x Battery power-supply8 9description: |10  The supported devices can read the battery voltage, charge and discharge11  currents of the battery by reading ADC channels from the ADC.12 13maintainers:14  - Chen-Yu Tsai <wens@csie.org>15  - Sebastian Reichel <sre@kernel.org>16 17allOf:18  - $ref: power-supply.yaml#19 20properties:21  compatible:22    oneOf:23      - const: x-powers,axp202-battery-power-supply24      - const: x-powers,axp209-battery-power-supply25      - const: x-powers,axp221-battery-power-supply26      - const: x-powers,axp717-battery-power-supply27      - items:28          - const: x-powers,axp803-battery-power-supply29          - const: x-powers,axp813-battery-power-supply30      - const: x-powers,axp813-battery-power-supply31 32  monitored-battery:33    description:34      Specifies the phandle of an optional simple-battery connected to35      this gauge.36    $ref: /schemas/types.yaml#/definitions/phandle37 38required:39  - compatible40 41additionalProperties: false42