Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1689501

[PATCH v3 4/5] ARM: dts: rockchip: set PWM delay backlight settings for Veyron.

From Enric Balletbo i Serra <enric.balletbo@collabora.com>
Newsgroups linux.kernel
Subject [PATCH v3 4/5] ARM: dts: rockchip: set PWM delay backlight settings for Veyron.
Date 2017-07-17 23:30 +0200
Message-ID <u4lKy-1Tb-25@gated-at.bofh.it> (permalink)
References <u4lKx-1Tb-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
Changes since v2:
 - Use new names for proprieties.
Changes since v1:
 - Add this new patch to fix current binding on veyron.

 arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi b/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi
index d752a31..4cef71f 100644
--- a/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi
+++ b/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi
@@ -96,7 +96,8 @@
 		pinctrl-names = "default";
 		pinctrl-0 = <&bl_en>;
 		pwms = <&pwm0 0 1000000 0>;
-		pwm-delay-us = <10000>;
+		post-pwm-on-delay-us = <10000>;
+		pwm-off-delay-us = <10000>;
 	};
 
 	gpio-charger {
-- 
2.9.3

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 1/5] pwm-backlight: enable/disable the PWM before/after LCD enable toggle. Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-07-17 23:30 +0200
  [PATCH v3 3/5] pwm-backlight: add support for PWM delays proprieties. Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-07-17 23:30 +0200
    Re: [PATCH v3 3/5] pwm-backlight: add support for PWM delays  proprieties. Daniel Thompson <daniel.thompson@linaro.org> - 2017-07-18 11:40 +0200
      Re: [PATCH v3 3/5] pwm-backlight: add support for PWM delays  proprieties. Pavel Machek <pavel@ucw.cz> - 2017-07-20 10:10 +0200
        Re: [PATCH v3 3/5] pwm-backlight: add support for PWM delays  proprieties. Daniel Thompson <daniel.thompson@linaro.org> - 2017-07-20 12:40 +0200
          Re: [PATCH v3 3/5] pwm-backlight: add support for PWM delays  proprieties. Pavel Machek <pavel@ucw.cz> - 2017-07-20 13:10 +0200
  [PATCH v3 4/5] ARM: dts: rockchip: set PWM delay backlight settings for Veyron. Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-07-17 23:30 +0200
  [PATCH v3 2/5] dt-bindings: pwm-backlight: add PWM delay proprieties. Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-07-17 23:30 +0200
    Re: [PATCH v3 2/5] dt-bindings: pwm-backlight: add PWM delay  proprieties. Pavel Machek <pavel@ucw.cz> - 2017-07-20 10:10 +0200
  Re: [PATCH v3 1/5] pwm-backlight: enable/disable the PWM before/after  LCD enable toggle. Daniel Thompson <daniel.thompson@linaro.org> - 2017-07-18 11:40 +0200

csiph-web