OpenCloudOS-Kernel/arch/avr32/mach-at32ap
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
..
Kconfig [AVR32] Add support for AT32AP7001 and AT32AP7002 2008-01-25 08:31:41 +01:00
Makefile [AVR32] Add support for AT32AP7001 and AT32AP7002 2008-01-25 08:31:41 +01:00
at32ap.c [AVR32] Split SM device into PM, RTC, WDT and EIC 2007-07-18 20:45:51 +02:00
at32ap700x.c [AVR32] NMI debugging 2008-01-25 08:31:43 +01:00
clock.c [AVR32] /sys/kernel/debug/at32ap_clk 2007-10-11 11:38:41 +02:00
clock.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
cpufreq.c [AVR32] CPU frequency scaling for AT32AP 2007-07-18 20:45:51 +02:00
extint.c [AVR32] extint: Set initial irq type to low level 2008-01-25 08:31:44 +01:00
hmatrix.h [AVR32] Add basic HMATRIX support 2007-04-27 12:58:50 +02:00
hsmc.c [AVR32] Turn off debugging in SMC driver 2007-11-15 13:47:19 +01:00
hsmc.h [PATCH] AVR32: Use __raw MMIO access for internal peripherals 2006-10-25 20:26:33 -07:00
intc.c [AVR32] Export intc_get_pending symbol 2007-11-15 13:47:20 +01:00
intc.h [PATCH] AVR32: Use __raw MMIO access for internal peripherals 2006-10-25 20:26:33 -07:00
pio.c gpiolib: avr32 at32ap platform support 2008-02-05 09:44:13 -08:00
pio.h gpiolib: avr32 at32ap platform support 2008-02-05 09:44:13 -08:00
pm.h [AVR32] Fix a couple of sparse warnings 2007-10-23 11:19:24 +02:00
time-tc.c [AVR32] ARRAY_SIZE() cleanup 2007-10-23 11:20:26 +02:00