Add bt8xxgpio driver
Subsystems (2)
PATCH v2 1/1 Add bt8xxgpio driver
This adds the bt8xxgpio driver.
The purpose of the bt8xxgpio driver is to export all of the 24 GPIO pins available on Brooktree 8xx chips to the kernel GPIO infrastructure.
This makes it possible to use a physically modified BT8xx card as cheap digital GPIO card.
---
Please queue this patch for 2.6.27
I could not find a GPIO maintainer. Neither in the MAINTAINERS file nor in any GPIO source file. So I didn't CC any GPIO guy, as I don't know who that is. :)
drivers/gpio/Kconfig +18 -0
@@ -61,6 +61,24 @@ config GPIO_PCF857X This driver provides an in-kernel interface to those GPIOs using platform-neutral GPIO calls. +comment "PCI GPIO expanders:" + +config GPIO_BT8XX + tristate "BT8XX GPIO abuser" + depends on PCI && VIDEO_BT848=n + help + The BT8xx frame grabber chip has 24 GPIO pins than can be abused + as a cheap PCI GPIO card. + + This chip can be found on Miro, Hauppauge and STB TV-cards. + + The card needs to be physically altered for using it as a + GPIO card. For more information on how to build a GPIO card + from a BT8xx TV card, see the documentation file at + Documentation/bt8xxgpio.txt + + If unsure, say N. + comment "SPI GPIO expanders:" config GPIO_MCP23S08
drivers/gpio/Makefile +1 -0
@@ -7,3 +7,4 @@ obj-$(CONFIG_HAVE_GPIO_LIB) += gpiolib.o obj-$(CONFIG_GPIO_MCP23S08) += mcp23s08.o obj-$(CONFIG_GPIO_PCA953X) += pca953x.o obj-$(CONFIG_GPIO_PCF857X) += pcf857x.o +obj-$(CONFIG_GPIO_BT8XX) += bt8xxgpio.o
drivers/gpio/bt8xxgpio.c new file +346 -0
346 lines not on this page · raw message
MAINTAINERS +6 -0
@@ -1012,6 +1012,12 @@ M: [email protected] L: [email protected] S: Supported +BT8XXGPIO DRIVER +P: Michael Buesch +M: [email protected] +W: http://bu3sch.de/btgpio.php +S: Maintained + BTTV VIDEO4LINUX DRIVER P: Mauro Carvalho Chehab M: [email protected]
Documentation/bt8xxgpio.txt new file +67 -0
67 lines not on this page · raw message
Signature · 1 line
Greetings Michael.
Quoted 9 lines · On Tue, 1 Jul 2008 12:34:03 +0200 Michael Buesch <[email protected]> wrote:
This adds the bt8xxgpio driver.
The purpose of the bt8xxgpio driver is to export all of the 24 GPIO pins available on Brooktree 8xx chips to the kernel GPIO infrastructure.This makes it possible to use a physically modified BT8xx card as cheap digital GPIO card.
Signed-off-by Michael Buesch <[email protected]>
Quoted 7 lines
---
Please queue this patch for 2.6.27
I could not find a GPIO maintainer. Neither in the
MAINTAINERSfile nor in any GPIO source file. So I didn't CC any GPIO guy, as I don't know who that is. :)
David Brownell (IMO). David, you might want to raise a MAINTAINERS patch.