File tree Expand file tree Collapse file tree 1 file changed +81
-0
lines changed
Documentation/devicetree/bindings/leds Expand file tree Collapse file tree 1 file changed +81
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
+ %YAML 1.2
3
+ ---
4
+ $id : http://devicetree.org/schemas/leds/mediatek,mt6370-indicator.yaml#
5
+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6
+
7
+ title : LED driver for MT6370 PMIC from MediaTek Integrated.
8
+
9
+ maintainers :
10
+ - Alice Chen <alice_chen@richtek.com>
11
+
12
+ description : |
13
+ This module is part of the MT6370 MFD device.
14
+ Add MT6370 LED driver include 4-channel RGB LED support Register/PWM/Breath Mode
15
+
16
+ allOf :
17
+ - $ref : leds-class-multicolor.yaml#
18
+
19
+ properties :
20
+ compatible :
21
+ const : mediatek,mt6370-indicator
22
+
23
+ " #address-cells " :
24
+ const : 1
25
+
26
+ " #size-cells " :
27
+ const : 0
28
+
29
+ patternProperties :
30
+ " ^multi-led@[0-3]$ " :
31
+ type : object
32
+
33
+ properties :
34
+ reg :
35
+ enum : [0, 1, 2, 3]
36
+
37
+ " #address-cells " :
38
+ const : 1
39
+
40
+ " #size-cells " :
41
+ const : 0
42
+
43
+ patternProperties :
44
+ " ^led@[0-2]$ " :
45
+ type : object
46
+ $ref : common.yaml#
47
+ unevaluatedProperties : false
48
+
49
+ properties :
50
+ reg :
51
+ enum : [0, 1, 2]
52
+
53
+ required :
54
+ - reg
55
+ - color
56
+
57
+ required :
58
+ - reg
59
+ - color
60
+ - " #address-cells"
61
+ - " #size-cells"
62
+
63
+ " ^led@[0-3]$ " :
64
+ type : object
65
+ $ref : common.yaml#
66
+ unevaluatedProperties : false
67
+
68
+ properties :
69
+ reg :
70
+ enum : [0, 1, 2, 3]
71
+
72
+ required :
73
+ - reg
74
+ - color
75
+
76
+ required :
77
+ - compatible
78
+ - " #address-cells"
79
+ - " #size-cells"
80
+
81
+ additionalProperties : false
You can’t perform that action at this time.
0 commit comments