Back to home page

OSCL-LXR

 
 

    


0001 * Texas Instruments - LM3697 Highly Efficient White LED Driver
0002 
0003 The LM3697 11-bit LED driver provides high-
0004 performance backlight dimming for 1, 2, or 3 series
0005 LED strings while delivering up to 90% efficiency.
0006 
0007 This device is suitable for display and keypad lighting
0008 
0009 Required properties:
0010         - compatible:
0011                 "ti,lm3697"
0012         - reg :  I2C slave address
0013         - #address-cells : 1
0014         - #size-cells : 0
0015 
0016 Optional properties:
0017         - enable-gpios : GPIO pin to enable/disable the device
0018         - vled-supply : LED supply
0019 
0020 Required child properties:
0021         - reg : 0 - LED is Controlled by bank A
0022                 1 - LED is Controlled by bank B
0023         - led-sources : Indicates which HVLED string is associated to which
0024                         control bank.  This is a zero based property so
0025                         HVLED1 = 0, HVLED2 = 1, HVLED3 = 2.
0026                         Additional information is contained
0027                         in Documentation/devicetree/bindings/leds/common.txt
0028 
0029 Optional child properties:
0030         - ti,brightness-resolution - see Documentation/devicetree/bindings/mfd/ti-lmu.txt
0031         - ramp-up-us: see Documentation/devicetree/bindings/mfd/ti-lmu.txt
0032         - ramp-down-us: see Documentation/devicetree/bindings/mfd/ti-lmu.txt
0033         - label : see Documentation/devicetree/bindings/leds/common.txt
0034         - linux,default-trigger :
0035            see Documentation/devicetree/bindings/leds/common.txt
0036 
0037 Example:
0038 
0039 HVLED string 1 and 3 are controlled by control bank A and HVLED 2 string is
0040 controlled by control bank B.
0041 
0042 led-controller@36 {
0043         compatible = "ti,lm3697";
0044         #address-cells = <1>;
0045         #size-cells = <0>;
0046         reg = <0x36>;
0047 
0048         enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
0049         vled-supply = <&vbatt>;
0050 
0051         led@0 {
0052                 reg = <0>;
0053                 led-sources = <0 2>;
0054                 ti,brightness-resolution = <2047>;
0055                 ramp-up-us = <5000>;
0056                 ramp-down-us = <1000>;
0057                 label = "white:first_backlight_cluster";
0058                 linux,default-trigger = "backlight";
0059         };
0060 
0061         led@1 {
0062                 reg = <1>;
0063                 led-sources = <1>;
0064                 ti,brightness-resolution = <255>;
0065                 ramp-up-us = <500>;
0066                 ramp-down-us = <1000>;
0067                 label = "white:second_backlight_cluster";
0068                 linux,default-trigger = "backlight";
0069         };
0070 }
0071 
0072 For more product information please see the link below:
0073 https://www.ti.com/lit/ds/symlink/lm3697.pdf