- 18 1月, 2012 1 次提交
-
-
由 Feng Tang 提交于
For EG20T and ML7213 IOH, the i2c controller numbers are fixed, using fixed bus number will make it much easier for platform code to use i2c_register_board_info() to register i2c devices. Signed-off-by: NFeng Tang <feng.tang@intel.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
- 13 1月, 2012 1 次提交
-
-
由 Axel Lin 提交于
Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE tables. Use DEFINE_PCI_DEVICE_TABLE ensures we make the pci_device_id table const and marked as __devinitconst. This also fixes some warnings from checkpatch: e.g. WARNING: Use DEFINE_PCI_DEVICE_TABLE for struct pci_device_id #1096: FILE: i2c/busses/i2c-intel-mid.c:1096: +static struct pci_device_id intel_mid_i2c_ids[] = { Signed-off-by: NAxel Lin <axel.lin@gmail.com> Cc: Rudolf Marek <r.marek@assembler.cz> Cc: Ben Dooks <ben-linux@fluff.org> Acked-by: NOlof Johansson <olof@lixom.net> Cc: "Mark M. Hoffman" <mhoffman@lightlink.com> Acked-by: NDirk Brandewie <dirk.brandewie@gmail.com> Cc: Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> Acked-by: NWolfram Sang <w.sang@pengutronix.de> Cc: Feng Tang <feng.tang@intel.com> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: NJean Delvare <khali@linux-fr.org>
-
- 18 12月, 2011 1 次提交
-
-
由 Feng Tang 提交于
Before registering an adapter to i2c subsystem, we need make sure driver is ready for incoming i2c xfer, becasue the i2c_add_adapter() may trigger a i2c device driver's proble function which may start some real i2c xfer. I met this issue when integrating a TSC2007 i2c touch screen device with the i2c-eg20t driver. This patch will call request_irq() and hw init before calling i2c_add_adapter(). Signed-off-by: NFeng Tang <feng.tang@intel.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
- 29 10月, 2011 7 次提交
-
-
由 Tomoya MORINAGA 提交于
In case disconnecting physical connection, need to initialize i2c device for retry access. This patch adds initialize process in case bus-idle fails and Lost arbitration. Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
由 Tomoya MORINAGA 提交于
Currently, in case occurring abnormal event, internal flag variable(=pch_event_flag) is not reset. This patch fixes the issue. Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
由 Tomoya MORINAGA 提交于
add stop sequence in case wait-event timeout in write processing. (read processing already had it) Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
由 Tomoya MORINAGA 提交于
Error processing for NACK or wait-event must be precessed separately. So divide wait-event error processing into NACK-receiving and timeout. Add arbitration lost processing. Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
由 Tomoya MORINAGA 提交于
Reported-by: NJeffrey (Sheng-Hui) Chu <jeffchu@broadcom.com> Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
由 Tomoya MORINAGA 提交于
Type of wait_event_timeout is long not s32. This patch replaces s32 with long. Additionally, delete negative processing(ret < 0). Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
由 Tomoya MORINAGA 提交于
Currently, when checking whether bus is idle or not, if timeout occurs, this function always returns success(zero). This patch fixes the issue. Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
- 27 7月, 2011 2 次提交
-
-
由 Tomoya MORINAGA 提交于
issue-1 In case combined transfer mode fails halfway, the processing must be stopped halfway. However currently, the processing is continued. This patch breaks the processing. issue-2 Currently, pch_i2c_xfer returns read/write size at that time. However pch_i2c_xfer must return the number of messages to be read/written. This patch modifies correctly. Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.okisemi.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
由 Tomoya MORINAGA 提交于
Currently, Combined R/W transfer mode is not supported. This patch enables Combined R/W transfer mode. Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.okisemi.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
- 11 5月, 2011 1 次提交
-
-
由 Tomoya MORINAGA 提交于
Support new device OKI SEMICONDUCTOR ML7223 IOH(Input/Output Hub). The ML7223 IOH is for MP(Media Phone) use. The ML7223 is companion chip for Intel Atom E6xx series. The ML7223 is completely compatible for Intel EG20T PCH. Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.okisemi.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
- 09 3月, 2011 1 次提交
-
-
由 Wolfram Sang 提交于
Fixes (with v2.6.38-rc3/parisc/parisc-allmodconfig): src/drivers/i2c/busses/i2c-eg20t.c:720: error: implicit declaration of function 'kzalloc' src/drivers/i2c/busses/i2c-eg20t.c:790: error: implicit declaration of function 'kfree' Reported-by: NGeert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Cc: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com> Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
- 02 3月, 2011 1 次提交
-
-
由 Tomoya MORINAGA 提交于
Support new device OKI SEMICONDUCTOR ML7213 IOH. The ML7213 which is for IVI(In-Vehicle Infotainment) is a companion chip for the Atom E6xx series and compatible with the Intel EG20T PCH. Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.okisemi.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
- 04 1月, 2011 1 次提交
-
-
由 Tomoya MORINAGA 提交于
I2C driver for Intel EG20T PCH Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.okisemi.com> Reviewed-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NQi Wang <qi.wang@intel.com> [ben-linux@fluff.org: reworded commit message] Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-