Re: [PATCH v3 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-03-27 Thread m18063
On 27.03.2017 16:15, Alexandre Belloni wrote: > On 27/03/2017 at 15:02:37 +0200, Boris Brezillon wrote: >> Hi Claudiu, >> >> On Wed, 22 Mar 2017 15:29:34 +0200 >> Claudiu Beznea wrote: >> >>> static const struct platform_device_id atmel_pwm_devtypes[] = { >>> {

Re: [PATCH v3 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-03-27 Thread m18063
On 27.03.2017 16:15, Alexandre Belloni wrote: > On 27/03/2017 at 15:02:37 +0200, Boris Brezillon wrote: >> Hi Claudiu, >> >> On Wed, 22 Mar 2017 15:29:34 +0200 >> Claudiu Beznea wrote: >> >>> static const struct platform_device_id atmel_pwm_devtypes[] = { >>> { >>> .name =

Re: [PATCH v3 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-03-27 Thread Alexandre Belloni
On 27/03/2017 at 15:02:37 +0200, Boris Brezillon wrote: > Hi Claudiu, > > On Wed, 22 Mar 2017 15:29:34 +0200 > Claudiu Beznea wrote: > > > static const struct platform_device_id atmel_pwm_devtypes[] = { > > { > > .name = "at91sam9rl-pwm", > > -

Re: [PATCH v3 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-03-27 Thread Alexandre Belloni
On 27/03/2017 at 15:02:37 +0200, Boris Brezillon wrote: > Hi Claudiu, > > On Wed, 22 Mar 2017 15:29:34 +0200 > Claudiu Beznea wrote: > > > static const struct platform_device_id atmel_pwm_devtypes[] = { > > { > > .name = "at91sam9rl-pwm", > > - .driver_data =

Re: [PATCH v3 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-03-27 Thread Boris Brezillon
Hi Claudiu, On Wed, 22 Mar 2017 15:29:34 +0200 Claudiu Beznea wrote: > static const struct platform_device_id atmel_pwm_devtypes[] = { > { > .name = "at91sam9rl-pwm", > - .driver_data = (kernel_ulong_t)_pwm_data_v1, > +

Re: [PATCH v3 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-03-27 Thread Boris Brezillon
Hi Claudiu, On Wed, 22 Mar 2017 15:29:34 +0200 Claudiu Beznea wrote: > static const struct platform_device_id atmel_pwm_devtypes[] = { > { > .name = "at91sam9rl-pwm", > - .driver_data = (kernel_ulong_t)_pwm_data_v1, > + .driver_data =

Re: [PATCH v3 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-03-27 Thread Boris Brezillon
On Wed, 22 Mar 2017 15:29:34 +0200 Claudiu Beznea wrote: > The currently Atmel PWM controllers supported by this driver > could change period or duty factor without channel disable, > for regular channels (sama5d3 support this by using period > or duty factor update

Re: [PATCH v3 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-03-27 Thread Boris Brezillon
On Wed, 22 Mar 2017 15:29:34 +0200 Claudiu Beznea wrote: > The currently Atmel PWM controllers supported by this driver > could change period or duty factor without channel disable, > for regular channels (sama5d3 support this by using period > or duty factor update registers, sam9rl support

[PATCH v3 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-03-22 Thread Claudiu Beznea
The currently Atmel PWM controllers supported by this driver could change period or duty factor without channel disable, for regular channels (sama5d3 support this by using period or duty factor update registers, sam9rl support this by writing channel update register and select the corresponding

[PATCH v3 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-03-22 Thread Claudiu Beznea
The currently Atmel PWM controllers supported by this driver could change period or duty factor without channel disable, for regular channels (sama5d3 support this by using period or duty factor update registers, sam9rl support this by writing channel update register and select the corresponding