Commit bc786ccead15262a12bd673ed7a5afa6cbf0edcf

Authored by Tomoya MORINAGA
Committed by Grant Likely
1 parent 7c295975a8

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>

Showing 2 changed files with 9 additions and 1 deletions Side-by-side Diff

drivers/gpio/Kconfig
... ... @@ -358,12 +358,18 @@
358 358 Say Y here to support Intel Langwell/Penwell GPIO.
359 359  
360 360 config GPIO_PCH
361   - tristate "PCH GPIO of Intel Topcliff"
  361 + tristate "Intel EG20T PCH / OKI SEMICONDUCTOR ML7223 IOH GPIO"
362 362 depends on PCI && X86
363 363 help
364 364 This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff
365 365 which is an IOH(Input/Output Hub) for x86 embedded processor.
366 366 This driver can access PCH GPIO device.
  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.
367 373  
368 374 config GPIO_ML_IOH
369 375 tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"
drivers/gpio/pch_gpio.c
... ... @@ -283,8 +283,10 @@
283 283 #define pch_gpio_resume NULL
284 284 #endif
285 285  
  286 +#define PCI_VENDOR_ID_ROHM 0x10DB
286 287 static DEFINE_PCI_DEVICE_TABLE(pch_gpio_pcidev_id) = {
287 288 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803) },
  289 + { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8014) },
288 290 { 0, }
289 291 };
290 292 MODULE_DEVICE_TABLE(pci, pch_gpio_pcidev_id);