gpio: add Intel Moorestown Platform Langwell chip gpio driver
PATCH 1/1 gpio: add Intel Moorestown Platform Langwell chip gpio driver
Quoted 1 line
From
18d915ac81fd441938225dcaa389b597af483a4fMon Sep 17 00:00:00 2001
From: Alek Du <[email protected]>
Date: Tue, 30 Jun 2009 12:13:27 +0800
Subject: [PATCH] gpio: add Intel Moorestown Platform Langwell chip gpio driver
The Langwell chip has a 64-pin gpio block, which is exposed as a PCI device. We use it to control outside peripheral as well as to do IRQ demuxing. The gpio block uses MSI to request level type interrupt to IOAPIC.
Signed-off-by Alek Du <[email protected]>
--- drivers/gpio/Kconfig | 6 + drivers/gpio/Makefile | 1 + drivers/gpio/lnw.c | 360 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 367 insertions(+), 0 deletions(-) create mode 100644 drivers/gpio/lnw.c
drivers/gpio/Kconfig +6 -0
@@ -167,6 +167,12 @@ config GPIO_BT8XX If unsure, say N. +config GPIO_LANGWELL + tristate "Intel Moorestown Platform Langwell GPIO support" + depends on PCI + help + Say Y here to support Intel Moorestown platform GPIO. + comment "SPI GPIO expanders:" config GPIO_MAX7301
drivers/gpio/Makefile +1 -0
@@ -13,3 +13,4 @@ obj-$(CONFIG_GPIO_PL061) += pl061.o obj-$(CONFIG_GPIO_TWL4030) += twl4030-gpio.o obj-$(CONFIG_GPIO_XILINX) += xilinx_gpio.o obj-$(CONFIG_GPIO_BT8XX) += bt8xxgpio.o +obj-$(CONFIG_GPIO_LANGWELL) += lnw.o
drivers/gpio/lnw.c new file +360 -0
360 lines not on this page · raw message
Signature · 1 line
1.6.0.4