1Analog Devices LT3651 Charger Power Supply bindings: lt3651-charger
2
3Required properties:
4- compatible: Should contain one of the following:
5 * "lltc,ltc3651-charger", (DEPRECATED: Use "lltc,lt3651-charger")
6 * "lltc,lt3651-charger"
7 - lltc,acpr-gpios: Connect to ACPR output. See remark below.
8
9Optional properties:
10 - lltc,fault-gpios: Connect to FAULT output. See remark below.
11 - lltc,chrg-gpios: Connect to CHRG output. See remark below.
12
13The lt3651 outputs are open-drain type and active low. The driver assumes the
14GPIO reports "active" when the output is asserted, so if the pins have been
15connected directly, the GPIO flags should be set to active low also.
16
17The driver will attempt to aquire interrupts for all GPIOs to detect changes in
18line state. If the system is not capabale of providing interrupts, the driver
19cannot report changes and userspace will need to periodically read the sysfs
20attributes to detect changes.
21
22Example:
23
24	charger: battery-charger {
25		compatible = "lltc,lt3651-charger";
26		lltc,acpr-gpios = <&gpio0 68 GPIO_ACTIVE_LOW>;
27		lltc,fault-gpios = <&gpio0 64 GPIO_ACTIVE_LOW>;
28		lltc,chrg-gpios = <&gpio0 63 GPIO_ACTIVE_LOW>;
29	};
30