]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: brcmstb: Add default gpio number
authorGregory Fong <gregory.0xf0@gmail.com>
Fri, 29 May 2015 02:14:10 +0000 (19:14 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Fri, 29 May 2015 21:43:13 +0000 (14:43 -0700)
commitcc909c1c9138c5de9a6055a8bd3af31a03799f47
treedbb7ce7e813be83795f9adc6a4babe4cebcc5bd1
parentc6e5a3068bcce1aa0575717301fff56e9d446ea3
ARM: brcmstb: Add default gpio number

Out of the brcmstb SoCs that I know, BCM3390 has the largest numbers
of GPIOs, with its
- 320 "peripheral" GPIOs
- 5*32 = 160 UPG GPIOs (counting unused lines, which do get counted)
- 2*32 = 64 UPG AON GPIOs (counting unused lines)
Total: 544

I suspect that the upper limit will only need to be higher in the
future, so set it to 1024.

Signed-off-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/Kconfig