From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: linux-arm-kernel@lists.infradead.org
Cc: Linus Walleij <linus.walleij@linaro.org>,
Alejandro Mery <amery@geeks.cl>, Stefan Roese <sr@denx.de>,
Russell King <linux@arm.linux.org.uk>,
linux-kernel@vger.kernel.org
Subject: [PATCH 1/5] ARM: sunxi: Increase the number of GPIOs available
Date: Sat, 26 Jan 2013 15:36:51 +0100 [thread overview]
Message-ID: <1359211016-24097-2-git-send-email-maxime.ripard@free-electrons.com> (raw)
In-Reply-To: <1359211016-24097-1-git-send-email-maxime.ripard@free-electrons.com>
The Allwinner A10 has 9 banks of 32 GPIOs available, so it doesn't fit
in the usual 256 limit set by gpio.h. Increase this number to 288.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
arch/arm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f95ba14..1e86fa9 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1632,7 +1632,7 @@ config ARCH_NR_GPIO
default 355 if ARCH_U8500
default 264 if MACH_H4700
default 512 if SOC_OMAP5
- default 288 if ARCH_VT8500
+ default 288 if ARCH_VT8500 || ARCH_SUNXI
default 0
help
Maximum number of GPIOs in the system.
--
1.7.10.4
next parent reply other threads:[~2013-01-26 14:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1359211016-24097-1-git-send-email-maxime.ripard@free-electrons.com>
2013-01-26 14:36 ` Maxime Ripard [this message]
2013-01-29 22:40 ` Linus Walleij
2013-01-29 22:57 ` Arnd Bergmann
2013-02-01 9:43 ` Linus Walleij
2013-01-26 14:36 ` [PATCH 2/5] pinctrl: sunxi: Document sun5i pins functions Maxime Ripard
2013-02-01 9:46 ` Linus Walleij
2013-01-26 14:36 ` [PATCH 3/5] ARM: pinctrl: sunxi: Add the pinctrl pin set for Allwinner A10 Maxime Ripard
2013-02-01 9:46 ` Linus Walleij
2013-01-26 14:36 ` [PATCH 4/5] ARM: sunxi: Add the sun4i pinctrl and gpio nodes Maxime Ripard
2013-02-01 9:47 ` Linus Walleij
2013-01-26 14:36 ` [PATCH 5/5] ARM: sunxi: Add the pin groups for UART0 and UART1 on sun4i Maxime Ripard
2013-02-01 9:48 ` Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1359211016-24097-2-git-send-email-maxime.ripard@free-electrons.com \
--to=maxime.ripard@free-electrons.com \
--cc=amery@geeks.cl \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=sr@denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®