Re: [RESEND PATCH v6 3/5] pwm-backlight: add support for PWM delays proprieties.
From: Lee Jones
Date: Tue Apr 03 2018 - 05:19:20 EST
On Wed, 28 Mar 2018, Enric Balletbo i Serra wrote:
> Some panels (i.e. N116BGE-L41), in their power sequence specifications,
> request a delay between set the PWM signal and enable the backlight and
> between clear the PWM signal and disable the backlight. Add support for
> the new post-pwm-on-delay-ms and pwm-off-delay-ms proprieties to meet
> the timings.
>
> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>
> Acked-by: Pavel Machek <pavel@xxxxxx>
> Acked-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>
> Acked-by: Jingoo Han <jingoohan1@xxxxxxxxx>
> Acked-by: Thierry Reding <thierry.reding@xxxxxxxxx>
> ---
> Changes since v5:
> - Add Acked-by: Thierry Reding <thierry.reding@xxxxxxxxx>
> Changes since v4:
> - Rebased on top of mainline.
> - Added the acks from Pavel Machek, Daniel thompson and Jingoo Han
> Changes since v3:
> - Use two named members instead of pwm_delay[] (Daniel and Pavel)
> - Use msleep instead of usleep_range. (Pavel)
> Changes since v2:
> - Move the pwm/enable sequence to another patch (Thierry Reding)
> Changes since v1:
> - As suggested by Daniel Thompson
> - Do not assume power-on delay and power-off delay will be the same
> - Move the check of dt property to the parse dt function.
> ---
> drivers/video/backlight/pwm_bl.c | 19 +++++++++++++++++++
> include/linux/pwm_backlight.h | 2 ++
> 2 files changed, 21 insertions(+)
Applied, thanks.
--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog