Lines Matching +full:led +full:- +full:4

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-lp55xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI/National Semiconductor LP55xx and LP8501 LED Drivers
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
15 LED Drivers.
27 - national,lp5521
28 - national,lp5523
29 - ti,lp55231
30 - ti,lp5562
31 - ti,lp5569
32 - ti,lp8501
38 clock-mode:
43 - 0 # automode
44 - 1 # internal
45 - 2 # external
47 enable-gpios:
54 pwr-sel:
59 - 0 # D1~9 are connected to VDD
60 - 1 # D1~6 with VDD, D7~9 with VOUT
61 - 2 # D1~6 with VOUT, D7~9 with VDD
62 - 3 # D1~9 are connected to VOUT
64 '#address-cells':
67 '#size-cells':
70 ti,charge-pump-mode:
73 <dt-bindings/leds/leds-lp55xx.h>.
79 '^multi-led@[0-8]$':
81 $ref: leds-class-multicolor.yaml#
88 '#address-cells':
91 '#size-cells':
95 "^led@[0-8]$":
101 led-cur:
104 Current setting at each LED channel (mA x10, 0 if LED is not connected)
108 max-cur:
110 description: Maximum current at each LED channel.
116 - reg
118 "^led@[0-8]$":
124 led-cur:
127 Current setting at each LED channel (mA x10, 0 if LED is not connected)
131 max-cur:
133 description: Maximum current at each LED channel.
137 Output channel for the LED. This is zero based channel identifier and
139 reg value to output to LED output number
141 - 0 # LED output D1
142 - 1 # LED output D2
143 - 2 # LED output D3
144 - 3 # LED output D4
145 - 4 # LED output D5
146 - 5 # LED output D6
147 - 6 # LED output D7
148 - 7 # LED output D8
149 - 8 # LED output D9
151 chan-name:
163 pwr-sel: false
166 - compatible
167 - reg
172 - |
173 #include <dt-bindings/leds/common.h>
174 #include <dt-bindings/leds/leds-lp55xx.h>
177 #address-cells = <1>;
178 #size-cells = <0>;
180 led-controller@32 {
181 #address-cells = <1>;
182 #size-cells = <0>;
185 clock-mode = /bits/ 8 <2>;
186 pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */
187 ti,charge-pump-mode = <LP55XX_CP_BYPASS>;
189 led@0 {
191 chan-name = "d1";
192 led-cur = /bits/ 8 <0x14>;
193 max-cur = /bits/ 8 <0x20>;
196 led@1 {
198 chan-name = "d2";
199 led-cur = /bits/ 8 <0x14>;
200 max-cur = /bits/ 8 <0x20>;
203 led@2 {
205 chan-name = "d3";
206 led-cur = /bits/ 8 <0x14>;
207 max-cur = /bits/ 8 <0x20>;
210 led@3 {
212 chan-name = "d4";
213 led-cur = /bits/ 8 <0x14>;
214 max-cur = /bits/ 8 <0x20>;
217 led@4 {
218 reg = <4>;
219 chan-name = "d5";
220 led-cur = /bits/ 8 <0x14>;
221 max-cur = /bits/ 8 <0x20>;
224 led@5 {
226 chan-name = "d6";
227 led-cur = /bits/ 8 <0x14>;
228 max-cur = /bits/ 8 <0x20>;
231 led@6 {
233 chan-name = "d7";
234 led-cur = /bits/ 8 <0x14>;
235 max-cur = /bits/ 8 <0x20>;
238 led@7 {
240 chan-name = "d8";
241 led-cur = /bits/ 8 <0x14>;
242 max-cur = /bits/ 8 <0x20>;
245 led@8 {
247 chan-name = "d9";
248 led-cur = /bits/ 8 <0x14>;
249 max-cur = /bits/ 8 <0x20>;
253 led-controller@33 {
254 #address-cells = <1>;
255 #size-cells = <0>;
258 clock-mode = /bits/ 8 <0>;
260 multi-led@2 {
261 #address-cells = <1>;
262 #size-cells = <0>;
266 linux,default-trigger = "heartbeat";
268 led@0 {
269 led-cur = /bits/ 8 <50>;
270 max-cur = /bits/ 8 <100>;
275 led@1 {
276 led-cur = /bits/ 8 <50>;
277 max-cur = /bits/ 8 <100>;
282 led@6 {
283 led-cur = /bits/ 8 <50>;
284 max-cur = /bits/ 8 <100>;