[PATCH v3 09/11] pwm: core: make the PWM_POLARITY flag in DTB optional

2016-11-01 Thread Lukasz Majewski
From: Lothar Wassmann 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 'PWM_POLARITY' flag. This is done to provide polarity inversion support for the pwm-imx driver

[PATCH v3 09/11] pwm: core: make the PWM_POLARITY flag in DTB optional

2016-11-01 Thread Lukasz Majewski
From: Lothar Wassmann 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 'PWM_POLARITY' flag. This is done to provide polarity inversion support for the pwm-imx driver without having to modify all