pwm: mxs: Add support for inverse polarity
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Fri, 4 Oct 2019 13:32:04 +0000 (15:32 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 8 Jan 2020 12:33:37 +0000 (13:33 +0100)
commit2cf0f6fece5b97e67c8d5e84fda3790fe213454a
tree4d7669a14c7745c722b17fdf0e717d86f279da6f
parentebbfb1592c8dedb22278211b89ea9b705faad58e
pwm: mxs: Add support for inverse polarity

If I'm reading of_pwm_xlate_with_flags() right, existing device trees
that set #pwm-cells = 2 will continue to work.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-mxs.c