18c2ecf20Sopenharmony_ci* Texas Instruments - LM3692x Highly Efficient White LED Driver
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe LM3692x is an ultra-compact, highly efficient,
48c2ecf20Sopenharmony_ciwhite-LED driver designed for LCD display backlighting.
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciThe main difference between the LM36922 and LM36923 is the number of
78c2ecf20Sopenharmony_ciLED strings it supports.  The LM36922 supports two strings while the LM36923
88c2ecf20Sopenharmony_cisupports three strings.
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciRequired properties:
118c2ecf20Sopenharmony_ci	- compatible:
128c2ecf20Sopenharmony_ci		"ti,lm36922"
138c2ecf20Sopenharmony_ci		"ti,lm36923"
148c2ecf20Sopenharmony_ci	- reg :  I2C slave address
158c2ecf20Sopenharmony_ci	- #address-cells : 1
168c2ecf20Sopenharmony_ci	- #size-cells : 0
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciOptional properties:
198c2ecf20Sopenharmony_ci	- enable-gpios : gpio pin to enable/disable the device.
208c2ecf20Sopenharmony_ci	- vled-supply : LED supply
218c2ecf20Sopenharmony_ci	- ti,ovp-microvolt: Overvoltage protection in
228c2ecf20Sopenharmony_ci	    micro-volt, can be 17000000, 21000000, 25000000 or
238c2ecf20Sopenharmony_ci	    29000000. If ti,ovp-microvolt is not specified it
248c2ecf20Sopenharmony_ci	    defaults to 29000000.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciRequired child properties:
278c2ecf20Sopenharmony_ci	- reg : 0 - Will enable all LED sync paths
288c2ecf20Sopenharmony_ci		1 - Will enable the LED1 sync
298c2ecf20Sopenharmony_ci		2 - Will enable the LED2 sync
308c2ecf20Sopenharmony_ci		3 - Will enable the LED3 sync (LM36923 only)
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciOptional child properties:
338c2ecf20Sopenharmony_ci	- function : see Documentation/devicetree/bindings/leds/common.txt
348c2ecf20Sopenharmony_ci	- color : see Documentation/devicetree/bindings/leds/common.txt
358c2ecf20Sopenharmony_ci	- label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
368c2ecf20Sopenharmony_ci	- linux,default-trigger :
378c2ecf20Sopenharmony_ci	   see Documentation/devicetree/bindings/leds/common.txt
388c2ecf20Sopenharmony_ci	- led-max-microamp :
398c2ecf20Sopenharmony_ci	   see Documentation/devicetree/bindings/leds/common.txt
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciExample:
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci#include <dt-bindings/leds/common.h>
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ciled-controller@36 {
468c2ecf20Sopenharmony_ci	compatible = "ti,lm3692x";
478c2ecf20Sopenharmony_ci	reg = <0x36>;
488c2ecf20Sopenharmony_ci	#address-cells = <1>;
498c2ecf20Sopenharmony_ci	#size-cells = <0>;
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci	enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
528c2ecf20Sopenharmony_ci	vled-supply = <&vbatt>;
538c2ecf20Sopenharmony_ci	ti,ovp-microvolt = <29000000>;
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci	led@0 {
568c2ecf20Sopenharmony_ci		reg = <0>;
578c2ecf20Sopenharmony_ci		function = LED_FUNCTION_BACKLIGHT;
588c2ecf20Sopenharmony_ci		color = <LED_COLOR_ID_WHITE>;
598c2ecf20Sopenharmony_ci		linux,default-trigger = "backlight";
608c2ecf20Sopenharmony_ci		led-max-microamp = <20000>;
618c2ecf20Sopenharmony_ci	};
628c2ecf20Sopenharmony_ci}
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ciFor more product information please see the link below:
658c2ecf20Sopenharmony_cihttps://www.ti.com/lit/ds/snvsa29/snvsa29.pdf
66