[PATCH] arm64: renesas: Enable GPIOLIB to allow GPIO driver selection

Subsystems: arm64 port (aarch64 architecture), the rest

STALE2825d

2 messages, 2 authors, 2018-11-15 · open the first message on its own page

[PATCH] arm64: renesas: Enable GPIOLIB to allow GPIO driver selection

From: geert+renesas@glider.be (Geert Uytterhoeven)
Date: 2018-11-15 09:46:49

From: Takeshi Kihara <redacted>

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 <redacted>
Signed-off-by: Takeshi Kihara <redacted>
[geert: Improve patch description]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/Kconfig.platforms | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 51bc479334a43f5d..2eb02734ae4575a0 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
-- 
2.17.1

[PATCH] arm64: renesas: Enable GPIOLIB to allow GPIO driver selection

From: horms@verge.net.au (Simon Horman)
Date: 2018-11-15 14:22:22

On Thu, Nov 15, 2018 at 10:46:49AM +0100, Geert Uytterhoeven wrote:
From: Takeshi Kihara <redacted>

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 <redacted>
Signed-off-by: Takeshi Kihara <redacted>
[geert: Improve patch description]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Thanks Geert,

applied for v4.21.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help