diff options
author | Philip, Avinash <avinashphilip@ti.com> | 2012-09-06 10:40:03 +0530 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-09-10 17:05:53 +0200 |
commit | daa5629b21a1e59ed0ef9515a9e791d2f75cc5ca (patch) | |
tree | 84a99183412d95253d77cf4f6d25e7f05677a94a /drivers/pwm/pwm-imx.c | |
parent | 454870a44b0687675180506b7774fb559d610675 (diff) | |
download | linux-stable-daa5629b21a1e59ed0ef9515a9e791d2f75cc5ca.tar.gz linux-stable-daa5629b21a1e59ed0ef9515a9e791d2f75cc5ca.tar.bz2 linux-stable-daa5629b21a1e59ed0ef9515a9e791d2f75cc5ca.zip |
pwm: pwm-tiehrpwm: Add support for configuring polarity of PWM
EHRPWM hardware supports polarity configuration of PWM output. However
configuration of polarity done in hardware only in .enable() to ensure
PWM output present only after enabling PWM. This commit adds support for
polarity configuration for EHRPWM.
When being here, remove configuring of polarity during .config() and do
it explicitly from .set_polarity().
Signed-off-by: Philip, Avinash <avinashphilip@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers/pwm/pwm-imx.c')
0 files changed, 0 insertions, 0 deletions