]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/media/i2c/adp1653.txt
Merge remote-tracking branch 'kgdb/kgdb-next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / media / i2c / adp1653.txt
1 * Analog Devices ADP1653 flash LED driver
2
3 Required 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
11 There are two LED outputs available - flash and indicator. One LED is
12 represented by one child node, nodes need to be named "flash" and "indicator".
13
14 Required properties of the LED child node:
15 - max-microamp : see Documentation/devicetree/bindings/leds/common.txt
16
17 Required 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
21
22 Example:
23
24         adp1653: led-controller@30 {
25                 compatible = "adi,adp1653";
26                 reg = <0x30>;
27                 enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; /* 88 */
28
29                 flash {
30                         flash-timeout-us = <500000>;
31                         flash-max-microamp = <320000>;
32                         max-microamp = <50000>;
33                 };
34                 indicator {
35                         max-microamp = <17500>;
36                 };
37         };