Lines Matching +full:com +full:- +full:mode
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#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
18 https://www.ti.com/lit/gpn/lp5521
19 https://www.ti.com/lit/gpn/lp5523
20 https://www.ti.com/lit/gpn/lp55231
21 https://www.ti.com/lit/gpn/lp5562
22 https://www.ti.com/lit/gpn/lp8501
27 - national,lp5521
28 - national,lp5523
29 - ti,lp55231
30 - ti,lp5562
31 - ti,lp8501
37 clock-mode:
40 Input clock mode
42 - 0 # automode
43 - 1 # internal
44 - 2 # external
46 enable-gpios:
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':
66 '#size-cells':
69 ti,charge-pump-mode:
71 Set the operating mode of the internal charge pump as defined in
72 <dt-bindings/leds/leds-lp55xx.h>.
78 '^multi-led@[0-8]$':
80 $ref: leds-class-multicolor.yaml#
87 '#address-cells':
90 '#size-cells':
94 "^led@[0-8]$":
100 led-cur:
107 max-cur:
115 - reg
117 "^led@[0-8]$":
123 led-cur:
130 max-cur:
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>;
180 chan-name = "d1";
181 led-cur = /bits/ 8 <0x14>;
182 max-cur = /bits/ 8 <0x20>;
187 chan-name = "d2";
188 led-cur = /bits/ 8 <0x14>;
189 max-cur = /bits/ 8 <0x20>;
194 chan-name = "d3";
195 led-cur = /bits/ 8 <0x14>;
196 max-cur = /bits/ 8 <0x20>;
201 chan-name = "d4";
202 led-cur = /bits/ 8 <0x14>;
203 max-cur = /bits/ 8 <0x20>;
208 chan-name = "d5";
209 led-cur = /bits/ 8 <0x14>;
210 max-cur = /bits/ 8 <0x20>;
215 chan-name = "d6";
216 led-cur = /bits/ 8 <0x14>;
217 max-cur = /bits/ 8 <0x20>;
222 chan-name = "d7";
223 led-cur = /bits/ 8 <0x14>;
224 max-cur = /bits/ 8 <0x20>;
229 chan-name = "d8";
230 led-cur = /bits/ 8 <0x14>;
231 max-cur = /bits/ 8 <0x20>;
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";
258 led-cur = /bits/ 8 <50>;
259 max-cur = /bits/ 8 <100>;
265 led-cur = /bits/ 8 <50>;
266 max-cur = /bits/ 8 <100>;
272 led-cur = /bits/ 8 <50>;
273 max-cur = /bits/ 8 <100>;