Lines Matching +full:multi +full:- +full:led

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-qcom-lpg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
20 - enum:
21 - qcom,pm660l-lpg
22 - qcom,pm8150b-lpg
23 - qcom,pm8150l-lpg
24 - qcom,pm8350c-pwm
25 - qcom,pm8916-pwm
26 - qcom,pm8941-lpg
27 - qcom,pm8994-lpg
28 - qcom,pmc8180c-lpg
29 - qcom,pmi632-lpg
30 - qcom,pmi8950-pwm
31 - qcom,pmi8994-lpg
32 - qcom,pmi8998-lpg
33 - qcom,pmk8550-pwm
34 - items:
35 - enum:
36 - qcom,pm6150l-lpg
37 - const: qcom,pm8150l-lpg
38 - items:
39 - enum:
40 - qcom,pm8550-pwm
41 - const: qcom,pm8350c-pwm
43 "#pwm-cells":
46 "#address-cells":
49 "#size-cells":
52 qcom,power-source:
55 power-source used to drive the output, as defined in the datasheet.
60 $ref: /schemas/types.yaml#/definitions/uint32-matrix
68 - description: dtest line to attach
69 - description: flags for the attachment
74 PMIC stores LPG per-channel data and pattern LUT in SDAM modules instead
75 of in a LUT peripheral. For PMICs, such as PM8350C, per-channel data
81 nvmem-names:
84 - const: lpg_chan_sdam
85 - const: lut_sdam
94 multi-led:
96 $ref: leds-class-multicolor.yaml#
100 "#address-cells":
103 "#size-cells":
107 "^led@[0-9a-f]$":
117 - reg
120 "^led@[0-9a-f]$":
130 - reg
133 - compatible
138 - if:
143 - qcom,pm660l-lpg
144 - qcom,pm8150b-lpg
145 - qcom,pm8150l-lpg
146 - qcom,pm8916-pwm
147 - qcom,pm8941-lpg
148 - qcom,pm8994-lpg
149 - qcom,pmc8180c-lpg
150 - qcom,pmi8950-pwm
151 - qcom,pmi8994-lpg
152 - qcom,pmi8998-lpg
153 - qcom,pmk8550-pwm
157 nvmem-names: false
159 - if:
163 const: qcom,pmi632-lpg
168 nvmem-names:
171 - if:
176 - qcom,pm8350c-pwm
181 nvmem-names:
185 - |
186 #include <dt-bindings/leds/common.h>
188 led-controller {
189 compatible = "qcom,pmi8994-lpg";
191 #address-cells = <1>;
192 #size-cells = <0>;
194 qcom,power-source = <1>;
201 led@1 {
205 function-enumerator = <1>;
208 led@2 {
212 function-enumerator = <0>;
213 default-state = "on";
216 led@3 {
220 function-enumerator = <2>;
223 led@4 {
227 function-enumerator = <3>;
230 - |
231 #include <dt-bindings/leds/common.h>
233 led-controller {
234 compatible = "qcom,pmi8994-lpg";
236 #address-cells = <1>;
237 #size-cells = <0>;
239 qcom,power-source = <1>;
241 multi-led {
245 #address-cells = <1>;
246 #size-cells = <0>;
248 led@1 {
253 led@2 {
258 led@3 {
264 - |
265 pwm-controller {
266 compatible = "qcom,pm8916-pwm";
267 #pwm-cells = <2>;
269 - |
270 #include <dt-bindings/leds/common.h>
272 led-controller {
273 compatible = "qcom,pmi632-lpg";
274 #address-cells = <1>;
275 #size-cells = <0>;
276 #pwm-cells = <2>;
277 nvmem-names = "lpg_chan_sdam";
281 led@1 {
287 led@2 {
293 led@3 {