]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ARM: dts: rockchip: Use interpolated brightness tables for veyron
authorMatthias Kaehlcke <mka@chromium.org>
Thu, 3 Oct 2019 16:41:52 +0000 (09:41 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 10 Oct 2019 21:23:17 +0000 (23:23 +0200)
commit6233269bce47bd450196a671ab28eb1ec5eb88d9
treee694d39d3fd9620316b416ac7f42f850e146784a
parentcee0534a08d0ccc07b4e4405d77c5c9da78a4fa9
ARM: dts: rockchip: Use interpolated brightness tables for veyron

Use interpolated brightness tables (added by commit 573fe6d1c25
("backlight: pwm_bl: Linear interpolation between
brightness-levels") for veyron, instead of specifying every single
step. Some devices/panels have intervals that are smaller than
the specified 'num-interpolated-steps', the driver interprets
these intervals as a single step.

Another option would be to switch to a perceptual brightness curve
(CIE 1931), with the caveat that it would change the behavior of
the backlight. Also the concept of a minimum brightness level is
currently not supported for CIE 1931 curves.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20191003094137.v2.1.Ic9fd698810ea569c465350154da40b85d24f805b@changeid
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-veyron-edp.dtsi
arch/arm/boot/dts/rk3288-veyron-jaq.dts
arch/arm/boot/dts/rk3288-veyron-minnie.dts
arch/arm/boot/dts/rk3288-veyron-tiger.dts