linux-IllusionX/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
h8300
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
powerpc iommu sg: powerpc: remove DMA 4GB boundary protection 2008-02-05 09:44:11 -08:00
ppc
s390 timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
sh
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
v850
x86 iommu sg: kill __clear_bit_string and find_next_zero_string 2008-02-05 09:44:11 -08:00
xtensa
.gitignore
Kconfig