Lines Matching +full:led +full:- +full:1

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,lp8501
34 maxItems: 1
37 clock-mode:
42 - 0 # automode
43 - 1 # internal
44 - 2 # external
46 enable-gpios:
47 maxItems: 1
53 pwr-sel:
58 - 0 # D1~9 are connected to VDD
59 - 1 # D1~6 with VDD, D7~9 with VOUT
60 - 2 # D1~6 with VOUT, D7~9 with VDD
61 - 3 # D1~9 are connected to VOUT
63 '#address-cells':
64 const: 1
66 '#size-cells':
69 ti,charge-pump-mode:
72 <dt-bindings/leds/leds-lp55xx.h>.
78 '^multi-led@[0-8]$':
80 $ref: leds-class-multicolor.yaml#
87 '#address-cells':
88 const: 1
90 '#size-cells':
94 "^led@[0-8]$":
100 led-cur:
103 Current setting at each LED channel (mA x10, 0 if LED is not connected)
107 max-cur:
109 description: Maximum current at each LED channel.
115 - reg
117 "^led@[0-8]$":
123 led-cur:
126 Current setting at each LED channel (mA x10, 0 if LED is not connected)
130 max-cur:
132 description: Maximum current at each LED channel.
136 Output channel for the LED. This is zero based channel identifier and
138 reg value to output to LED output number
140 - 0 # LED output D1
141 - 1 # LED output D2
142 - 2 # LED output D3
143 - 3 # LED output D4
144 - 4 # LED output D5
145 - 5 # LED output D6
146 - 6 # LED output D7
147 - 7 # LED output D8
148 - 8 # LED output D9
150 chan-name:
155 - compatible
156 - reg
161 - |
162 #include <dt-bindings/leds/common.h>
163 #include <dt-bindings/leds/leds-lp55xx.h>
166 #address-cells = <1>;
167 #size-cells = <0>;
169 led-controller@32 {
170 #address-cells = <1>;
171 #size-cells = <0>;
174 clock-mode = /bits/ 8 <2>;
175 pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */
176 ti,charge-pump-mode = <LP55XX_CP_BYPASS>;
178 led@0 {
180 chan-name = "d1";
181 led-cur = /bits/ 8 <0x14>;
182 max-cur = /bits/ 8 <0x20>;
185 led@1 {
186 reg = <1>;
187 chan-name = "d2";
188 led-cur = /bits/ 8 <0x14>;
189 max-cur = /bits/ 8 <0x20>;
192 led@2 {
194 chan-name = "d3";
195 led-cur = /bits/ 8 <0x14>;
196 max-cur = /bits/ 8 <0x20>;
199 led@3 {
201 chan-name = "d4";
202 led-cur = /bits/ 8 <0x14>;
203 max-cur = /bits/ 8 <0x20>;
206 led@4 {
208 chan-name = "d5";
209 led-cur = /bits/ 8 <0x14>;
210 max-cur = /bits/ 8 <0x20>;
213 led@5 {
215 chan-name = "d6";
216 led-cur = /bits/ 8 <0x14>;
217 max-cur = /bits/ 8 <0x20>;
220 led@6 {
222 chan-name = "d7";
223 led-cur = /bits/ 8 <0x14>;
224 max-cur = /bits/ 8 <0x20>;
227 led@7 {
229 chan-name = "d8";
230 led-cur = /bits/ 8 <0x14>;
231 max-cur = /bits/ 8 <0x20>;
234 led@8 {
236 chan-name = "d9";
237 led-cur = /bits/ 8 <0x14>;
238 max-cur = /bits/ 8 <0x20>;
242 led-controller@33 {
243 #address-cells = <1>;
244 #size-cells = <0>;
247 clock-mode = /bits/ 8 <0>;
249 multi-led@2 {
250 #address-cells = <1>;
251 #size-cells = <0>;
255 linux,default-trigger = "heartbeat";
257 led@0 {
258 led-cur = /bits/ 8 <50>;
259 max-cur = /bits/ 8 <100>;
264 led@1 {
265 led-cur = /bits/ 8 <50>;
266 max-cur = /bits/ 8 <100>;
271 led@6 {
272 led-cur = /bits/ 8 <50>;
273 max-cur = /bits/ 8 <100>;