aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>2011-05-09 06:58:49 -0400
committerGrant Likely <grant.likely@secretlab.ca>2011-05-27 19:56:45 -0400
commitbc786ccead15262a12bd673ed7a5afa6cbf0edcf (patch)
tree1a4c09fa55ed5ee5ec86694f840c9dbc5dbfeb09 /drivers/gpio
parent7c295975a85b049385dfe0d5ee0d4d543619fbdc (diff)
gpio/pch_gpio: Support new device ML7223
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: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/Kconfig8
-rw-r--r--drivers/gpio/pch_gpio.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 2c30911b2414..978852afc9dc 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -358,13 +358,19 @@ config GPIO_LANGWELL
358 Say Y here to support Intel Langwell/Penwell GPIO. 358 Say Y here to support Intel Langwell/Penwell GPIO.
359 359
360config GPIO_PCH 360config GPIO_PCH
361 tristate "PCH GPIO of Intel Topcliff" 361 tristate "Intel EG20T PCH / OKI SEMICONDUCTOR ML7223 IOH GPIO"
362 depends on PCI && X86 362 depends on PCI && X86
363 help 363 help
364 This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff 364 This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff
365 which is an IOH(Input/Output Hub) for x86 embedded processor. 365 which is an IOH(Input/Output Hub) for x86 embedded processor.
366 This driver can access PCH GPIO device. 366 This driver can access PCH GPIO device.
367 367
368 This driver also can be used for OKI SEMICONDUCTOR IOH(Input/
369 Output Hub), ML7223.
370 ML7223 IOH is for MP(Media Phone) use.
371 ML7223 is companion chip for Intel Atom E6xx series.
372 ML7223 is completely compatible for Intel EG20T PCH.
373
368config GPIO_ML_IOH 374config GPIO_ML_IOH
369 tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support" 375 tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"
370 depends on PCI 376 depends on PCI
diff --git a/drivers/gpio/pch_gpio.c b/drivers/gpio/pch_gpio.c
index f970a5f3585e..36919e77c495 100644
--- a/drivers/gpio/pch_gpio.c
+++ b/drivers/gpio/pch_gpio.c
@@ -283,8 +283,10 @@ static int pch_gpio_resume(struct pci_dev *pdev)
283#define pch_gpio_resume NULL 283#define pch_gpio_resume NULL
284#endif 284#endif
285 285
286#define PCI_VENDOR_ID_ROHM 0x10DB
286static DEFINE_PCI_DEVICE_TABLE(pch_gpio_pcidev_id) = { 287static DEFINE_PCI_DEVICE_TABLE(pch_gpio_pcidev_id) = {
287 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803) }, 288 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803) },
289 { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8014) },
288 { 0, } 290 { 0, }
289}; 291};
290MODULE_DEVICE_TABLE(pci, pch_gpio_pcidev_id); 292MODULE_DEVICE_TABLE(pci, pch_gpio_pcidev_id);