Re: [PATCH] mfd: Add TWL4030 PWM driver

Arnd Bergmann
2012-03-21T08:39:20Z

On Wednesday 21 March 2012, Bernhard Walle wrote:
> Am 20.03.12 23:02, schrieb Arnd Bergmann:
> > 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.
>
> Does that new subsystem already exist in some tree?

Thierry Reding has been busily posting patches, so he probably has
one that you can use, but I couldn't find it now.

Arnd