aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>2011-05-09 03:32:31 -0400
committerBen Dooks <ben-linux@fluff.org>2011-05-11 01:50:02 -0400
commitefbe0f27ccfa7237c5524b10e8ccc91f97002f16 (patch)
tree92a78497ddb7187796c9e03f9a12b0baaa01dc83
parent9f381a61f58bb6487c93ce2233bb9992f8ea9211 (diff)
i2c-eg20t: Support new device ML7223 IOH
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: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
-rw-r--r--drivers/i2c/busses/Kconfig10
-rw-r--r--drivers/i2c/busses/i2c-eg20t.c2
2 files changed, 9 insertions, 3 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 326652f673f7..697ffa86f2cc 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -671,15 +671,19 @@ config I2C_XILINX
671 will be called xilinx_i2c. 671 will be called xilinx_i2c.
672 672
673config I2C_EG20T 673config I2C_EG20T
674 tristate "Intel EG20T PCH/OKI SEMICONDUCTOR ML7213 IOH" 674 tristate "Intel EG20T PCH / OKI SEMICONDUCTOR IOH(ML7213/ML7223)"
675 depends on PCI 675 depends on PCI
676 help 676 help
677 This driver is for PCH(Platform controller Hub) I2C of EG20T which 677 This driver is for PCH(Platform controller Hub) I2C of EG20T which
678 is an IOH(Input/Output Hub) for x86 embedded processor. 678 is an IOH(Input/Output Hub) for x86 embedded processor.
679 This driver can access PCH I2C bus device. 679 This driver can access PCH I2C bus device.
680 680
681 This driver also supports the ML7213, a companion chip for the 681 This driver also can be used for OKI SEMICONDUCTOR IOH(Input/
682 Atom E6xx series and compatible with the Intel EG20T PCH. 682 Output Hub), ML7213 and ML7223.
683 ML7213 IOH is for IVI(In-Vehicle Infotainment) use and ML7223 IOH is
684 for MP(Media Phone) use.
685 ML7213/ML7223 is companion chip for Intel Atom E6xx series.
686 ML7213/ML7223 is completely compatible for Intel EG20T PCH.
683 687
684comment "External I2C/SMBus adapter drivers" 688comment "External I2C/SMBus adapter drivers"
685 689
diff --git a/drivers/i2c/busses/i2c-eg20t.c b/drivers/i2c/busses/i2c-eg20t.c
index 878a12026af2..8abfa4a03ce1 100644
--- a/drivers/i2c/busses/i2c-eg20t.c
+++ b/drivers/i2c/busses/i2c-eg20t.c
@@ -182,10 +182,12 @@ static DEFINE_MUTEX(pch_mutex);
182/* Definition for ML7213 by OKI SEMICONDUCTOR */ 182/* Definition for ML7213 by OKI SEMICONDUCTOR */
183#define PCI_VENDOR_ID_ROHM 0x10DB 183#define PCI_VENDOR_ID_ROHM 0x10DB
184#define PCI_DEVICE_ID_ML7213_I2C 0x802D 184#define PCI_DEVICE_ID_ML7213_I2C 0x802D
185#define PCI_DEVICE_ID_ML7223_I2C 0x8010
185 186
186static struct pci_device_id __devinitdata pch_pcidev_id[] = { 187static struct pci_device_id __devinitdata pch_pcidev_id[] = {
187 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_PCH_I2C), 1, }, 188 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_PCH_I2C), 1, },
188 { PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7213_I2C), 2, }, 189 { PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7213_I2C), 2, },
190 { PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7223_I2C), 1, },
189 {0,} 191 {0,}
190}; 192};
191 193