]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: ti-sn65dsi86: Implement the pwm_chip
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 25 Oct 2021 17:09:25 +0000 (10:09 -0700)
committerRobert Foss <robert.foss@linaro.org>
Wed, 27 Oct 2021 15:02:33 +0000 (17:02 +0200)
commit442ae408d766a97da3c728c6232c9e300cf79c97
tree94dc0210818670c94b6d06368cb513915dc36c72
parente491686a6d6eb5d918953321dd62fbc9314f1b33
drm/bridge: ti-sn65dsi86: Implement the pwm_chip

The SN65DSI86 provides the ability to supply a PWM signal on GPIO 4,
with the primary purpose of controlling the backlight of the attached
panel. Add an implementation that exposes this using the standard PWM
framework, to allow e.g. pwm-backlight to expose this to the user.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211025170925.3096444-3-bjorn.andersson@linaro.org
drivers/gpu/drm/bridge/ti-sn65dsi86.c