aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rk3288-veyron-minnie.dts
diff options
context:
space:
mode:
authorAlexandru Stan <amstan@chromium.org>2020-10-21 22:04:43 -0700
committerHeiko Stuebner <heiko@sntech.de>2020-11-01 12:35:52 +0100
commit225c59b9235a421cdb219be5fbc13126a49714a6 (patch)
treec5c4674a4f5ac22318ec95d448ae8020dcafa57a /arch/arm/boot/dts/rk3288-veyron-minnie.dts
parentLinux 5.10-rc1 (diff)
downloadlinux-dev-225c59b9235a421cdb219be5fbc13126a49714a6.tar.xz
linux-dev-225c59b9235a421cdb219be5fbc13126a49714a6.zip
ARM: dts: rockchip: Remove 0 point from brightness-levels on rk3288-veyron
The extra 0 only adds one point in the userspace visible range, so this change is almost a noop with the current driver behavior. We don't need the 0% point, userspace seems to handle this just fine because it uses the bl_power property to turn off the display. Furthermore after adding "backlight: pwm_bl: Fix interpolation" patch, the backlight interpolation will work a little differently. So we need to preemptively remove the 0-3 segment since otherwise we would have a 252 long interpolation that would slowly go between 0 and 3, looking really bad in userspace. So it's almost a noop/cleanup now, but it will be required in the future. Signed-off-by: Alexandru Stan <amstan@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Acked-by: Daniel Thompson <daniel.thompson@linaro.org> Link: https://lore.kernel.org/r/20201021220404.v3.1.I96b8d872ec51171f19274e43e96cadc092881271@changeid Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3288-veyron-minnie.dts')
-rw-r--r--arch/arm/boot/dts/rk3288-veyron-minnie.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/rk3288-veyron-minnie.dts b/arch/arm/boot/dts/rk3288-veyron-minnie.dts
index f8b69e0a16a0..82fc6fba9999 100644
--- a/arch/arm/boot/dts/rk3288-veyron-minnie.dts
+++ b/arch/arm/boot/dts/rk3288-veyron-minnie.dts
@@ -39,7 +39,7 @@
&backlight {
/* Minnie panel PWM must be >= 1%, so start non-zero brightness at 3 */
- brightness-levels = <0 3 255>;
+ brightness-levels = <3 255>;
num-interpolated-steps = <252>;
};