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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml

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-lp50xx.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/leds/leds-lp50xx.yaml (Version linux-6.0.19)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/leds/leds-l      4 $id: http://devicetree.org/schemas/leds/leds-lp50xx.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: LED driver for LP50XX RGB LED from Texa      7 title: LED driver for LP50XX RGB LED from Texas Instruments.
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Andrew Davis <afd@ti.com>                       10   - Andrew Davis <afd@ti.com>
 11                                                    11 
 12 description: |                                     12 description: |
 13   The LP50XX is multi-channel, I2C RGB LED Dri     13   The LP50XX is multi-channel, I2C RGB LED Drivers that can group RGB LEDs into
 14   a LED group or control them individually.        14   a LED group or control them individually.
 15                                                    15 
 16   The difference in these RGB LED drivers is t     16   The difference in these RGB LED drivers is the number of supported RGB
 17   modules.                                         17   modules.
 18                                                    18 
 19   For more product information please see the      19   For more product information please see the link below:
 20   https://www.ti.com/lit/ds/symlink/lp5012.pdf     20   https://www.ti.com/lit/ds/symlink/lp5012.pdf
 21   https://www.ti.com/lit/ds/symlink/lp5024.pdf     21   https://www.ti.com/lit/ds/symlink/lp5024.pdf
 22   https://www.ti.com/lit/ds/symlink/lp5036.pdf     22   https://www.ti.com/lit/ds/symlink/lp5036.pdf
 23                                                    23 
 24 properties:                                        24 properties:
 25   compatible:                                      25   compatible:
 26     enum:                                          26     enum:
 27       - ti,lp5009                                  27       - ti,lp5009
 28       - ti,lp5012                                  28       - ti,lp5012
 29       - ti,lp5018                                  29       - ti,lp5018
 30       - ti,lp5024                                  30       - ti,lp5024
 31       - ti,lp5030                                  31       - ti,lp5030
 32       - ti,lp5036                                  32       - ti,lp5036
 33                                                    33 
 34   reg:                                             34   reg:
 35     maxItems: 1                                    35     maxItems: 1
 36     description:                                   36     description:
 37       I2C slave address                            37       I2C slave address
 38       lp5009/12 - 0x14, 0x15, 0x16, 0x17           38       lp5009/12 - 0x14, 0x15, 0x16, 0x17
 39       lp5018/24 - 0x28, 0x29, 0x2a, 0x2b           39       lp5018/24 - 0x28, 0x29, 0x2a, 0x2b
 40       lp5030/36 - 0x30, 0x31, 0x32, 0x33           40       lp5030/36 - 0x30, 0x31, 0x32, 0x33
 41                                                    41 
 42   enable-gpios:                                    42   enable-gpios:
 43     maxItems: 1                                    43     maxItems: 1
 44     description: GPIO pin to enable/disable th     44     description: GPIO pin to enable/disable the device.
 45                                                    45 
 46   vled-supply:                                     46   vled-supply:
 47     description: LED supply.                       47     description: LED supply.
 48                                                    48 
 49   '#address-cells':                                49   '#address-cells':
 50     const: 1                                       50     const: 1
 51                                                    51 
 52   '#size-cells':                                   52   '#size-cells':
 53     const: 0                                       53     const: 0
 54                                                    54 
 55 patternProperties:                                 55 patternProperties:
 56   '^multi-led@[0-9a-f]$':                          56   '^multi-led@[0-9a-f]$':
 57     type: object                                   57     type: object
 58     $ref: leds-class-multicolor.yaml#              58     $ref: leds-class-multicolor.yaml#
 59     unevaluatedProperties: false                   59     unevaluatedProperties: false
 60                                                    60 
 61     properties:                                    61     properties:
 62       reg:                                         62       reg:
 63         minItems: 1                                63         minItems: 1
 64         maxItems: 12                               64         maxItems: 12
 65         description:                               65         description:
 66           This property denotes the LED module     66           This property denotes the LED module number(s) that is used on the
 67           for the child node.  The LED modules     67           for the child node.  The LED modules can either be used stand alone
 68           or grouped into a module bank.           68           or grouped into a module bank.
 69                                                    69 
 70       '#address-cells':                            70       '#address-cells':
 71         const: 1                                   71         const: 1
 72                                                    72 
 73       '#size-cells':                               73       '#size-cells':
 74         const: 0                                   74         const: 0
 75                                                    75 
 76     patternProperties:                             76     patternProperties:
 77       "^led@[0-9a-f]+$":                           77       "^led@[0-9a-f]+$":
 78         type: object                               78         type: object
 79         $ref: common.yaml#                         79         $ref: common.yaml#
 80         unevaluatedProperties: false           << 
 81                                                << 
 82         properties:                            << 
 83           reg:                                 << 
 84             maxItems: 1                        << 
 85                                                << 
 86         required:                              << 
 87           - reg                                << 
 88                                                    80 
 89 required:                                          81 required:
 90   - compatible                                     82   - compatible
 91   - reg                                            83   - reg
 92                                                    84 
 93 additionalProperties: false                        85 additionalProperties: false
 94                                                    86 
 95 examples:                                          87 examples:
 96   - |                                              88   - |
 97     #include <dt-bindings/gpio/gpio.h>             89     #include <dt-bindings/gpio/gpio.h>
 98     #include <dt-bindings/leds/common.h>           90     #include <dt-bindings/leds/common.h>
 99                                                    91 
