]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: rockchip: set PWM delay backlight settings for Veyron
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Wed, 28 Mar 2018 17:03:26 +0000 (19:03 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 16 Apr 2018 12:13:04 +0000 (14:13 +0200)
For veyron the binding should provide both PWM timings, the delay between
you enable the PWM and set the enable signal, and the delay between you
disable the PWM signal and clear the enable signal. Update the binding
accordingly, in this case the panels connected to the veyron boards have
a symmetric power sequence, hence the same value is used.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi

index be487111d0252ece0b27c324dab7a1b2bad94b95..b16d570ff029b74da108fa1df3d0d60e1c314953 100644 (file)
@@ -95,7 +95,8 @@ backlight: backlight {
                pinctrl-names = "default";
                pinctrl-0 = <&bl_en>;
                pwms = <&pwm0 0 1000000 0>;
-               pwm-delay-us = <10000>;
+               post-pwm-on-delay-ms = <10>;
+               pwm-off-delay-ms = <10>;
        };
 
        gpio-charger {