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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/leds/leds-lm3601x.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-lm3601x.txt (Architecture alpha) and /Documentation/devicetree/bindings/leds/leds-lm3601x.txt (Architecture i386)


  1 * Texas Instruments - lm3601x Single-LED Flash      1 * Texas Instruments - lm3601x Single-LED Flash Driver
  2                                                     2 
  3 The LM3601X are ultra-small LED flash drivers       3 The LM3601X are ultra-small LED flash drivers that
  4 provide a high level of adjustability.              4 provide a high level of adjustability.
  5                                                     5 
  6 Required properties:                                6 Required properties:
  7         - compatible : Can be one of the follo      7         - compatible : Can be one of the following
  8                 "ti,lm36010"                        8                 "ti,lm36010"
  9                 "ti,lm36011"                        9                 "ti,lm36011"
 10         - reg : I2C slave address                  10         - reg : I2C slave address
 11         - #address-cells : 1                       11         - #address-cells : 1
 12         - #size-cells : 0                          12         - #size-cells : 0
 13                                                    13 
 14 Required child properties:                         14 Required child properties:
 15         - reg : 0 - Indicates a IR mode            15         - reg : 0 - Indicates a IR mode
 16                 1 - Indicates a Torch (white L     16                 1 - Indicates a Torch (white LED) mode
 17                                                    17 
 18 Required properties for flash LED child nodes:     18 Required properties for flash LED child nodes:
 19         See Documentation/devicetree/bindings/     19         See Documentation/devicetree/bindings/leds/common.txt
 20         - flash-max-microamp : Range from 11mA     20         - flash-max-microamp : Range from 11mA - 1.5A
 21         - flash-max-timeout-us : Range from 40     21         - flash-max-timeout-us : Range from 40ms - 1600ms
 22         - led-max-microamp : Range from 2.4mA      22         - led-max-microamp : Range from 2.4mA - 376mA
 23                                                    23 
 24 Optional child properties:                         24 Optional child properties:
 25         - function : see Documentation/devicet     25         - function : see Documentation/devicetree/bindings/leds/common.txt
 26         - color : see Documentation/devicetree     26         - color : see Documentation/devicetree/bindings/leds/common.txt
 27         - label : see Documentation/devicetree     27         - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
 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@64 {                                33 led-controller@64 {
 34         compatible = "ti,lm36010";                 34         compatible = "ti,lm36010";
 35         #address-cells = <1>;                      35         #address-cells = <1>;
 36         #size-cells = <0>;                         36         #size-cells = <0>;
 37         reg = <0x64>;                              37         reg = <0x64>;
 38                                                    38 
 39         led@0 {                                    39         led@0 {
 40                 reg = <1>;                         40                 reg = <1>;
 41                 function = LED_FUNCTION_TORCH;     41                 function = LED_FUNCTION_TORCH;
 42                 color = <LED_COLOR_ID_WHITE>;      42                 color = <LED_COLOR_ID_WHITE>;
 43                 led-max-microamp = <376000>;       43                 led-max-microamp = <376000>;
 44                 flash-max-microamp = <1500000>     44                 flash-max-microamp = <1500000>;
 45                 flash-max-timeout-us = <160000     45                 flash-max-timeout-us = <1600000>;
 46         };                                         46         };
 47 }                                                  47 }
 48                                                    48 
 49 For more product information please see the li     49 For more product information please see the links below:
 50 https://www.ti.com/product/LM36010                 50 https://www.ti.com/product/LM36010
 51 https://www.ti.com/product/LM36011                 51 https://www.ti.com/product/LM36011
                                                      

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