Re: [PATCH v5 3/3] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-08-25 Thread Thierry Reding
On Mon, Aug 25, 2014 at 07:59:01PM +0800, Shawn Guo wrote: > On Wed, May 28, 2014 at 06:50:13PM +0800, Liu Ying wrote: > > The i.MX PWM version2 is embedded in several i.MX SoCs, > > such as i.MX27, i.MX51 and i.MX6SL. There is a 4-word(16bit) > > sample FIFO in this IP. Each FIFO slot

Re: [PATCH v5 3/3] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-08-25 Thread Shawn Guo
On Wed, May 28, 2014 at 06:50:13PM +0800, Liu Ying wrote: > The i.MX PWM version2 is embedded in several i.MX SoCs, > such as i.MX27, i.MX51 and i.MX6SL. There is a 4-word(16bit) > sample FIFO in this IP. Each FIFO slot determines the duty > period of a PWM waveform in one full cycle. The IP

Re: [PATCH v5 3/3] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-08-25 Thread Shawn Guo
On Wed, May 28, 2014 at 06:50:13PM +0800, Liu Ying wrote: The i.MX PWM version2 is embedded in several i.MX SoCs, such as i.MX27, i.MX51 and i.MX6SL. There is a 4-word(16bit) sample FIFO in this IP. Each FIFO slot determines the duty period of a PWM waveform in one full cycle. The IP spec

Re: [PATCH v5 3/3] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-08-25 Thread Thierry Reding
On Mon, Aug 25, 2014 at 07:59:01PM +0800, Shawn Guo wrote: On Wed, May 28, 2014 at 06:50:13PM +0800, Liu Ying wrote: The i.MX PWM version2 is embedded in several i.MX SoCs, such as i.MX27, i.MX51 and i.MX6SL. There is a 4-word(16bit) sample FIFO in this IP. Each FIFO slot determines the

[PATCH v5 3/3] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-05-28 Thread Liu Ying
The i.MX PWM version2 is embedded in several i.MX SoCs, such as i.MX27, i.MX51 and i.MX6SL. There is a 4-word(16bit) sample FIFO in this IP. Each FIFO slot determines the duty period of a PWM waveform in one full cycle. The IP spec mentions that we should not write a fourth sample because the

[PATCH v5 3/3] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-05-28 Thread Liu Ying
The i.MX PWM version2 is embedded in several i.MX SoCs, such as i.MX27, i.MX51 and i.MX6SL. There is a 4-word(16bit) sample FIFO in this IP. Each FIFO slot determines the duty period of a PWM waveform in one full cycle. The IP spec mentions that we should not write a fourth sample because the