arm64: renesas: Enable GPIOLIB to allow GPIO driver selection
authorTakeshi Kihara <takeshi.kihara.df@renesas.com>
Thu, 15 Nov 2018 09:46:49 +0000 (10:46 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 15 Nov 2018 14:21:44 +0000 (06:21 -0800)
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>
arch/arm64/Kconfig.platforms

index 51bc479..2eb0273 100644 (file)
@@ -157,6 +157,7 @@ config ARCH_REALTEK
 
 config ARCH_RENESAS
        bool "Renesas SoC Platforms"
+       select GPIOLIB
        select PINCTRL
        select PM
        select PM_GENERIC_DOMAINS