[ARM] 5373/2: Add gpiolib support to AT91
Add support for gpiolib, including debugfs output, to the AT91 family. The at91_get/set_gpio_value calls still exist since they are used by the atmel serial driver. Signed-off-by: Ryan Mallon <ryan@bluewatersys.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:

committed by
Russell King

parent
b7eb1a5ed5
commit
f373e8c063
@@ -47,9 +47,6 @@ extern void at91_irq_resume(void);
|
||||
#define AT91RM9200_BGA 4 /* AT91RM9200 BGA package has 4 banks */
|
||||
|
||||
struct at91_gpio_bank {
|
||||
unsigned chipbase; /* bank's first GPIO number */
|
||||
void __iomem *regbase; /* base of register bank */
|
||||
struct at91_gpio_bank *next; /* bank sharing same IRQ/clock/... */
|
||||
unsigned short id; /* peripheral ID */
|
||||
unsigned long offset; /* offset from system peripheral base */
|
||||
struct clk *clock; /* associated clock */
|
||||
|
Reference in New Issue
Block a user