Re: [PATCH 13/14] pwm: meson: add support PWM_POLARITY_INVERSED when disabling

2019-05-27 Thread Martin Blumenstingl
Hi Neil, On Mon, May 27, 2019 at 2:33 PM Neil Armstrong wrote: > > On 25/05/2019 20:11, Martin Blumenstingl wrote: > > meson_pwm_apply() has to consider the PWM polarity when disabling the > > output. > > With enabled=false and polarity=PWM_POLARITY_NORMAL the output needs to > > be LOW. The

Re: [PATCH 13/14] pwm: meson: add support PWM_POLARITY_INVERSED when disabling

2019-05-27 Thread Neil Armstrong
On 25/05/2019 20:11, Martin Blumenstingl wrote: > meson_pwm_apply() has to consider the PWM polarity when disabling the > output. > With enabled=false and polarity=PWM_POLARITY_NORMAL the output needs to > be LOW. The driver already supports this. > With enabled=false and

[PATCH 13/14] pwm: meson: add support PWM_POLARITY_INVERSED when disabling

2019-05-25 Thread Martin Blumenstingl
meson_pwm_apply() has to consider the PWM polarity when disabling the output. With enabled=false and polarity=PWM_POLARITY_NORMAL the output needs to be LOW. The driver already supports this. With enabled=false and polarity=PWM_POLARITY_INVERSED the output needs to be HIGH. Implement this in the