pwm: Make the PWM_POLARITY flag in DTB optional
Change the PWM chip driver registration so that a chip driver that supports polarity inversion can still be used with DTBs that don't provide the polarity flag as part of the specifier. This is done to provide polarity inversion support for the pwm-imx driver without having to modify all existing DTS files. Signed-off-by:Lothar Wassmann <LW@KARO-electronics.de> Signed-off-by:
Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Suggested-by:
Sascha Hauer <s.hauer@pengutronix.de> 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>
Showing
Please register or sign in to comment