~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/leds/leds-lm3697.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 * Texas Instruments - LM3697 Highly Efficient White LED Driver
  2 
  3 The LM3697 11-bit LED driver provides high-
  4 performance backlight dimming for 1, 2, or 3 series
  5 LED strings while delivering up to 90% efficiency.
  6 
  7 This device is suitable for display and keypad lighting
  8 
  9 Required properties:
 10         - compatible:
 11                 "ti,lm3697"
 12         - reg :  I2C slave address
 13         - #address-cells : 1
 14         - #size-cells : 0
 15 
 16 Optional properties:
 17         - enable-gpios : GPIO pin to enable/disable the device
 18         - vled-supply : LED supply
 19 
 20 Required child properties:
 21         - reg : 0 - LED is Controlled by bank A
 22                 1 - LED is Controlled by bank B
 23         - led-sources : Indicates which HVLED string is associated to which
 24                         control bank.  This is a zero based property so
 25                         HVLED1 = 0, HVLED2 = 1, HVLED3 = 2.
 26                         Additional information is contained
 27                         in Documentation/devicetree/bindings/leds/common.txt
 28 
 29 Optional child properties:
 30         - ti,brightness-resolution - see Documentation/devicetree/bindings/mfd/ti-lmu.txt
 31         - ramp-up-us: see Documentation/devicetree/bindings/mfd/ti-lmu.txt
 32         - ramp-down-us: see Documentation/devicetree/bindings/mfd/ti-lmu.txt
 33         - label : see Documentation/devicetree/bindings/leds/common.txt
 34         - linux,default-trigger :
 35            see Documentation/devicetree/bindings/leds/common.txt
 36 
 37 Example:
 38 
 39 HVLED string 1 and 3 are controlled by control bank A and HVLED 2 string is
 40 controlled by control bank B.
 41 
 42 led-controller@36 {
 43         compatible = "ti,lm3697";
 44         #address-cells = <1>;
 45         #size-cells = <0>;
 46         reg = <0x36>;
 47 
 48         enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
 49         vled-supply = <&vbatt>;
 50 
 51         led@0 {
 52                 reg = <0>;
 53                 led-sources = <0 2>;
 54                 ti,brightness-resolution = <2047>;
 55                 ramp-up-us = <5000>;
 56                 ramp-down-us = <1000>;
 57                 label = "white:first_backlight_cluster";
 58                 linux,default-trigger = "backlight";
 59         };
 60 
 61         led@1 {
 62                 reg = <1>;
 63                 led-sources = <1>;
 64                 ti,brightness-resolution = <255>;
 65                 ramp-up-us = <500>;
 66                 ramp-down-us = <1000>;
 67                 label = "white:second_backlight_cluster";
 68                 linux,default-trigger = "backlight";
 69         };
 70 }
 71 
 72 For more product information please see the link below:
 73 https://www.ti.com/lit/ds/symlink/lm3697.pdf

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php