aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-ntxec.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-03-10pwm: ntxec: Add driver for PWM function in Netronix ECJonathan Neuschäfer1-0/+184
The Netronix EC provides a PWM output which is used for the backlight on some ebook readers. This patches adds a driver for the PWM output. The .get_state callback is not implemented, because the PWM state can't be read back from the hardware. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Thierry Reding <thierry.reding@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>