summaryrefslogtreecommitdiff
path: root/arch/arm64/Kconfig.platforms
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-08-08 18:21:43 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-08-23 21:37:17 +0200
commitd229d205132bfd75fa0cf36fce24264ed01de28a (patch)
treeda749431e296f936c23c0a76bf51abf6b9580be6 /arch/arm64/Kconfig.platforms
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
arm64: sunxi: Kconfig: add essential pinctrl driver
The pinctrl driver is essential for the Allwinner SoCs to work. Add the driver's config symbol to the Kconfig entry to always compile it in. We can't use the arm approach to make the _driver's_ Kconfig symbol def_bool, because we lack the MACH_* symbols in arm64. That line was in the original pinctrl driver patch, but got removed to avoid the dependency on the Kconfig patch [1]. Also add the general PINCTRL symbol, which isn't selected automatically for the same reason. Reported-by: Jeroen Dekien <dekien@gmail.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com> [1]: http://lists.infradead.org/pipermail/linux-arm-kernel/2016-March/414086.html Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm64/Kconfig.platforms')
-rw-r--r--arch/arm64/Kconfig.platforms2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index bb2616b16157..e3dc1a46f65c 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -3,6 +3,8 @@ menu "Platform selection"
config ARCH_SUNXI
bool "Allwinner sunxi 64-bit SoC Family"
select GENERIC_IRQ_CHIP
+ select PINCTRL
+ select PINCTRL_SUN50I_A64
help
This enables support for Allwinner sunxi based SoCs like the A64.