Lines Matching +full:led +full:- +full:controller

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-mt6360.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LED driver for MT6360 PMIC from MediaTek Integrated.
10 - Gene Chen <gene_chen@richtek.com>
15 Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode,
16 and 4-channel RGB LED support Register/Flash/Breath Mode
20 const: mediatek,mt6360-led
22 "#address-cells":
25 "#size-cells":
29 "^(multi-)?led@[0-5]$":
33 Properties for a single LED.
37 description: Index of the LED.
39 - 0 # LED output ISINK1
40 - 1 # LED output ISINK2
41 - 2 # LED output ISINK3
42 - 3 # LED output ISINKML
43 - 4 # LED output FLASH1
44 - 5 # LED output FLASH2
47 - compatible
48 - "#address-cells"
49 - "#size-cells"
54 - |
55 #include <dt-bindings/leds/common.h>
56 led-controller {
57 compatible = "mediatek,mt6360-led";
58 #address-cells = <1>;
59 #size-cells = <0>;
61 multi-led@0 {
65 led-max-microamp = <24000>;
66 #address-cells = <1>;
67 #size-cells = <0>;
68 led@0 {
72 led@1 {
76 led@2 {
81 led@3 {
85 led-max-microamp = <150000>;
87 led@4 {
91 function-enumerator = <1>;
92 led-max-microamp = <200000>;
93 flash-max-microamp = <500000>;
94 flash-max-timeout-us = <1024000>;
96 led@5 {
100 function-enumerator = <2>;
101 led-max-microamp = <200000>;
102 flash-max-microamp = <500000>;
103 flash-max-timeout-us = <1024000>;
107 - |
109 led-controller {
110 compatible = "mediatek,mt6360-led";
111 #address-cells = <1>;
112 #size-cells = <0>;
114 led@0 {
118 led-max-microamp = <24000>;
120 led@1 {
124 led-max-microamp = <24000>;
126 led@2 {
130 led-max-microamp = <24000>;
132 led@3 {
136 led-max-microamp = <150000>;
138 led@4 {
142 function-enumerator = <1>;
143 led-max-microamp = <200000>;
144 flash-max-microamp = <500000>;
145 flash-max-timeout-us = <1024000>;
147 led@5 {
151 function-enumerator = <2>;
152 led-max-microamp = <200000>;
153 flash-max-microamp = <500000>;
154 flash-max-timeout-us = <1024000>;