100     i2c {                                          92     i2c {
101         #address-cells = <1>;                      93         #address-cells = <1>;
102         #size-cells = <0>;                         94         #size-cells = <0>;
103                                                    95 
104         led-controller@14 {                        96         led-controller@14 {
105             compatible = "ti,lp5009";              97             compatible = "ti,lp5009";
106             reg = <0x14>;                          98             reg = <0x14>;
107             #address-cells = <1>;                  99             #address-cells = <1>;
108             #size-cells = <0>;                    100             #size-cells = <0>;
109             enable-gpios = <&gpio1 16>;           101             enable-gpios = <&gpio1 16>;
110                                                   102 
111             multi-led@1 {                         103             multi-led@1 {
112                 #address-cells = <1>;             104                 #address-cells = <1>;
113                 #size-cells = <0>;                105                 #size-cells = <0>;
114                 reg = <0x1>;                      106                 reg = <0x1>;
115                 color = <LED_COLOR_ID_RGB>;       107                 color = <LED_COLOR_ID_RGB>;
116                 function = LED_FUNCTION_CHARGI    108                 function = LED_FUNCTION_CHARGING;
117                                                   109 
118                 led@0 {                           110                 led@0 {
119                      reg = <0x0>;                 111                      reg = <0x0>;
120                      color = <LED_COLOR_ID_RED    112                      color = <LED_COLOR_ID_RED>;
121                 };                                113                 };
122                                                   114 
123                 led@1 {                           115                 led@1 {
124                      reg = <0x1>;                 116                      reg = <0x1>;
125                      color = <LED_COLOR_ID_GRE    117                      color = <LED_COLOR_ID_GREEN>;
126                 };                                118                 };
127                                                   119 
128                 led@2 {                           120                 led@2 {
129                      reg = <0x2>;                 121                      reg = <0x2>;
130                      color = <LED_COLOR_ID_BLU    122                      color = <LED_COLOR_ID_BLUE>;
131                 };                                123                 };
132             };                                    124             };
133                                                   125 
134             multi-led@3 {                         126             multi-led@3 {
135                 #address-cells = <1>;             127                 #address-cells = <1>;
136                 #size-cells = <0>;                128                 #size-cells = <0>;
137                 reg = <0x3>, <0x4>, <0x5>;        129                 reg = <0x3>, <0x4>, <0x5>;
138                 color = <LED_COLOR_ID_RGB>;       130                 color = <LED_COLOR_ID_RGB>;
139                 function = LED_FUNCTION_STANDB    131                 function = LED_FUNCTION_STANDBY;
140                                                   132 
141                 led@3 {                           133                 led@3 {
142                     reg = <0x3>;                  134                     reg = <0x3>;
143                     color = <LED_COLOR_ID_RED>    135                     color = <LED_COLOR_ID_RED>;
144                 };                                136                 };
145                                                   137 
146                 led@4 {                           138                 led@4 {
147                     reg = <0x4>;                  139                     reg = <0x4>;
148                     color = <LED_COLOR_ID_GREE    140                     color = <LED_COLOR_ID_GREEN>;
149                 };                                141                 };
150                                                   142 
151                 led@5 {                           143                 led@5 {
152                     reg = <0x5>;                  144                     reg = <0x5>;
153                     color = <LED_COLOR_ID_BLUE    145                     color = <LED_COLOR_ID_BLUE>;
154                 };                                146                 };
155             };                                    147             };
156         };                                        148         };
157     };                                            149     };
158                                                   150 
159 ...                                               151 ...
                                                      

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