Re: [U-Boot] [PATCH V3] i2c: mxc: refactor i2c driver and support dm

2015-05-13 Thread Fan Peng
Hi, Simon There may be something wrong in my side. I will fix the build errors and send out new version. Thanks, Peng. -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Wednesday, May 13, 2015 11:25 PM To: Fan Peng-B51431 Cc: Stefano Babic;

Re: [U-Boot] [PATCH V3] i2c: mxc: refactor i2c driver and support dm

2015-05-13 Thread Simon Glass
Hi, On 12 May 2015 at 19:09, Fan Peng wrote: > Hi, > > Is there any further comments? Or this patch will be applied? This gives build errors for me: 02: i2c: mxc: refactor i2c driver and support dm arm: + nitrogen6dl2g mx53smd ls1021atwr_nor_SECURE_BOOT tqma6s_mba6_spi apf27 mx6sxsabr

Re: [U-Boot] [PATCH V3] i2c: mxc: refactor i2c driver and support dm

2015-05-12 Thread Heiko Schocher
Hello Simon, Am 13.05.2015 03:44, schrieb Simon Glass: Hi, On 12 May 2015 at 19:09, Fan Peng wrote: Hi, Is there any further comments? Or this patch will be applied? I can apply it if you like - Heiko what do you prefer? Yes, please. Thanks. bye, Heiko - Simon Regards, Peng.

Re: [U-Boot] [PATCH V3] i2c: mxc: refactor i2c driver and support dm

2015-05-12 Thread Simon Glass
Hi, On 12 May 2015 at 19:09, Fan Peng wrote: > > Hi, > > Is there any further comments? Or this patch will be applied? > I can apply it if you like - Heiko what do you prefer? - Simon > Regards, > Peng. > > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf O

Re: [U-Boot] [PATCH V3] i2c: mxc: refactor i2c driver and support dm

2015-05-12 Thread Fan Peng
Hi, Is there any further comments? Or this patch will be applied? Regards, Peng. -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Wednesday, May 06, 2015 4:56 AM To: Fan Peng-B51431 Cc: Stefano Babic; Heiko Schocher; Marek VaĊĦut; Nikita Kir

Re: [U-Boot] [PATCH V3] i2c: mxc: refactor i2c driver and support dm

2015-05-05 Thread Simon Glass
On 27 April 2015 at 07:36, Peng Fan wrote: > > 1. Introduce a new structure `struct mxc_i2c_bus`, this structure will >used for non-DM and DM. > 2. Remove `struct mxc_i2c_regs` structure, but use register offset to access >registers based on `base` entry of `struct mxc_i2c_bus`. > 3. Remov

[U-Boot] [PATCH V3] i2c: mxc: refactor i2c driver and support dm

2015-04-27 Thread Peng Fan
1. Introduce a new structure `struct mxc_i2c_bus`, this structure will used for non-DM and DM. 2. Remove `struct mxc_i2c_regs` structure, but use register offset to access registers based on `base` entry of `struct mxc_i2c_bus`. 3. Remove most `#ifdef I2C_QUIRK_REG`. Using driver_data to cont