[RESEND PATCH v5 3/5] pwm-backlight: add support for PWM delays proprieties.
Thierry Reding
thierry.reding at gmail.com
Mon Mar 19 09:59:22 PDT 2018
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 at collabora.com>
> Acked-by: Pavel Machek <pavel at ucw.cz>
> Acked-by: Daniel Thompson <daniel.thompson at linaro.org>
> Acked-by: Jingoo Han <jingoohan1 at gmail.com>
> ---
> 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 at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20180319/380cb528/attachment.sig>
More information about the Linux-rockchip
mailing list