diff options
| author | Emmanuel Vadot <manu@FreeBSD.org> | 2021-07-01 15:50:17 +0000 |
|---|---|---|
| committer | Emmanuel Vadot <manu@FreeBSD.org> | 2021-07-01 15:50:17 +0000 |
| commit | 71ca10f8bbe6096fb8f641e138cd06d189f2b4e3 (patch) | |
| tree | b15177dc9f4c7c103560e82ff2ac3994a57bfabe /Bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml | |
| parent | c7a3c7298ff5bdae6341330a1d94ab10e010beac (diff) | |
Diffstat (limited to 'Bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml')
| -rw-r--r-- | Bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml b/Bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml new file mode 100644 index 000000000000..86e8a713d4e2 --- /dev/null +++ b/Bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: AXP20x Battery power-supply + +description: | + The supported devices can read the battery voltage, charge and discharge + currents of the battery by reading ADC channels from the ADC. + +maintainers: + - Chen-Yu Tsai <wens@csie.org> + - Sebastian Reichel <sre@kernel.org> + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + enum: + - x-powers,axp209-battery-power-supply + - x-powers,axp221-battery-power-supply + - x-powers,axp813-battery-power-supply + +required: + - compatible + +additionalProperties: false |
