linux/drivers/pwm
Peter Ujfalusi 8eb9612799 pwm: core: Rename of_pwm_request() to of_pwm_get() and export it
Allow client driver to use of_pwm_get() to get the PWM they need. This
is needed for drivers which handle more than one PWM separately, like
leds-pwm driver, which have:

pwmleds {
	compatible = "pwm-leds";
	kpad {
		label = "omap4::keypad";
		pwms = <&twl_pwm 0 7812500>;
		max-brightness = <127>;
	};

	charging {
		label = "omap4:green:chrg";
		pwms = <&twl_pwmled 0 7812500>;
		max-brightness = <255>;
	};
};

in the dts files.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
2013-02-01 17:47:05 -08:00
..
core.c pwm: core: Rename of_pwm_request() to of_pwm_get() and export it 2013-02-01 17:47:05 -08:00
Kconfig pwm: Remove pwm-twl6030 driver 2012-11-28 15:16:20 +01:00
Makefile pwm: Remove pwm-twl6030 driver 2012-11-28 15:16:20 +01:00
pwm-ab8500.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-bfin.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-imx.c pwm: Changes for v3.8-rc1 2012-12-19 08:19:07 -08:00
pwm-jz4740.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-lpc32xx.c pwm: Changes for v3.8-rc1 2012-12-19 08:19:07 -08:00
pwm-mxs.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-puv3.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-pxa.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-samsung.c pwm: Changes for v3.8-rc1 2012-12-19 08:19:07 -08:00
pwm-spear.c pwm: spear: Staticize spear_pwm_config() 2012-11-22 22:47:10 +01:00
pwm-tegra.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-tiecap.c pwm: Changes for v3.8-rc1 2012-12-19 08:19:07 -08:00
pwm-tiehrpwm.c pwm: Changes for v3.8-rc1 2012-12-19 08:19:07 -08:00
pwm-tipwmss.c pwm: Add TI PWM subsystem driver 2012-11-28 15:14:41 +01:00
pwm-tipwmss.h pwm: Add TI PWM subsystem driver 2012-11-28 15:14:41 +01:00
pwm-twl-led.c pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs 2012-11-28 15:16:19 +01:00
pwm-twl.c pwm: New driver to support PWMs on TWL4030/6030 series of PMICs 2012-11-28 15:16:19 +01:00
pwm-vt8500.c pwm: vt8500: Ensure PWM clock is enabled during pwm_config 2012-11-22 22:47:12 +01:00