Skip to contentSkip to conversation

pxa/hx4700: Fix PXA_GPIO_IRQ_BASE/IRQ_NUM values

PATCH New Paul Parsons 2 participants 2 messages Feb 27, 2012 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 pxa/hx4700: Fix PXA_GPIO_IRQ_BASE/IRQ_NUM values

The hx4700 platform has 72 board gpios: 64 ASIC3 gpios numbered 192..255, and 8 EGPIO gpios numbered 256..263 (plus a 9th which is not used). Thus the new CONFIG_ARCH_NR_GPIO config option must be set to 264.

---

V3:
Description change: 64 ASIC3 gpios + 8 EGPIO gpios = 72 board gpios, not 70.

arch/arm/Kconfig +1 -0
diff -ru clean-3.3-rc1/arch/arm/Kconfig linux-3.3-rc1/arch/arm/Kconfig
@@ -1580,6 +1580,7 @@
 	int
 	default 1024 if ARCH_SHMOBILE || ARCH_TEGRA
 	default 350 if ARCH_U8500
+	default 264 if MACH_H4700
 	default 0
 	help
 	  Maximum number of GPIOs in the system.
#1 lore raw

PATCH v3 1/1 pxa/hx4700: Fix PXA_GPIO_IRQ_BASE/IRQ_NUM values

Quoted 7 lines · Paul Parsons

The hx4700 platform has 72 board gpios: 64 ASIC3 gpios numbered 192..255, and 8 EGPIO gpios numbered 256..263 (plus a 9th which is not used). Thus the new CONFIG_ARCH_NR_GPIO config option must be set to 264.

---

Applied

Thanks
Haojian