aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stmpe.c
Commit message (Collapse)AuthorAgeFilesLines
* pwm: stmpe: Fix wrong register offset for hwpwm=2 caseAxel Lin2017-12-051-1/+1
| | | | | | | | | Fix trivial copy/paste bug. Signed-off-by: Axel Lin <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Fixes: ef1f09eca74a ("pwm: Add a driver for the STMPE PWM") Signed-off-by: Thierry Reding <[email protected]>
* pwm: Add a driver for the STMPE PWMLinus Walleij2016-07-111-0/+319
This adds a driver for the PWM block found in chips of the STMPE 24xx series of multi-purpose I2C expanders. (I think STMPE means ST Microelectronics Multi-Purpose Expander.) This PWM was designed in accordance with Nokia specifications and is kind of weird and usually just switched between max and zero duty cycle. However it is indeed a PWM so it needs to live in the PWM subsystem. This PWM is mostly used for white LED backlight. Cc: Lee Jones <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Thierry Reding <[email protected]>