Re: [PATCH] mfd: Add TWL4030 PWM driver

Arnd Bergmann
2012-03-20T22:02:47Z

On Tuesday 20 March 2012, Bernhard Walle wrote:
>
> This PWM driver uses the PWM of the TWL4030. The driver for the TWL6030
> PWM has been used as mode, but the PWM registers are different.
>
> The driver can be used and has been tested in conjunction with
> pwm-backlight to control a backlight LED of a LCD touch screen.
>
> Signed-off-by: Bernhard Walle <walle@corscience.de>

Since it's too late for v3.4 now and we will get a new pwm
subsystem in v3.5, I suggest you change the driver to work
register with that subsystem instead of just using the old
header file. Note that drivers/mfd is not really the right
place anyway, because this is not a multifunction driver but
just one device driver that happens to be a slave of an mfd.

Arnd