commit | 66ad6a613abeeeabc5217a0498fae63205e8ddb8 | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Tue Aug 28 11:39:25 2012 +0200 |
committer | Thierry Reding <thierry.reding@avionic-design.de> | Wed Sep 12 14:25:05 2012 +0200 |
tree | 10990eefe667348983b32b0894a94cdbb7b1ba26 | |
parent | 140827c148f2f3a95fdcec5310f6cd980139b383 [diff] |
pwm: i.MX: add functions to enable/disable pwm. We used to enable/disable the PWM only by switching the clock on or off. Instead, use the dedicated register bits. These differ on different SoCs, so introduce a SoC specific function for this. 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>