linux/arch
David Brownell b98348bdd0 gpiolib: avr32 at32ap platform support
Teach AVR32 to use the "GPIO Library" when exposing its GPIOs, so that signals
on external chips (like GPIO expanders) can easily be used.

This mostly reorganizes some existing logic, with two minor changes in
behavior:

 - The PSR registers are used instead of the previous "gpio_mask" values,
   matching AT91 behavior and removing some duplication between that role
   and that of "pinmux_mask".

 - NR_IRQs grew to acommodate a bank of external GPIOs.  Eventually this
   number should probably become a board-specific config option.

There's a debugfs dump of status for the built-in GPIOs, showing which pins
have deglitching, pullups, or open drain drive enabled, as well as the ID
string used when requesting each IRQ.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Eric Miao <eric.miao@marvell.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Philipp Zabel <philipp.zabel@gmail.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Ben Gardner <bgardner@wabtec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-05 09:44:13 -08:00
..
alpha iommu sg merging: alpha: make pci_iommu respect the segment size limits 2008-02-05 09:44:10 -08:00
arm gpiolib support for the PXA architecture 2008-02-05 09:44:13 -08:00
avr32 gpiolib: avr32 at32ap platform support 2008-02-05 09:44:13 -08:00
blackfin timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
cris timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
frv Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2008-02-04 07:58:52 -08:00
h8300 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2008-02-04 07:58:52 -08:00
ia64 iommu sg merging: IA64: make sba_iommu respect the segment size limits 2008-02-05 09:44:10 -08:00
m32r m32r: remove dead config symbols from M32R code 2008-02-05 09:44:08 -08:00
m68k timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
m68knommu timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
mips timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
parisc Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2008-02-04 07:58:52 -08:00
powerpc iommu sg: powerpc: remove DMA 4GB boundary protection 2008-02-05 09:44:11 -08:00
ppc Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig 2008-02-03 08:58:08 +01:00
s390 timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
sh Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2008-02-04 07:58:52 -08:00
sparc timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
sparc64 iommu sg merging: sparc64: make iommu respect the segment size limits 2008-02-05 09:44:10 -08:00
um Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2008-02-04 07:58:52 -08:00
v850 Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig 2008-02-03 08:58:08 +01:00
x86 iommu sg: kill __clear_bit_string and find_next_zero_string 2008-02-05 09:44:11 -08:00
xtensa Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig 2008-02-03 08:58:08 +01:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig 2008-02-03 08:58:08 +01:00