ARM: OMAP: board-4430sdp: Proper support for TWL6030 PWM LED/Backlight
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 7 Nov 2012 10:40:18 +0000 (11:40 +0100)
committerPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 22 Jan 2013 09:35:04 +0000 (10:35 +0100)
commit42997c4b2ec3c5dcf97c739cd64128d3e55d8f31
tree74cfeb1d7f3d30094b4c1e1c4949e77a2c7eb865
parent77f86144984e4cd375c9dcda83b79f32670f85fe
ARM: OMAP: board-4430sdp: Proper support for TWL6030 PWM LED/Backlight

New PWM drivers are being prepared for twl series which will enable the use
of all PWMs (PWMs and LEDs).
They are implemented as generic PWM drivers to be able to use them for different
purposes.
The current platform code was broken: the leds_pwm driver was not able to pick
up the PWM since the pwm_id was incorrect.

With the other patches we will be able to control the followings:
LCD backlight via pwm-backlight driver
Keypad leds via leds_pwm driver as normal LED
Charging indicator via leds_pwm driver as normal LED

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
arch/arm/mach-omap2/board-4430sdp.c