[RFC] add pwmlib support
Linus Walleij
linus.walleij at linaro.org
Sun Feb 6 08:22:09 EST 2011
2011/1/31 Sascha Hauer <s.hauer at pengutronix.de>:
> On Sun, Jan 30, 2011 at 11:49:32AM +0800, arden jay wrote:
>> Sorry, I'm confused about this.
>> If it is for backlight control, why it don't go through led_class?
>
> PWMs are not limited to backlight. As Jean pointed out they can be used
> for fans (or more generally motors) aswell. Have a look at
> drivers/leds/leds-pwm.c, it is a user of this pwm API.
Low-frequency PWM is used for vibrators of the type found in
silent mode cellphones, to mention another use case.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list