aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-imx.c
diff options
context:
space:
mode:
authorPhilip, Avinash <[email protected]>2012-09-06 10:40:03 +0530
committerThierry Reding <[email protected]>2012-09-10 17:05:53 +0200
commitdaa5629b21a1e59ed0ef9515a9e791d2f75cc5ca (patch)
tree84a99183412d95253d77cf4f6d25e7f05677a94a /drivers/pwm/pwm-imx.c
parent454870a44b0687675180506b7774fb559d610675 (diff)
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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-imx.c')
0 files changed, 0 insertions, 0 deletions