Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: backlight: rt4831: Add the new ocp level property

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

authored by

ChiYuan Huang and committed by
Lee Jones
27e5c654 31231092

+5
+5
Documentation/devicetree/bindings/leds/backlight/richtek,rt4831-backlight.yaml
··· 47 47 minimum: 0 48 48 maximum: 3 49 49 50 + richtek,bled-ocp-microamp: 51 + description: | 52 + Backlight over current protection level. 53 + enum: [900000, 1200000, 1500000, 1800000] 54 + 50 55 richtek,channel-use: 51 56 description: | 52 57 Backlight LED channel to be used.