pwm: Add a driver for the STMPE PWM
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Apr 2016 21:22:37 +0000 (23:22 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 11 Jul 2016 10:49:29 +0000 (12:49 +0200)
commitef1f09eca74a42d39ce81adec444743a6ff018aa
tree50a9bc2d410da259e6099af45c0256d5f6886a36
parent27e8c8f3512371772b1fdd099466a8c198d05897
pwm: Add a driver for the STMPE PWM

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 <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/Kconfig
drivers/pwm/Makefile
drivers/pwm/pwm-stmpe.c [new file with mode: 0644]