summaryrefslogtreecommitdiffstats
path: root/arch/arm64/Kconfig.platforms
diff options
context:
space:
mode:
authorTakeshi Kihara <takeshi.kihara.df@renesas.com>2018-11-15 10:46:49 +0100
committerSimon Horman <horms+renesas@verge.net.au>2018-11-15 06:21:44 -0800
commit9374eee32b666c92cf821a98eb3aeaa0bf4d5dd5 (patch)
treee492d047ac4b4abc272e96344758b560a08865eb /arch/arm64/Kconfig.platforms
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadlinux-0-day-9374eee32b666c92cf821a98eb3aeaa0bf4d5dd5.tar.gz
linux-0-day-9374eee32b666c92cf821a98eb3aeaa0bf4d5dd5.tar.xz
arm64: renesas: Enable GPIOLIB to allow GPIO driver selection
The R-Car GPIO driver cannot be enabled when Renesas SoC's ARCH configs (ARCH_RENESAS, ARCH_R8A7795, ARCH_R8A7796 and ARCH_R8A77965) are enabled only. As GPIOs are a critical resource for proper operation on Renesas platforms, this patch selects GPIOLIB, just like is done for other SoC vendors, and on Renesas arm32 SoCs. Reported-by: Alexandru Gheorghe <Alexandru_Gheorghe@mentor.com> Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> [geert: Improve patch description] Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm64/Kconfig.platforms')
-rw-r--r--arch/arm64/Kconfig.platforms1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 51bc479334a43..2eb02734ae457 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -157,6 +157,7 @@ config ARCH_REALTEK
config ARCH_RENESAS
bool "Renesas SoC Platforms"
+ select GPIOLIB
select PINCTRL
select PM
select PM_GENERIC_DOMAINS