blob: 4cce0de40ee9208566a917b71400b7a7d7482725 [file] [log] [blame]
Pavel Machekb2dbde52015-04-04 04:43:37 -03001* Analog Devices ADP1653 flash LED driver
2
3Required Properties:
4
5 - compatible: Must contain "adi,adp1653"
6
7 - reg: I2C slave address
8
9 - enable-gpios: Specifier of the GPIO connected to EN pin
10
11There are two LED outputs available - flash and indicator. One LED is
12represented by one child node, nodes need to be named "flash" and "indicator".
13
14Required properties of the LED child node:
Pali Rohárdc173402015-12-26 00:37:16 +010015- led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
Pavel Machekb2dbde52015-04-04 04:43:37 -030016
17Required properties of the flash LED child node:
18
19- flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
20- flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
Pali Rohárdc173402015-12-26 00:37:16 +010021- led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
Pavel Machekb2dbde52015-04-04 04:43:37 -030022
23Example:
24
25 adp1653: led-controller@30 {
26 compatible = "adi,adp1653";
27 reg = <0x30>;
28 enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; /* 88 */
29
30 flash {
31 flash-timeout-us = <500000>;
32 flash-max-microamp = <320000>;
Pali Rohárdc173402015-12-26 00:37:16 +010033 led-max-microamp = <50000>;
Pavel Machekb2dbde52015-04-04 04:43:37 -030034 };
35 indicator {
Pali Rohárdc173402015-12-26 00:37:16 +010036 led-max-microamp = <17500>;
Pavel Machekb2dbde52015-04-04 04:43:37 -030037 };
38 };