summaryrefslogtreecommitdiff
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorOlof Johansson <olofj@chromium.org>2014-09-03 13:36:35 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:02:07 -0700
commite52b48462f9c626345e06c4ddd621f559dbf9f36 (patch)
treed6e7d02fde9bcc9c4f3cb9b0d00e178e3701ce01 /arch/arm64/Kconfig
parent0fbc1f6f2e57980edcde1157113a023873728a16 (diff)
CHROMIUM: ARM64: add gpio.h to increase default nr
Signed-off-by: Olof Johansson <olofj@chromium.org> Signed-off-by: David Riley <davidriley@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/206724 Git-commit: a98a5186344c027fb53506994ce93f7af8a79960 Git-repo: https://chromium.googlesource.com/chromiumos/third_party/kernel [joonwoop@codeaurora.org: fixed merge conflict in arch/arm64/Kconfig. removed Change-Id tag from commit text.] Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r--arch/arm64/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index a24e372c842a..00273f7c64af 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -13,6 +13,7 @@ config ARM64
select ARCH_WANT_OPTIONAL_GPIOLIB
select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
select ARCH_WANT_FRAME_POINTERS
+ select ARCH_HAVE_CUSTOM_GPIO_H
select ARM_AMBA
select ARM_ARCH_TIMER
select ARM_GIC
@@ -536,6 +537,19 @@ config HOTPLUG_CPU
Say Y here to experiment with turning CPUs off and on. CPUs
can be controlled through /sys/devices/system/cpu.
+# The GPIO number here must be sorted by descending number. In case of
+# a multiplatform kernel, we just want the highest value required by the
+# selected platforms.
+config ARCH_NR_GPIO
+ int
+ default 1024 if ARCH_TEGRA
+ default 256
+ help
+ Maximum number of GPIOs in the system.
+
+ If unsure, leave the default value.
+
+
source kernel/Kconfig.preempt
source kernel/Kconfig.hz