Skip to content

Commit 0203106

Browse files
barni2000lag-linaro
authored andcommitted
dt-bindings: backlight: qcom-wled: Document ovp values for PMI8994
Document ovp values supported by wled found in PMI8994. Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org> Link: https://patch.msgid.link/20260116-pmi8950-wled-v3-1-e6c93de84079@mainlining.org Signed-off-by: Lee Jones <lee@kernel.org>
1 parent b7db7d9 commit 0203106

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ properties:
9898
description: |
9999
Over-voltage protection limit. This property is for WLED4 only.
100100
$ref: /schemas/types.yaml#/definitions/uint32
101-
enum: [ 18100, 19600, 29600, 31100 ]
102-
default: 29600
101+
minimum: 17800
102+
maximum: 31100
103103

104104
qcom,num-strings:
105105
description: |
@@ -239,6 +239,24 @@ allOf:
239239
minimum: 0
240240
maximum: 4095
241241

242+
- if:
243+
properties:
244+
compatible:
245+
contains:
246+
const: qcom,pmi8994-wled
247+
248+
then:
249+
properties:
250+
qcom,ovp-millivolt:
251+
enum: [ 17800, 19400, 29500, 31000 ]
252+
default: 29500
253+
254+
else:
255+
properties:
256+
qcom,ovp-millivolt:
257+
enum: [ 18100, 19600, 29600, 31100 ]
258+
default: 29600
259+
242260
required:
243261
- compatible
244262
- reg

0 commit comments

Comments
 (0)