Re: [RCF PATCH v2 2/2] pwm: imx: Configure output to GPIO in disabled state

2018-10-29 Thread Vokáč Michal
On 12.10.2018 18:00, Thierry Reding wrote: > On Wed, Oct 10, 2018 at 09:33:26AM +, Vokáč Michal wrote: >> Normally the PWM output is held LOW when PWM is disabled. This can cause >> problems when inverted PWM signal polarity is needed. With this behavior >> the connected circuit is fed by 100%

Re: [RCF PATCH v2 2/2] pwm: imx: Configure output to GPIO in disabled state

2018-10-12 Thread Thierry Reding
On Wed, Oct 10, 2018 at 09:33:26AM +, Vokáč Michal wrote: > Normally the PWM output is held LOW when PWM is disabled. This can cause > problems when inverted PWM signal polarity is needed. With this behavior > the connected circuit is fed by 100% duty cycle instead of being shut-off. > > Allow

[RCF PATCH v2 2/2] pwm: imx: Configure output to GPIO in disabled state

2018-10-10 Thread Vokáč Michal
Normally the PWM output is held LOW when PWM is disabled. This can cause problems when inverted PWM signal polarity is needed. With this behavior the connected circuit is fed by 100% duty cycle instead of being shut-off. Allow users to define a "gpio" and a "pwm" pinctrl states. The pwm pinctrl st