ARM: dts: imx6qdl-colibri: backlight pwm: Adapt brightness steps
authorMax Krummenacher <max.krummenacher@toradex.com>
Fri, 13 May 2022 10:26:15 +0000 (12:26 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 11 Jun 2022 08:51:06 +0000 (16:51 +0800)
Adapt the brightness steps as the backlight doesn't light up
for very low duty cycles.

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-colibri.dtsi

index 4e6a5f63199f7be03cb80c7cdb9f1f695e8a26cb..31908542e26e31ad5964a4e6e992e3171e9fe930 100644 (file)
@@ -14,8 +14,8 @@
 
        backlight: backlight {
                compatible = "pwm-backlight";
-               brightness-levels = <0 4 8 16 32 64 128 255>;
-               default-brightness-level = <6>;
+               brightness-levels = <0 45 63 88 119 158 203 255>;
+               default-brightness-level = <4>;
                enable-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* Colibri BL_ON */
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gpio_bl_on>;