projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fbdca6
)
gpio: am43xx: expand gpio support
author
Nikita Kiryanov
<nikita@compulab.co.il>
Thu, 30 Jul 2015 20:56:22 +0000
(23:56 +0300)
committer
Tom Rini
<trini@konsulko.com>
Thu, 13 Aug 2015 00:48:04 +0000
(20:48 -0400)
AM43XX SoCs support up to 192 GPIO signals.
Make this amount available to the driver.
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
arch/arm/include/asm/arch-am33xx/gpio.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-am33xx/gpio.h
b/arch/arm/include/asm/arch-am33xx/gpio.h
index 220603db5a3858a7764e2233a5a0ef990be52eef..89ab0553857ad85ddd343876de6cf52141e2150e 100644
(file)
--- a/
arch/arm/include/asm/arch-am33xx/gpio.h
+++ b/
arch/arm/include/asm/arch-am33xx/gpio.h
@@
-6,7
+6,11
@@
#include <asm/omap_gpio.h>
+#ifdef CONFIG_AM43XX
+#define OMAP_MAX_GPIO 192
+#else
#define OMAP_MAX_GPIO 128
+#endif
#define AM33XX_GPIO0_BASE 0x44E07000
#define AM33XX_GPIO1_BASE 0x4804C000