Re: [PATCH 03/10] pwm: sunxi: Yield some time to the pwm-block to become ready

2015-11-06 Thread Chen-Yu Tsai
On Tue, Oct 27, 2015 at 5:32 AM, Olliver Schinagl wrote: > The pwm-block of some of the sunxi chips feature a 'ready' flag to > indicate the software that it is ready for new commands. > > Right now, when we call pwm_config and set the period, we write the > values to the registers, and turn off

Re: [PATCH 03/10] pwm: sunxi: Yield some time to the pwm-block to become ready

2015-11-06 Thread Thierry Reding
On Mon, Oct 26, 2015 at 10:32:34PM +0100, Olliver Schinagl wrote: > The pwm-block of some of the sunxi chips feature a 'ready' flag to > indicate the software that it is ready for new commands. > > Right now, when we call pwm_config and set the period, we write the > values to the registers, and

Re: [PATCH 03/10] pwm: sunxi: Yield some time to the pwm-block to become ready

2015-11-06 Thread Thierry Reding
On Mon, Oct 26, 2015 at 10:32:34PM +0100, Olliver Schinagl wrote: > The pwm-block of some of the sunxi chips feature a 'ready' flag to > indicate the software that it is ready for new commands. > > Right now, when we call pwm_config and set the period, we write the > values to the registers, and

Re: [PATCH 03/10] pwm: sunxi: Yield some time to the pwm-block to become ready

2015-11-06 Thread Chen-Yu Tsai
On Tue, Oct 27, 2015 at 5:32 AM, Olliver Schinagl wrote: > The pwm-block of some of the sunxi chips feature a 'ready' flag to > indicate the software that it is ready for new commands. > > Right now, when we call pwm_config and set the period, we write the > values to

[PATCH 03/10] pwm: sunxi: Yield some time to the pwm-block to become ready

2015-10-26 Thread Olliver Schinagl
The pwm-block of some of the sunxi chips feature a 'ready' flag to indicate the software that it is ready for new commands. Right now, when we call pwm_config and set the period, we write the values to the registers, and turn off the clock to the IP. Because of this, the hardware does not have

[PATCH 03/10] pwm: sunxi: Yield some time to the pwm-block to become ready

2015-10-26 Thread Olliver Schinagl
The pwm-block of some of the sunxi chips feature a 'ready' flag to indicate the software that it is ready for new commands. Right now, when we call pwm_config and set the period, we write the values to the registers, and turn off the clock to the IP. Because of this, the hardware does not have