Re: [RESEND PATCH v5 1/9] pwm: extend PWM framework with PWM modes

2018-10-19 Thread Claudiu Beznea
On 18.10.2018 18:32, Thierry Reding wrote: > On Wed, Oct 17, 2018 at 12:42:00PM +, claudiu.bez...@microchip.com wrote: >> On 16.10.2018 15:25, Thierry Reding wrote: >>> On Tue, Aug 28, 2018 at 04:01:18PM +0300, Claudiu Beznea wrote: > [...] +const char *pwm_mode_desc(struct pwm_device *

Re: [RESEND PATCH v5 1/9] pwm: extend PWM framework with PWM modes

2018-10-18 Thread Thierry Reding
On Wed, Oct 17, 2018 at 12:42:00PM +, claudiu.bez...@microchip.com wrote: > On 16.10.2018 15:25, Thierry Reding wrote: > > On Tue, Aug 28, 2018 at 04:01:18PM +0300, Claudiu Beznea wrote: [...] > >> +const char *pwm_mode_desc(struct pwm_device *pwm, unsigned long mode) > >> +{ > >> + static con

Re: [RESEND PATCH v5 1/9] pwm: extend PWM framework with PWM modes

2018-10-17 Thread Claudiu.Beznea
On 16.10.2018 15:25, Thierry Reding wrote: > On Tue, Aug 28, 2018 at 04:01:18PM +0300, Claudiu Beznea wrote: >> Add basic PWM modes: normal and complementary. These modes should >> differentiate the single output PWM channels from two outputs PWM >> channels. These modes could be set as follow:

Re: [RESEND PATCH v5 1/9] pwm: extend PWM framework with PWM modes

2018-10-16 Thread Thierry Reding
On Tue, Aug 28, 2018 at 04:01:18PM +0300, Claudiu Beznea wrote: > Add basic PWM modes: normal and complementary. These modes should > differentiate the single output PWM channels from two outputs PWM > channels. These modes could be set as follow: > 1. PWM channels with one output per channel: > -