Re: [PATCH v7 3/5] pwm: kona: Fix incorrect config, disable, and polarity procedures

2015-05-25 Thread Tim Kryger
On Thu, May 21, 2015 at 3:50 PM, Jonathan Richardson wrote: > If this is correct - polarity changes affect the output signal > immediately, then I can change our driver. Could you confirm first this > is what we want? Yes. This seems best. Please do. -Tim -- To unsubscribe from this list: sen

Re: [PATCH v7 3/5] pwm: kona: Fix incorrect config, disable, and polarity procedures

2015-05-21 Thread Jonathan Richardson
On 15-05-17 09:53 PM, Tim Kryger wrote: > On Tue, May 12, 2015 at 4:28 PM, Jonathan Richardson > wrote: > >> The polarity procedure no longer applies the settings to change the >> output signal because it can't be called when the pwm is enabled anyway. >> The polarity is only updated in the contr

Re: [PATCH v7 3/5] pwm: kona: Fix incorrect config, disable, and polarity procedures

2015-05-17 Thread Tim Kryger
On Tue, May 12, 2015 at 4:28 PM, Jonathan Richardson wrote: > The polarity procedure no longer applies the settings to change the > output signal because it can't be called when the pwm is enabled anyway. > The polarity is only updated in the control register. The correct > polarity will be appli

[PATCH v7 3/5] pwm: kona: Fix incorrect config, disable, and polarity procedures

2015-05-12 Thread Jonathan Richardson
The config procedure didn't follow the spec which periodically resulted in failing to enable the output signal. This happened one in ten or twenty attempts. Following the spec and adding a 400ns delay in the appropriate locations resolves this problem. The disable procedure now also follows the sp