Re: [U-Boot] [PATCH] mxs: i2c: Implement algorithm to set up arbitrary i2c speed

2012-11-30 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Marek Vasut, > > In message <1354280910-17539-1-git-send-email-ma...@denx.de> you wrote: > > This algorithm computes the values of TIMING{0,1,2} registers for the > > MX28 I2C block. This algorithm was derived by using a scope, but the > > result seems correct. > > Tha

Re: [U-Boot] [PATCH] mxs: i2c: Implement algorithm to set up arbitrary i2c speed

2012-11-30 Thread Wolfgang Denk
Dear Marek Vasut, In message <1354280910-17539-1-git-send-email-ma...@denx.de> you wrote: > This algorithm computes the values of TIMING{0,1,2} registers for the > MX28 I2C block. This algorithm was derived by using a scope, but the > result seems correct. Thanks! I like that! ... > + uint3

[U-Boot] [PATCH] mxs: i2c: Implement algorithm to set up arbitrary i2c speed

2012-11-30 Thread Marek Vasut
This algorithm computes the values of TIMING{0,1,2} registers for the MX28 I2C block. This algorithm was derived by using a scope, but the result seems correct. The resulting values programmed into the registers do not correlate with the contents of the datasheet. When using the values from the da