Re: [PATCH] Add btgpio driver

From: Randy.Dunlap
Date: Tue Jul 01 2008 - 18:09:57 EST


On Wed, 2 Jul 2008, Domenico Andreoli wrote:

> On Tue, Jul 01, 2008 at 03:04:15AM +0200, Domenico Andreoli wrote:
> > On Tue, Jul 01, 2008 at 02:06:38AM +0200, Michael Buesch wrote:
> > > This adds the btgpio driver.
> > > The purpose of the btgpio 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 <mb@xxxxxxxxx>
> >
> > How one is supposed to test this driver? I am unable to switch on
> > the GIPO lib support in my config. I tried also allyesconfig but no
> > trace of gpio lib stuff.
>
> Really, GPIO menu is no present anywhere. While searching for GPIO
> finds stuff, I am unable to locate and select it. I am using 2.6.26-rc8.

For what $ARCH? GPIO menu says this:

config HAVE_GPIO_LIB
bool
help
Platforms select gpiolib if they use this infrastructure
for all their GPIOs, usually starting with ones integrated
into SOC processors.

and then the arch-es that select HAVE_GPIO_LIB are these:

./arch/powerpc/platforms/52xx/Kconfig:50: select HAVE_GPIO_LIB
./arch/mips/Kconfig:803: select HAVE_GPIO_LIB
./arch/avr32/Kconfig:90: select HAVE_GPIO_LIB
./arch/avr32/Kconfig.orig:85: select HAVE_GPIO_LIB
./arch/arm/Kconfig:257: select HAVE_GPIO_LIB
./arch/arm/Kconfig:396: select HAVE_GPIO_LIB
./arch/arm/Kconfig:426: select HAVE_GPIO_LIB
./arch/arm/Kconfig:466: select HAVE_GPIO_LIB
./arch/arm/Kconfig.orig:401: select HAVE_GPIO_LIB

so are you using one of those arches?

--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/