pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 27 Nov 2012 10:09:58 +0000 (11:09 +0100)
committerThierry Reding <thierry.reding@avionic-design.de>
Wed, 28 Nov 2012 14:16:19 +0000 (15:16 +0100)
commitaa7656471df6cad1a4ed82ba888a40e9bc46aa19
tree72e7b3bc5652e6d4d2c6a02fe8c87e7466de88eb
parent3744c26386971db1c7ecf5aa5900882deae60492
pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs

The driver supports the following LED outputs as generic PWM driver:
TWL4030 LEDA and LEDB (PWMA and PWMB)
TWL6030 Charging indicator LED (PWM LED)

On TWL6030 when the PWM requested LED is configured to be controlled by SW.
In this case the user can enable/disable and set the duty period freely.
When the PWM has been freed, the LED driver is put back to HW control.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt [new file with mode: 0644]
drivers/pwm/Kconfig
drivers/pwm/Makefile
drivers/pwm/pwm-twl-led.c [new file with mode: 0644]