1*c66ec88fSEmmanuel Vadot* Texas Instruments - lm3601x Single-LED Flash Driver 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThe LM3601X are ultra-small LED flash drivers that 4*c66ec88fSEmmanuel Vadotprovide a high level of adjustability. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotRequired properties: 7*c66ec88fSEmmanuel Vadot - compatible : Can be one of the following 8*c66ec88fSEmmanuel Vadot "ti,lm36010" 9*c66ec88fSEmmanuel Vadot "ti,lm36011" 10*c66ec88fSEmmanuel Vadot - reg : I2C slave address 11*c66ec88fSEmmanuel Vadot - #address-cells : 1 12*c66ec88fSEmmanuel Vadot - #size-cells : 0 13*c66ec88fSEmmanuel Vadot 14*c66ec88fSEmmanuel VadotRequired child properties: 15*c66ec88fSEmmanuel Vadot - reg : 0 - Indicates a IR mode 16*c66ec88fSEmmanuel Vadot 1 - Indicates a Torch (white LED) mode 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel VadotRequired properties for flash LED child nodes: 19*c66ec88fSEmmanuel Vadot See Documentation/devicetree/bindings/leds/common.txt 20*c66ec88fSEmmanuel Vadot - flash-max-microamp : Range from 11mA - 1.5A 21*c66ec88fSEmmanuel Vadot - flash-max-timeout-us : Range from 40ms - 1600ms 22*c66ec88fSEmmanuel Vadot - led-max-microamp : Range from 2.4mA - 376mA 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel VadotOptional child properties: 25*c66ec88fSEmmanuel Vadot - function : see Documentation/devicetree/bindings/leds/common.txt 26*c66ec88fSEmmanuel Vadot - color : see Documentation/devicetree/bindings/leds/common.txt 27*c66ec88fSEmmanuel Vadot - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated) 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel VadotExample: 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot#include <dt-bindings/leds/common.h> 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadotled-controller@64 { 34*c66ec88fSEmmanuel Vadot compatible = "ti,lm36010"; 35*c66ec88fSEmmanuel Vadot #address-cells = <1>; 36*c66ec88fSEmmanuel Vadot #size-cells = <0>; 37*c66ec88fSEmmanuel Vadot reg = <0x64>; 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadot led@0 { 40*c66ec88fSEmmanuel Vadot reg = <1>; 41*c66ec88fSEmmanuel Vadot function = LED_FUNCTION_TORCH; 42*c66ec88fSEmmanuel Vadot color = <LED_COLOR_ID_WHITE>; 43*c66ec88fSEmmanuel Vadot led-max-microamp = <376000>; 44*c66ec88fSEmmanuel Vadot flash-max-microamp = <1500000>; 45*c66ec88fSEmmanuel Vadot flash-max-timeout-us = <1600000>; 46*c66ec88fSEmmanuel Vadot }; 47*c66ec88fSEmmanuel Vadot} 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel VadotFor more product information please see the links below: 50*c66ec88fSEmmanuel Vadothttps://www.ti.com/product/LM36010 51*c66ec88fSEmmanuel Vadothttps://www.ti.com/product/LM36011 52