Back to home page

OSCL-LXR

 
 

    


0001 * Texas Instruments - LM3692x Highly Efficient White LED Driver
0002 
0003 The LM3692x is an ultra-compact, highly efficient,
0004 white-LED driver designed for LCD display backlighting.
0005 
0006 The main difference between the LM36922 and LM36923 is the number of
0007 LED strings it supports.  The LM36922 supports two strings while the LM36923
0008 supports three strings.
0009 
0010 Required properties:
0011         - compatible:
0012                 "ti,lm36922"
0013                 "ti,lm36923"
0014         - reg :  I2C slave address
0015         - #address-cells : 1
0016         - #size-cells : 0
0017 
0018 Optional properties:
0019         - enable-gpios : gpio pin to enable/disable the device.
0020         - vled-supply : LED supply
0021         - ti,ovp-microvolt: Overvoltage protection in
0022             micro-volt, can be 17000000, 21000000, 25000000 or
0023             29000000. If ti,ovp-microvolt is not specified it
0024             defaults to 29000000.
0025 
0026 Required child properties:
0027         - reg : 0 - Will enable all LED sync paths
0028                 1 - Will enable the LED1 sync
0029                 2 - Will enable the LED2 sync
0030                 3 - Will enable the LED3 sync (LM36923 only)
0031 
0032 Optional child properties:
0033         - function : see Documentation/devicetree/bindings/leds/common.txt
0034         - color : see Documentation/devicetree/bindings/leds/common.txt
0035         - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
0036         - linux,default-trigger :
0037            see Documentation/devicetree/bindings/leds/common.txt
0038         - led-max-microamp :
0039            see Documentation/devicetree/bindings/leds/common.txt
0040 
0041 Example:
0042 
0043 #include <dt-bindings/leds/common.h>
0044 
0045 led-controller@36 {
0046         compatible = "ti,lm3692x";
0047         reg = <0x36>;
0048         #address-cells = <1>;
0049         #size-cells = <0>;
0050 
0051         enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
0052         vled-supply = <&vbatt>;
0053         ti,ovp-microvolt = <29000000>;
0054 
0055         led@0 {
0056                 reg = <0>;
0057                 function = LED_FUNCTION_BACKLIGHT;
0058                 color = <LED_COLOR_ID_WHITE>;
0059                 linux,default-trigger = "backlight";
0060                 led-max-microamp = <20000>;
0061         };
0062 }
0063 
0064 For more product information please see the link below:
0065 https://www.ti.com/lit/ds/snvsa29/snvsa29.pdf