1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/power/suppl 4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: AXP20x Battery power-supply 7 title: AXP20x Battery power-supply 8 8 9 description: | 9 description: | 10 The supported devices can read the battery v 10 The supported devices can read the battery voltage, charge and discharge 11 currents of the battery by reading ADC chann 11 currents of the battery by reading ADC channels from the ADC. 12 12 13 maintainers: 13 maintainers: 14 - Chen-Yu Tsai <wens@csie.org> 14 - Chen-Yu Tsai <wens@csie.org> 15 - Sebastian Reichel <sre@kernel.org> 15 - Sebastian Reichel <sre@kernel.org> 16 16 17 allOf: 17 allOf: 18 - $ref: power-supply.yaml# 18 - $ref: power-supply.yaml# 19 19 20 properties: 20 properties: 21 compatible: 21 compatible: 22 oneOf: 22 oneOf: 23 - const: x-powers,axp202-battery-power-s 23 - const: x-powers,axp202-battery-power-supply 24 - const: x-powers,axp209-battery-power-s 24 - const: x-powers,axp209-battery-power-supply 25 - const: x-powers,axp221-battery-power-s 25 - const: x-powers,axp221-battery-power-supply 26 - const: x-powers,axp717-battery-power-s 26 - const: x-powers,axp717-battery-power-supply 27 - items: 27 - items: 28 - const: x-powers,axp803-battery-pow 28 - const: x-powers,axp803-battery-power-supply 29 - const: x-powers,axp813-battery-pow 29 - const: x-powers,axp813-battery-power-supply 30 - const: x-powers,axp813-battery-power-s 30 - const: x-powers,axp813-battery-power-supply 31 31 32 monitored-battery: 32 monitored-battery: 33 description: 33 description: 34 Specifies the phandle of an optional sim 34 Specifies the phandle of an optional simple-battery connected to 35 this gauge. 35 this gauge. 36 $ref: /schemas/types.yaml#/definitions/pha 36 $ref: /schemas/types.yaml#/definitions/phandle 37 37 38 required: 38 required: 39 - compatible 39 - compatible 40 40 41 additionalProperties: false 41 additionalProperties: false
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.