Lines Matching +full:multi +full:- +full:channel
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>
14 Bindings for the TI/National Semiconductor LP55xx and LP8501 multi channel
27 - national,lp5521
28 - national,lp5523
29 - ti,lp55231
30 - ti,lp5562
31 - ti,lp8501
37 clock-mode:
42 - 0 # automode
43 - 1 # internal
44 - 2 # external
46 enable-gpio:
51 pwr-sel:
56 - 0 # D1~9 are connected to VDD
57 - 1 # D1~6 with VDD, D7~9 with VOUT
58 - 2 # D1~6 with VOUT, D7~9 with VDD
59 - 3 # D1~9 are connected to VOUT
61 '#address-cells':
64 '#size-cells':
68 "(^led@[0-9a-f]$|led)":
72 led-cur:
75 Current setting at each LED channel (mA x10, 0 if LED is not connected)
79 max-cur:
81 description: Maximun current at each LED channel.
85 Output channel for the LED. This is zero based channel identifier and
86 the data sheet is a one based channel identifier.
89 - 0 # LED output D1
90 - 1 # LED output D2
91 - 2 # LED output D3
92 - 3 # LED output D4
93 - 4 # LED output D5
94 - 5 # LED output D6
95 - 6 # LED output D7
96 - 7 # LED output D8
97 - 8 # LED output D9
99 chan-name:
101 description: name of channel
104 - compatible
105 - reg
110 - |
111 #include <dt-bindings/leds/common.h>
114 #address-cells = <1>;
115 #size-cells = <0>;
117 led-controller@32 {
118 #address-cells = <1>;
119 #size-cells = <0>;
122 clock-mode = /bits/ 8 <2>;
123 pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */
127 chan-name = "d1";
128 led-cur = /bits/ 8 <0x14>;
129 max-cur = /bits/ 8 <0x20>;
134 chan-name = "d2";
135 led-cur = /bits/ 8 <0x14>;
136 max-cur = /bits/ 8 <0x20>;
141 chan-name = "d3";
142 led-cur = /bits/ 8 <0x14>;
143 max-cur = /bits/ 8 <0x20>;
148 chan-name = "d4";
149 led-cur = /bits/ 8 <0x14>;
150 max-cur = /bits/ 8 <0x20>;
155 chan-name = "d5";
156 led-cur = /bits/ 8 <0x14>;
157 max-cur = /bits/ 8 <0x20>;
162 chan-name = "d6";
163 led-cur = /bits/ 8 <0x14>;
164 max-cur = /bits/ 8 <0x20>;
169 chan-name = "d7";
170 led-cur = /bits/ 8 <0x14>;
171 max-cur = /bits/ 8 <0x20>;
176 chan-name = "d8";
177 led-cur = /bits/ 8 <0x14>;
178 max-cur = /bits/ 8 <0x20>;
183 chan-name = "d9";
184 led-cur = /bits/ 8 <0x14>;
185 max-cur = /bits/ 8 <0x20>;
189 led-controller@33 {
190 #address-cells = <1>;
191 #size-cells = <0>;
194 clock-mode = /bits/ 8 <0>;
196 multi-led@2 {
197 #address-cells = <1>;
198 #size-cells = <0>;
202 linux,default-trigger = "heartbeat";
205 led-cur = /bits/ 8 <50>;
206 max-cur = /bits/ 8 <100>;
212 led-cur = /bits/ 8 <50>;
213 max-cur = /bits/ 8 <100>;
219 led-cur = /bits/ 8 <50>;
220 max-cur = /bits/ 8 <100>;