File tree Expand file tree Collapse file tree 1 file changed +56
-3
lines changed
Documentation/devicetree/bindings/leds/backlight Expand file tree Collapse file tree 1 file changed +56
-3
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,21 @@ properties:
21
21
- qcom,pm8941-wled
22
22
- qcom,pmi8998-wled
23
23
- qcom,pm660l-wled
24
+ - qcom,pm8150l-wled
24
25
25
26
reg :
26
27
maxItems : 1
27
28
28
29
default-brightness :
29
30
description : |
30
31
brightness value on boot.
31
- minimum : 0
32
- maximum : 4095
33
- default : 2048
34
32
35
33
label : true
36
34
35
+ max-brightness :
36
+ description : |
37
+ Maximum brightness level.
38
+
37
39
qcom,cs-out :
38
40
description : |
39
41
enable current sink output.
@@ -141,6 +143,31 @@ properties:
141
143
- const : ovp
142
144
- const : short
143
145
146
+ qcom,modulator-sel :
147
+ description : |
148
+ Selects the modulator used for brightness modulation.
149
+ Allowed values are,
150
+ 0 - Modulator A
151
+ 1 - Modulator B
152
+ This property is applicable only to WLED5 peripheral.
153
+ allOf :
154
+ - $ref : /schemas/types.yaml#/definitions/uint32
155
+ - enum : [ 0, 1 ]
156
+ - default : 0
157
+
158
+ qcom,cabc-sel :
159
+ description : |
160
+ Selects the CABC pin signal used for brightness modulation.
161
+ Allowed values are,
162
+ 0 - CABC disabled
163
+ 1 - CABC 1
164
+ 2 - CABC 2
165
+ 3 - External signal (e.g. LPG) is used for dimming
166
+ This property is applicable only to WLED5 peripheral.
167
+ allOf :
168
+ - $ref : /schemas/types.yaml#/definitions/uint32
169
+ - enum : [ 0, 1, 2, 3 ]
170
+
144
171
allOf :
145
172
- if :
146
173
properties :
@@ -183,6 +210,32 @@ allOf:
183
210
184
211
interrupt-names :
185
212
minItems : 2
213
+ - if :
214
+ properties :
215
+ compatible :
216
+ contains :
217
+ enum :
218
+ - qcom,pm8150l-wled
219
+
220
+ then :
221
+ properties :
222
+ default-brightness :
223
+ minimum : 0
224
+ maximum : 32767
225
+
226
+ max-brightness :
227
+ minimum : 0
228
+ maximum : 32767
229
+
230
+ else :
231
+ properties :
232
+ default-brightness :
233
+ minimum : 0
234
+ maximum : 4095
235
+
236
+ max-brightness :
237
+ minimum : 0
238
+ maximum : 4095
186
239
187
240
required :
188
241
- compatible
You can’t perform that action at this time.
0 commit comments