[RFC] add pwmlib support
From: s.hauer@pengutronix.de (Sascha Hauer)
Date: 2011-01-31 07:58:08
Also in:
lkml
From: s.hauer@pengutronix.de (Sascha Hauer)
Date: 2011-01-31 07:58:08
Also in:
lkml
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. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |