Re: [PATCH v4] OMAP2/3: hwmod: fix the i2c-reset timeout during bootup

2011-06-20 Thread Avinash.H.M.
On Sun, Jun 05, 2011 at 02:19:15PM +0530, Avinash.H.M. wrote: > On Fri, May 20, 2011 at 09:16:24PM +0530, Avinash.H.M wrote: > > The sequence of _ocp_softreset doesn't work for i2c. The i2c module has a > > special sequence to reset the module. The sequence is > > - Disable the I2C. > > - Write

Re: [PATCH v4] OMAP2/3: hwmod: fix the i2c-reset timeout during bootup

2011-06-05 Thread Avinash.H.M.
On Fri, May 20, 2011 at 09:16:24PM +0530, Avinash.H.M wrote: > The sequence of _ocp_softreset doesn't work for i2c. The i2c module has a > special sequence to reset the module. The sequence is > - Disable the I2C. > - Write to SOFTRESET bit. > - Enable the I2C. > - Poll on the RESETDONE bit. >

Re: [PATCH v4] OMAP2/3: hwmod: fix the i2c-reset timeout during bootup

2011-05-30 Thread Avinash.H.M.
On Mon, May 30, 2011 at 09:38:10AM +0300, Tomi Valkeinen wrote: > On Fri, 2011-05-20 at 21:16 +0530, Avinash.H.M wrote: > > The sequence of _ocp_softreset doesn't work for i2c. The i2c module has a > > special sequence to reset the module. The sequence is > > - Disable the I2C. > > - Write to SOF

Re: [PATCH v4] OMAP2/3: hwmod: fix the i2c-reset timeout during bootup

2011-05-29 Thread Tomi Valkeinen
On Fri, 2011-05-20 at 21:16 +0530, Avinash.H.M wrote: > The sequence of _ocp_softreset doesn't work for i2c. The i2c module has a > special sequence to reset the module. The sequence is > - Disable the I2C. > - Write to SOFTRESET bit. > - Enable the I2C. > - Poll on the RESETDONE bit. > The seq

[PATCH v4] OMAP2/3: hwmod: fix the i2c-reset timeout during bootup

2011-05-20 Thread Avinash.H.M
The sequence of _ocp_softreset doesn't work for i2c. The i2c module has a special sequence to reset the module. The sequence is - Disable the I2C. - Write to SOFTRESET bit. - Enable the I2C. - Poll on the RESETDONE bit. The sequence is implemented as a function and the i2c_class is updated with