linux/drivers/pwm
Philipp Zabel 7b27c160c6 pwm: i.MX: fix clock lookup
The i.MX PWM core has two clocks: The ipg clock and the ipg highfreq
(peripheral) clock. The ipg clock has to be enabled for this hardware
to work. The actual PWM output can either be driven by the ipg clock
or the ipg highfreq. The ipg highfreq has the advantage that it runs
even when the SoC is in low power modes.
This patch requests both clocks and enables the ipg clock for accessing
registers and the peripheral clock to actually turn on the PWM.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
2012-09-12 14:25:07 +02:00
..
core.c pwm: add devm_pwm_get() and devm_pwm_put() 2012-09-10 17:05:45 +02:00
Kconfig pwm: Improve Kconfig help text 2012-08-20 11:58:43 +02:00
Makefile pwm: pwm-tiehrpwm: PWM driver support for EHRPWM 2012-07-26 07:45:20 +02:00
pwm-bfin.c pwm: pwm-bfin: Return proper error if pwmchip_remove() fails 2012-07-23 13:24:00 +02:00
pwm-imx.c pwm: i.MX: fix clock lookup 2012-09-12 14:25:07 +02:00
pwm-lpc32xx.c pwm: add lpc32xx PWM support 2012-07-23 13:24:05 +02:00
pwm-mxs.c pwm: pwm-mxs: Return proper error if pwmchip_remove() fails 2012-07-23 13:24:01 +02:00
pwm-pxa.c pwm: pxa: Propagate pwmchip_remove() error 2012-07-23 13:23:59 +02:00
pwm-samsung.c pwm: samsung: add missing device pointer to struct pwm_chip 2012-08-17 14:08:24 +02:00
pwm-tegra.c pwm: Remove a redundant error message when devm_request_and_ioremap fails 2012-08-17 14:08:25 +02:00
pwm-tiecap.c pwm: pwm-tiecap: Add support for configuring polarity of PWM 2012-09-10 17:05:52 +02:00
pwm-tiehrpwm.c pwm: pwm-tiehrpwm: Add support for configuring polarity of PWM 2012-09-10 17:05:53 +02:00
pwm-vt8500.c pwm: vt8500: Fix coding style issue 2012-08-17 14:08:25 +02:00