linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: i.MX6: set ARCH_NR_GPIO to 244
@ 2012-07-25 12:37 Dirk Behme
  2012-07-25 12:37 ` [PATCH 2/2] ARM: dts: imx6q: Invert the GPIO controller order Dirk Behme
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Dirk Behme @ 2012-07-25 12:37 UTC (permalink / raw)
  To: linux-arm-kernel

From: Matthias Thomae <matthias.thomae@de.bosch.com>

Set ARCH_NR_GPIO for the i.MX6 processor family, which has 7 GPIO
controllers with 32 signals each. The default of 256 GPIOs wastes
some static table space as explained in Documentation/gpio.txt.

Signed-off-by: Matthias Thomae <matthias.thomae@de.bosch.com>
CC: Shawn Guo <shawn.guo@linaro.org>
---
 arch/arm/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index b25c9d3..5e4cde3 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1626,6 +1626,7 @@ config ARCH_NR_GPIO
 	default 355 if ARCH_U8500
 	default 264 if MACH_H4700
 	default 512 if SOC_OMAP5
+	default 224 if SOC_IMX6Q
 	default 0
 	help
 	  Maximum number of GPIOs in the system.
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-07-31  8:15 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-25 12:37 [PATCH 1/2] ARM: i.MX6: set ARCH_NR_GPIO to 244 Dirk Behme
2012-07-25 12:37 ` [PATCH 2/2] ARM: dts: imx6q: Invert the GPIO controller order Dirk Behme
2012-07-28 13:41   ` Shawn Guo
2012-07-30  7:28     ` Thomae Matthias (CM-AI/PJ-CF31)
2012-07-30  9:01       ` Shawn Guo
2012-07-30 14:24       ` Russell King - ARM Linux
2012-07-31  8:15         ` Dirk Behme
2012-07-25 14:12 ` [PATCH 1/2] ARM: i.MX6: set ARCH_NR_GPIO to 244 Fabio Estevam
2012-07-25 14:51   ` Dirk Behme
2012-07-28 13:32 ` Shawn Guo
2012-07-29 16:18   ` Dirk Behme
2012-07-30  1:14     ` Shawn Guo
2012-07-30  6:40       ` Dirk Behme
2012-07-30  8:46         ` Shawn Guo
2012-07-30 11:14           ` Dirk Behme
2012-07-30 14:29           ` Russell King - ARM Linux
2012-07-31  1:16             ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).