aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-ntxec.c
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 <[email protected]> Reviewed-by: Uwe Kleine-König <[email protected]> Acked-by: Thierry Reding <[email protected]> Signed-off-by: Lee Jones <[email protected]>