1*c66ec88fSEmmanuel Vadot* Texas Instruments - LM3692x Highly Efficient White LED Driver 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThe LM3692x is an ultra-compact, highly efficient, 4*c66ec88fSEmmanuel Vadotwhite-LED driver designed for LCD display backlighting. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotThe main difference between the LM36922 and LM36923 is the number of 7*c66ec88fSEmmanuel VadotLED strings it supports. The LM36922 supports two strings while the LM36923 8*c66ec88fSEmmanuel Vadotsupports three strings. 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel VadotRequired properties: 11*c66ec88fSEmmanuel Vadot - compatible: 12*c66ec88fSEmmanuel Vadot "ti,lm36922" 13*c66ec88fSEmmanuel Vadot "ti,lm36923" 14*c66ec88fSEmmanuel Vadot - reg : I2C slave address 15*c66ec88fSEmmanuel Vadot - #address-cells : 1 16*c66ec88fSEmmanuel Vadot - #size-cells : 0 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel VadotOptional properties: 19*c66ec88fSEmmanuel Vadot - enable-gpios : gpio pin to enable/disable the device. 20*c66ec88fSEmmanuel Vadot - vled-supply : LED supply 21*c66ec88fSEmmanuel Vadot - ti,ovp-microvolt: Overvoltage protection in 22*c66ec88fSEmmanuel Vadot micro-volt, can be 17000000, 21000000, 25000000 or 23*c66ec88fSEmmanuel Vadot 29000000. If ti,ovp-microvolt is not specified it 24*c66ec88fSEmmanuel Vadot defaults to 29000000. 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel VadotRequired child properties: 27*c66ec88fSEmmanuel Vadot - reg : 0 - Will enable all LED sync paths 28*c66ec88fSEmmanuel Vadot 1 - Will enable the LED1 sync 29*c66ec88fSEmmanuel Vadot 2 - Will enable the LED2 sync 30*c66ec88fSEmmanuel Vadot 3 - Will enable the LED3 sync (LM36923 only) 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel VadotOptional child properties: 33*c66ec88fSEmmanuel Vadot - function : see Documentation/devicetree/bindings/leds/common.txt 34*c66ec88fSEmmanuel Vadot - color : see Documentation/devicetree/bindings/leds/common.txt 35*c66ec88fSEmmanuel Vadot - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated) 36*c66ec88fSEmmanuel Vadot - linux,default-trigger : 37*c66ec88fSEmmanuel Vadot see Documentation/devicetree/bindings/leds/common.txt 38*c66ec88fSEmmanuel Vadot - led-max-microamp : 39*c66ec88fSEmmanuel Vadot see Documentation/devicetree/bindings/leds/common.txt 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel VadotExample: 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadot#include <dt-bindings/leds/common.h> 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel Vadotled-controller@36 { 46*c66ec88fSEmmanuel Vadot compatible = "ti,lm3692x"; 47*c66ec88fSEmmanuel Vadot reg = <0x36>; 48*c66ec88fSEmmanuel Vadot #address-cells = <1>; 49*c66ec88fSEmmanuel Vadot #size-cells = <0>; 50*c66ec88fSEmmanuel Vadot 51*c66ec88fSEmmanuel Vadot enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; 52*c66ec88fSEmmanuel Vadot vled-supply = <&vbatt>; 53*c66ec88fSEmmanuel Vadot ti,ovp-microvolt = <29000000>; 54*c66ec88fSEmmanuel Vadot 55*c66ec88fSEmmanuel Vadot led@0 { 56*c66ec88fSEmmanuel Vadot reg = <0>; 57*c66ec88fSEmmanuel Vadot function = LED_FUNCTION_BACKLIGHT; 58*c66ec88fSEmmanuel Vadot color = <LED_COLOR_ID_WHITE>; 59*c66ec88fSEmmanuel Vadot linux,default-trigger = "backlight"; 60*c66ec88fSEmmanuel Vadot led-max-microamp = <20000>; 61*c66ec88fSEmmanuel Vadot }; 62*c66ec88fSEmmanuel Vadot} 63*c66ec88fSEmmanuel Vadot 64*c66ec88fSEmmanuel VadotFor more product information please see the link below: 65*c66ec88fSEmmanuel Vadothttps://www.ti.com/lit/ds/snvsa29/snvsa29.pdf 66