Re: [PATCH 0/3] ARM: mediatek: Add driver for Mediatek I2C controller

2014-10-29 Thread xudong chen
Dear Sirs, Missed the first paragraph, sorry for extra mail. This series is the first version of Mediatek SoCs I2C controller common bus driver, it is Request for Comment. Because the clock driver for mediatek SoC is not ready yet(still work in progress), so I delete the related clock code in

Re: [PATCH 0/3] ARM: mediatek: Add driver for Mediatek I2C controller

2014-10-29 Thread xudong chen
Dear Sirs, Missed the first paragraph, sorry for extra mail. This series is the first version of Mediatek SoCs I2C controller common bus driver, it is Request for Comment. Because the clock driver for mediatek SoC is not ready yet(still work in progress), so I delete the related clock code in

[PATCH 0/3] ARM: mediatek: Add driver for Mediatek I2C controller

2014-10-28 Thread Xudong Chen
This driver is based on 3.18-rc1 & Hongzhou's gpio patch. MTK I2C HW has some limitation. 1. If the i2c_msg number is more than one, STOP will be issued instead of RS(Repeat Start) between each message. Such as: "START + ADDR + DATA_n + STOP + START + ADDR + DATA_n + STOP ..." 2. Mediatek I2C

[PATCH 0/3] ARM: mediatek: Add driver for Mediatek I2C controller

2014-10-28 Thread Xudong Chen
This driver is based on 3.18-rc1 Hongzhou's gpio patch. MTK I2C HW has some limitation. 1. If the i2c_msg number is more than one, STOP will be issued instead of RS(Repeat Start) between each message. Such as: START + ADDR + DATA_n + STOP + START + ADDR + DATA_n + STOP ... 2. Mediatek I2C