Topcliff: Update PCH_GPIO driver to 2.6.35
PATCH v4 1/1 Topcliff: Update PCH_GPIO driver to 2.6.35
Hi Andrew Morton,
We want a GPIO maintainer to merge to 2.6.37.
We got "Reviewed-by" for this patch.
But I heard gpio tree is pretty much orphaned at the minute. Could you merge this patch to 2.6.37 ?
Thanks, Tomoya(OKI SEMICONDUCTOR CO., LTD.)
---
GPIO driver of Topcliff PCH
Topcliff PCH is the platform controller hub that is going to be used in
Intel's upcoming general embedded platform. All IO peripherals in
Topcliff PCH are actually devices sitting on AMBA bus. Topcliff PCH has GPIO I/F. Using this I/F, it is able to access system devices connected to GPIO.
--- drivers/gpio/Kconfig | 8 ++ drivers/gpio/Makefile | 1 + drivers/gpio/pch_gpio.c | 312 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 321 insertions(+), 0 deletions(-) create mode 100644 drivers/gpio/pch_gpio.c
drivers/gpio/Kconfig +7 -0
@@ -298,6 +298,14 @@ config GPIO_RDC321X Support for the RDC R321x SoC GPIOs over southbridge PCI configuration space. +config GPIO_PCH + tristate "PCH GPIO of Intel Topcliff" + depends on PCI + help + This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff + which is an IOH(Input/Output Hub) for x86 embedded processor. + This driver can access PCH GPIO device. + comment "SPI GPIO expanders:" config GPIO_MAX7301
drivers/gpio/Makefile +1 -0
@@ -35,3 +35,4 @@ obj-$(CONFIG_GPIO_WM8994) += wm8994-gpio.o obj-$(CONFIG_GPIO_SCH) += sch_gpio.o obj-$(CONFIG_GPIO_RDC321X) += rdc321x-gpio.o obj-$(CONFIG_GPIO_JANZ_TTL) += janz-ttl.o +obj-$(CONFIG_GPIO_PCH) += pch_gpio.o
drivers/gpio/pch_gpio.c new file +312 -0
312 lines not on this page · raw message
Signature · 1 line
1.6.0.6
On Fri, 2010-10-22 at 14:51 +0900, Tomoya MORINAGA wrote:
Just trivia:
drivers/gpio/pch_gpio.c
Quoted 1 line
drivers/gpio/pch_gpio.c +0
-0
[]
drivers/gpio/pch_gpio.c line 288
Quoted 4 lines
drivers/gpio/pch_gpio.c +4
-0+static const struct pci_device_id pch_gpio_pcidev_id[] = { + {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,0x8803 )}, + {0 ,} +};
DEFINE_PCI_DEVICE_TABLE
Quoted 4 lines · On Fri, 22 Oct 2010 14:51:57 +0900 Tomoya MORINAGA…
We want a GPIO maintainer to merge to 2.6.37.
We got "Reviewed-by" for this patch.
But I heard gpio tree is pretty much orphaned at the minute. Could you merge this patch to 2.6.37 ?
Sure. The patch was rather nastily space-stuffed and word-wrapped by your email client. I fixed that up. It otherwise looks OK to me.
Hi Andrew Morton,
Quoted 2 lines · Andrew Morton
Sure. The patch was rather nastily space-stuffed and word-wrapped by your email client. I fixed that up. It otherwise looks OK to me.
Thank you for your quick response and your fixing.
Thanks, Tomoya(OKI SEMICONDUCTOR CO., LTD.)