1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # Copyright (C) 2021 Sebastian Reichel 2 # Copyright (C) 2021 Sebastian Reichel 3 %YAML 1.2 3 %YAML 1.2 4 --- 4 --- 5 $id: http://devicetree.org/schemas/power/suppl 5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-chargalg.yaml# 6 $schema: http://devicetree.org/meta-schemas/co 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 title: AB8500 Charging Algorithm 8 title: AB8500 Charging Algorithm 9 9 10 maintainers: 10 maintainers: 11 - Sebastian Reichel <sre@kernel.org> 11 - Sebastian Reichel <sre@kernel.org> 12 12 13 allOf: 13 allOf: 14 - $ref: power-supply.yaml# 14 - $ref: power-supply.yaml# 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 const: stericsson,ab8500-chargalg 18 const: stericsson,ab8500-chargalg 19 19 20 monitored-battery: 20 monitored-battery: 21 $ref: /schemas/types.yaml#/definitions/pha 21 $ref: /schemas/types.yaml#/definitions/phandle 22 description: phandle to battery node 22 description: phandle to battery node 23 23 24 battery: 24 battery: 25 $ref: /schemas/types.yaml#/definitions/pha 25 $ref: /schemas/types.yaml#/definitions/phandle 26 deprecated: true 26 deprecated: true 27 27 28 required: 28 required: 29 - compatible 29 - compatible 30 - monitored-battery 30 - monitored-battery 31 31 32 additionalProperties: false 32 additionalProperties: false 33 33 34 examples: 34 examples: 35 - | 35 - | 36 pmic { 36 pmic { 37 charging-algorithm { 37 charging-algorithm { 38 compatible = "stericsson,ab8500-charga 38 compatible = "stericsson,ab8500-chargalg"; 39 monitored-battery = <&ab8500_battery>; 39 monitored-battery = <&ab8500_battery>; 40 }; 40 }; 41 }; 41 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.