diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-08-28 11:39:25 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-09-12 14:25:05 +0200 |
commit | 66ad6a613abeeeabc5217a0498fae63205e8ddb8 (patch) | |
tree | 10990eefe667348983b32b0894a94cdbb7b1ba26 /Documentation/devicetree/bindings/pwm | |
parent | pwm: i.MX: remove unnecessary if in pwm_[en|dis]able (diff) | |
download | linux-66ad6a613abeeeabc5217a0498fae63205e8ddb8.tar.xz linux-66ad6a613abeeeabc5217a0498fae63205e8ddb8.zip |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/pwm')
0 files changed, 0 insertions, 0 deletions