]>
Commit | Line | Data |
---|---|---|
53633a89 TR |
1 | # SPDX-License-Identifier: GPL-2.0 |
2 | %YAML 1.2 | |
3 | --- | |
4 | $id: http://devicetree.org/schemas/power/supply/lltc,lt3651-charger.yaml# | |
5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | |
6 | ||
7 | title: Analog Devices LT3651 Charger Power Supply | |
8 | ||
9 | maintainers: | |
10 | - Sebastian Reichel <sre@kernel.org> | |
11 | ||
12 | allOf: | |
13 | - $ref: power-supply.yaml# | |
14 | ||
15 | properties: | |
16 | compatible: | |
17 | enum: | |
18 | - lltc,lt3651-charger | |
19 | - lltc,ltc3651-charger # deprecated, use lltc,lt3651-charger | |
20 | ||
21 | lltc,acpr-gpios: | |
22 | maxItems: 1 | |
23 | ||
24 | lltc,fault-gpios: | |
25 | maxItems: 1 | |
26 | ||
27 | lltc,chrg-gpios: | |
28 | maxItems: 1 | |
29 | ||
30 | required: | |
31 | - compatible | |
32 | - lltc,acpr-gpios | |
33 | ||
34 | additionalProperties: false | |
35 | ||
36 | examples: | |
37 | - | | |
38 | #include <dt-bindings/gpio/gpio.h> | |
39 | charger { | |
40 | compatible = "lltc,lt3651-charger"; | |
41 | lltc,acpr-gpios = <&gpio0 68 GPIO_ACTIVE_LOW>; | |
42 | lltc,fault-gpios = <&gpio0 64 GPIO_ACTIVE_LOW>; | |
43 | lltc,chrg-gpios = <&gpio0 63 GPIO_ACTIVE_LOW>; | |
44 | }; |