Re: [PATCH RCC 1/6] pwm: Add different PWM output types support

2020-07-28 Thread Uwe Kleine-König
Hello Martin, On Mon, Jul 27, 2020 at 10:56:31PM +0200, Martin Botka wrote: > Mo 27. 7. 2020 at 22:10 Uwe Kleine-König > wrote: > > On Fri, Jul 24, 2020 at 11:36:51PM +0200, Martin Botka wrote: > > > +/* > > > + * pwm_output_type_support() > > > + * @pwm: PWM device > > > + * > > > + * Returns:

Re: [PATCH RCC 1/6] pwm: Add different PWM output types support

2020-07-27 Thread Guru Das Srinagesh
On Fri, Jul 24, 2020 at 11:36:51PM +0200, Martin Botka wrote: > From: Fenglin Wu > > Normally, PWM channel has fixed output until software request to change > its settings. There are some PWM devices which their outputs could be > changed autonomously according to a predefined pattern programmed

Re: [PATCH RCC 1/6] pwm: Add different PWM output types support

2020-07-27 Thread Martin Botka
Mo 27. 7. 2020 at 22:10 Uwe Kleine-König wrote: > > Hello, > > On Fri, Jul 24, 2020 at 11:36:51PM +0200, Martin Botka wrote: > > From: Fenglin Wu > > > > Normally, PWM channel has fixed output until software request to change > > "fixed" in the sense of "periodic", not "constant", right? Correct

Re: [PATCH RCC 1/6] pwm: Add different PWM output types support

2020-07-27 Thread Uwe Kleine-König
Hello, On Fri, Jul 24, 2020 at 11:36:51PM +0200, Martin Botka wrote: > From: Fenglin Wu > > Normally, PWM channel has fixed output until software request to change "fixed" in the sense of "periodic", not "constant", right? > its settings. There are some PWM devices which their outputs could be

[PATCH RCC 1/6] pwm: Add different PWM output types support

2020-07-24 Thread Martin Botka
From: Fenglin Wu Normally, PWM channel has fixed output until software request to change its settings. There are some PWM devices which their outputs could be changed autonomously according to a predefined pattern programmed in hardware. Add pwm_output_type enum type to identify these two differe