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/lltc,lt3651-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Analog Devices LT3651 Charger Power Sup 7 title: Analog Devices LT3651 Charger Power Supply 8 8 9 maintainers: 9 maintainers: 10 - Sebastian Reichel <sre@kernel.org> 10 - Sebastian Reichel <sre@kernel.org> 11 11 12 allOf: 12 allOf: 13 - $ref: power-supply.yaml# 13 - $ref: power-supply.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - lltc,lt3651-charger 18 - lltc,lt3651-charger 19 - lltc,ltc3651-charger # deprecated, us 19 - lltc,ltc3651-charger # deprecated, use lltc,lt3651-charger 20 20 21 lltc,acpr-gpios: 21 lltc,acpr-gpios: 22 maxItems: 1 22 maxItems: 1 23 23 24 lltc,fault-gpios: 24 lltc,fault-gpios: 25 maxItems: 1 25 maxItems: 1 26 26 27 lltc,chrg-gpios: 27 lltc,chrg-gpios: 28 maxItems: 1 28 maxItems: 1 29 29 30 required: 30 required: 31 - compatible 31 - compatible 32 - lltc,acpr-gpios 32 - lltc,acpr-gpios 33 33 34 additionalProperties: false 34 additionalProperties: false 35 35 36 examples: 36 examples: 37 - | 37 - | 38 #include <dt-bindings/gpio/gpio.h> 38 #include <dt-bindings/gpio/gpio.h> 39 charger { 39 charger { 40 compatible = "lltc,lt3651-charger"; 40 compatible = "lltc,lt3651-charger"; 41 lltc,acpr-gpios = <&gpio0 68 GPIO_ACTIVE 41 lltc,acpr-gpios = <&gpio0 68 GPIO_ACTIVE_LOW>; 42 lltc,fault-gpios = <&gpio0 64 GPIO_ACTIV 42 lltc,fault-gpios = <&gpio0 64 GPIO_ACTIVE_LOW>; 43 lltc,chrg-gpios = <&gpio0 63 GPIO_ACTIVE 43 lltc,chrg-gpios = <&gpio0 63 GPIO_ACTIVE_LOW>; 44 }; 44 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.