1*4882a593Smuzhiyun* Analog Devices ADP1653 flash LED driver 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired Properties: 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun - compatible: Must contain "adi,adp1653" 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun - reg: I2C slave address 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun - enable-gpios: Specifier of the GPIO connected to EN pin 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunThere are two LED outputs available - flash and indicator. One LED is 12*4882a593Smuzhiyunrepresented by one child node, nodes need to be named "flash" and "indicator". 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunRequired properties of the LED child node: 15*4882a593Smuzhiyun- led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunRequired properties of the flash LED child node: 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun- flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 20*4882a593Smuzhiyun- flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt 21*4882a593Smuzhiyun- led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunExample: 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun adp1653: led-controller@30 { 26*4882a593Smuzhiyun compatible = "adi,adp1653"; 27*4882a593Smuzhiyun reg = <0x30>; 28*4882a593Smuzhiyun enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; /* 88 */ 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun flash { 31*4882a593Smuzhiyun flash-timeout-us = <500000>; 32*4882a593Smuzhiyun flash-max-microamp = <320000>; 33*4882a593Smuzhiyun led-max-microamp = <50000>; 34*4882a593Smuzhiyun }; 35*4882a593Smuzhiyun indicator { 36*4882a593Smuzhiyun led-max-microamp = <17500>; 37*4882a593Smuzhiyun }; 38*4882a593Smuzhiyun }; 39