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: NLothar Wassmann <LW@KARO-electronics.de> Signed-off-by: NBhuvanchandra DV <bhuvanchandra.dv@toradex.com> Suggested-by: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NLukasz Majewski <l.majewski@majess.pl> Reviewed-by: NBoris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
Showing
想要评论请 注册 或 登录