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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/leds/leds-lp8860.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 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/leds/leds-lp8860.txt (Architecture m68k) and /Documentation/devicetree/bindings/leds/leds-lp8860.txt (Architecture ppc)


  1 * Texas Instruments - lp8860 4-Channel LED Dri      1 * Texas Instruments - lp8860 4-Channel LED Driver
  2                                                     2 
  3 The LP8860-Q1 is an high-efficiency LED             3 The LP8860-Q1 is an high-efficiency LED
  4 driver with boost controller. It has 4 high-pr      4 driver with boost controller. It has 4 high-precision
  5 current sinks that can be controlled by a PWM       5 current sinks that can be controlled by a PWM input
  6 signal, a SPI/I2C master, or both.                  6 signal, a SPI/I2C master, or both.
  7                                                     7 
  8 Required properties:                                8 Required properties:
  9         - compatible :                              9         - compatible :
 10                 "ti,lp8860"                        10                 "ti,lp8860"
 11         - reg : I2C slave address                  11         - reg : I2C slave address
 12         - #address-cells : 1                       12         - #address-cells : 1
 13         - #size-cells : 0                          13         - #size-cells : 0
 14                                                    14 
 15 Optional properties:                               15 Optional properties:
 16         - enable-gpios : gpio pin to enable (a     16         - enable-gpios : gpio pin to enable (active high)/disable the device.
 17         - vled-supply : LED supply                 17         - vled-supply : LED supply
 18                                                    18 
 19 Required child properties:                         19 Required child properties:
 20         - reg : 0                                  20         - reg : 0
 21                                                    21 
 22 Optional child properties:                         22 Optional child properties:
 23         - function : see Documentation/devicet     23         - function : see Documentation/devicetree/bindings/leds/common.txt
 24         - color : see Documentation/devicetree     24         - color : see Documentation/devicetree/bindings/leds/common.txt
 25         - label : see Documentation/devicetree     25         - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
 26         - linux,default-trigger :                  26         - linux,default-trigger :
 27            see Documentation/devicetree/bindin     27            see Documentation/devicetree/bindings/leds/common.txt
 28                                                    28 
 29 Example:                                           29 Example:
 30                                                    30 
 31 #include <dt-bindings/leds/common.h>               31 #include <dt-bindings/leds/common.h>
 32                                                    32 
 33 led-controller@2d {                                33 led-controller@2d {
 34         compatible = "ti,lp8860";                  34         compatible = "ti,lp8860";
 35         #address-cells = <1>;                      35         #address-cells = <1>;
 36         #size-cells = <0>;                         36         #size-cells = <0>;
 37         reg = <0x2d>;                              37         reg = <0x2d>;
 38         enable-gpios = <&gpio1 28 GPIO_ACTIVE_     38         enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
 39         vled-supply = <&vbatt>;                    39         vled-supply = <&vbatt>;
 40                                                    40 
 41         led@0 {                                    41         led@0 {
 42                 reg = <0>;                         42                 reg = <0>;
 43                 function = LED_FUNCTION_BACKLI     43                 function = LED_FUNCTION_BACKLIGHT;
 44                 color = <LED_COLOR_ID_WHITE>;      44                 color = <LED_COLOR_ID_WHITE>;
 45                 linux,default-trigger = "backl     45                 linux,default-trigger = "backlight";
 46         };                                         46         };
 47 }                                                  47 }
 48                                                    48 
 49 For more product information please see the li     49 For more product information please see the link below:
 50 https://www.ti.com/product/lp8860-q1               50 https://www.ti.com/product/lp8860-q1
                                                      

~ [ 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