dt-bindings: backlight: rt4831: Add the new ocp level property
authorChiYuan Huang <cy_huang@richtek.com>
Tue, 21 Jun 2022 10:36:27 +0000 (18:36 +0800)
committerLee Jones <lee.jones@linaro.org>
Mon, 27 Jun 2022 14:07:07 +0000 (15:07 +0100)
Add 'richtek,bled-ocp-microamp' property to make it chooseable.

The wrong backlight ocp level may affect the backlight channel output
current smaller than configured.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/1655807788-24511-2-git-send-email-u0084500@gmail.com
Documentation/devicetree/bindings/leds/backlight/richtek,rt4831-backlight.yaml

index e0ac686..99e9e13 100644 (file)
@@ -47,6 +47,11 @@ properties:
     minimum: 0
     maximum: 3
 
+  richtek,bled-ocp-microamp:
+    description: |
+      Backlight over current protection level.
+    enum: [900000, 1200000, 1500000, 1800000]
+
   richtek,channel-use:
     description: |
       Backlight LED channel to be used.