11d9aa24bSDan Murphy* Texas Instruments - LM3692x Highly Efficient White LED Driver
21d9aa24bSDan Murphy
31d9aa24bSDan MurphyThe LM3692x is an ultra-compact, highly efficient,
41d9aa24bSDan Murphywhite-LED driver designed for LCD display backlighting.
51d9aa24bSDan Murphy
61d9aa24bSDan MurphyThe main difference between the LM36922 and LM36923 is the number of
71d9aa24bSDan MurphyLED strings it supports.  The LM36922 supports two strings while the LM36923
81d9aa24bSDan Murphysupports three strings.
91d9aa24bSDan Murphy
101d9aa24bSDan MurphyRequired properties:
111d9aa24bSDan Murphy	- compatible:
121d9aa24bSDan Murphy		"ti,lm36922"
131d9aa24bSDan Murphy		"ti,lm36923"
141d9aa24bSDan Murphy	- reg :  I2C slave address
151d9aa24bSDan Murphy	- #address-cells : 1
161d9aa24bSDan Murphy	- #size-cells : 0
171d9aa24bSDan Murphy
181d9aa24bSDan MurphyOptional properties:
191d9aa24bSDan Murphy	- enable-gpios : gpio pin to enable/disable the device.
201d9aa24bSDan Murphy	- vled-supply : LED supply
21ebf59a45SGuido Günther	- ti,ovp-microvolt: Overvoltage protection in
22ebf59a45SGuido Günther	    micro-volt, can be 17000000, 21000000, 25000000 or
23ebf59a45SGuido Günther	    29000000. If ti,ovp-microvolt is not specified it
24ebf59a45SGuido Günther	    defaults to 29000000.
251d9aa24bSDan Murphy
261d9aa24bSDan MurphyRequired child properties:
27581e3ca3SDan Murphy	- reg : 0 - Will enable all LED sync paths
28581e3ca3SDan Murphy		1 - Will enable the LED1 sync
29581e3ca3SDan Murphy		2 - Will enable the LED2 sync
30581e3ca3SDan Murphy		3 - Will enable the LED3 sync (LM36923 only)
311d9aa24bSDan Murphy
321d9aa24bSDan MurphyOptional child properties:
334dcbc8f8SJacek Anaszewski	- function : see Documentation/devicetree/bindings/leds/common.txt
344dcbc8f8SJacek Anaszewski	- color : see Documentation/devicetree/bindings/leds/common.txt
354dcbc8f8SJacek Anaszewski	- label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
361d9aa24bSDan Murphy	- linux,default-trigger :
371d9aa24bSDan Murphy	   see Documentation/devicetree/bindings/leds/common.txt
383e0801b6SGuido Günther	- led-max-microamp :
393e0801b6SGuido Günther	   see Documentation/devicetree/bindings/leds/common.txt
401d9aa24bSDan Murphy
411d9aa24bSDan MurphyExample:
421d9aa24bSDan Murphy
434dcbc8f8SJacek Anaszewski#include <dt-bindings/leds/common.h>
444dcbc8f8SJacek Anaszewski
451d9aa24bSDan Murphyled-controller@36 {
461d9aa24bSDan Murphy	compatible = "ti,lm3692x";
471d9aa24bSDan Murphy	reg = <0x36>;
481d9aa24bSDan Murphy	#address-cells = <1>;
491d9aa24bSDan Murphy	#size-cells = <0>;
501d9aa24bSDan Murphy
511d9aa24bSDan Murphy	enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
521d9aa24bSDan Murphy	vled-supply = <&vbatt>;
53ebf59a45SGuido Günther	ti,ovp-microvolt = <29000000>;
541d9aa24bSDan Murphy
551d9aa24bSDan Murphy	led@0 {
561d9aa24bSDan Murphy		reg = <0>;
574dcbc8f8SJacek Anaszewski		function = LED_FUNCTION_BACKLIGHT;
584dcbc8f8SJacek Anaszewski		color = <LED_COLOR_ID_WHITE>;
591d9aa24bSDan Murphy		linux,default-trigger = "backlight";
603e0801b6SGuido Günther		led-max-microamp = <20000>;
611d9aa24bSDan Murphy	};
621d9aa24bSDan Murphy}
631d9aa24bSDan Murphy
641d9aa24bSDan MurphyFor more product information please see the link below:
65c5437338SAlexander A. Klimovhttps://www.ti.com/lit/ds/snvsa29/snvsa29.pdf
66