Re: [RESEND PATCH v5 3/5] pwm-backlight: add support for PWM delays proprieties.

From: Thierry Reding
Date: Mon Mar 19 2018 - 12:59:34 EST


On Fri, Feb 16, 2018 at 06:40:32PM +0100, 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>
> ---
> 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(+)

Acked-by: Thierry Reding <thierry.reding@xxxxxxxxx>

Attachment: signature.asc
Description: PGP signature