dt-bindings: backlight: Add support to configure slew ramp time

Add support to configure slew ramp time for brightness change
by adding a DT property named "qcom,slew-ramp-time".

Change-Id: I1264e120c84cf0f0b339ff883c9de589f058403f
This commit is contained in:
Jishnu Prakash 2021-03-15 15:33:35 +05:30 • committed by Gerrit - the friendly Code Review server
commit 35afa1aabe

View file

@ -174,6 +174,15 @@ platforms. The PMIC is connected to the host processor via SPMI bus.
"qcom,use-exp-dimming" property is set. This feature is supported from
PM7325B onwards.
- qcom,slew-ramp-time
Usage: optional
Value type: <u32>
Definition: Software brightness slew ramp time values in ms. This is supported from
PM7325B onwards.
Valid values are 2, 4, 8, 64, 128, 192, 256, 320, 384, 448, 512, 704, 896,
1024, 2048, 4096.
Default: 256
Following properties are for child subnodes that are needed for WLED preflash
(or torch), flash and switch. These child subnodes can be specified only for
PMICs that has WLED5 (e.g. PM8150L).