pwm: imx: Add polarity inversion support to i.MX's PWMv2
authorLukasz Majewski <lukma@denx.de>
Sun, 29 Jan 2017 21:54:15 +0000 (22:54 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 30 Jan 2017 08:13:07 +0000 (09:13 +0100)
commit326ed314fefebb259563926c8c6110a009562e07
tree6632352a509854ee4dc52f8edadaaa8ad4dcf1d4
parentc322f457755aea8eea91c79c473e17ffa7f12cfc
pwm: imx: Add polarity inversion support to i.MX's PWMv2

With this patch the polarity settings for i.MX's PWMv2 is now supported
on top of atomic PWM setting

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-imx.c