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
211d9aa24bSDan Murphy
221d9aa24bSDan MurphyRequired child properties:
23581e3ca3SDan Murphy	- reg : 0 - Will enable all LED sync paths
24581e3ca3SDan Murphy		1 - Will enable the LED1 sync
25581e3ca3SDan Murphy		2 - Will enable the LED2 sync
26581e3ca3SDan Murphy		3 - Will enable the LED3 sync (LM36923 only)
271d9aa24bSDan Murphy
281d9aa24bSDan MurphyOptional child properties:
294dcbc8f8SJacek Anaszewski	- function : see Documentation/devicetree/bindings/leds/common.txt
304dcbc8f8SJacek Anaszewski	- color : see Documentation/devicetree/bindings/leds/common.txt
314dcbc8f8SJacek Anaszewski	- label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
321d9aa24bSDan Murphy	- linux,default-trigger :
331d9aa24bSDan Murphy	   see Documentation/devicetree/bindings/leds/common.txt
341d9aa24bSDan Murphy
351d9aa24bSDan MurphyExample:
361d9aa24bSDan Murphy
374dcbc8f8SJacek Anaszewski#include <dt-bindings/leds/common.h>
384dcbc8f8SJacek Anaszewski
391d9aa24bSDan Murphyled-controller@36 {
401d9aa24bSDan Murphy	compatible = "ti,lm3692x";
411d9aa24bSDan Murphy	reg = <0x36>;
421d9aa24bSDan Murphy	#address-cells = <1>;
431d9aa24bSDan Murphy	#size-cells = <0>;
441d9aa24bSDan Murphy
451d9aa24bSDan Murphy	enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
461d9aa24bSDan Murphy	vled-supply = <&vbatt>;
471d9aa24bSDan Murphy
481d9aa24bSDan Murphy	led@0 {
491d9aa24bSDan Murphy		reg = <0>;
504dcbc8f8SJacek Anaszewski		function = LED_FUNCTION_BACKLIGHT;
514dcbc8f8SJacek Anaszewski		color = <LED_COLOR_ID_WHITE>;
521d9aa24bSDan Murphy		linux,default-trigger = "backlight";
531d9aa24bSDan Murphy	};
541d9aa24bSDan Murphy}
551d9aa24bSDan Murphy
561d9aa24bSDan MurphyFor more product information please see the link below:
571d9aa24bSDan Murphyhttp://www.ti.com/lit/ds/snvsa29/snvsa29.pdf
58