[PATCH] Add pwm core support

Robert Jarzmik robert.jarzmik at free.fr
Wed Feb 1 03:20:36 EST 2012


Sascha Hauer <s.hauer at pengutronix.de> writes:

> This patch adds framework support for PWM (pulse width modulation)
> devices.
> A new pwm can be registered from a hardware driver using
> pwmchip_add(). It can then be requested from a client driver using
> pwm_request(). A string is used as a unique identifier for the
> pwms. It should usually be initialized by the hardware drivers
> using dev_name(dev). The client API is the same as currently
> in the Linux Kernel.
>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
>
> This patch is currently compile tested only due to the lack of
> client drivers.
You can add my :
Tested-by: Robert Jarzmik <robert.jarzmik at free.fr>

And I'll post the pxa pwm driver which I developped on top on that framework
today, with which I'm pretty sure your core works, because my screen backlight
ignites :)

Cheers.

--
Robert



More information about the barebox mailing list