diff mbox series

[4.19.y] arm64: renesas: Enable GPIOLIB to allow GPIO driver selection

Message ID 1554450896-62824-1-git-send-email-biju.das@bp.renesas.com (mailing list archive)
State Accepted
Delegated to: Nobuhiro Iwamatsu
Headers show
Series [4.19.y] arm64: renesas: Enable GPIOLIB to allow GPIO driver selection | expand

Commit Message

Biju Das April 5, 2019, 7:54 a.m. UTC
From: Takeshi Kihara <takeshi.kihara.df@renesas.com>

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>

(cherry picked from commit 9374eee32b666c92cf821a98eb3aeaa0bf4d5dd5)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm64/Kconfig.platforms | 1 +
 1 file changed, 1 insertion(+)

Comments

Nobuhiro Iwamatsu April 15, 2019, 12:29 a.m. UTC | #1
Hi, Biju.

> -----Original Message-----
> From: cip-dev-bounces@lists.cip-project.org
> [mailto:cip-dev-bounces@lists.cip-project.org] On Behalf Of Biju Das
> Sent: Friday, April 5, 2019 4:55 PM
> To: cip-dev@lists.cip-project.org
> Cc: Biju Das <biju.das@bp.renesas.com>
> Subject: [cip-dev] [PATCH 4.19.y] arm64: renesas: Enable GPIOLIB to allow
> GPIO driver selection
> 
> From: Takeshi Kihara <takeshi.kihara.df@renesas.com>
> 
> 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>
> 
> (cherry picked from commit 9374eee32b666c92cf821a98eb3aeaa0bf4d5dd5)
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>

I applied this patch, thanks.

Best regards,
  Nobuhiro
diff mbox series

Patch

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index e13c9ff..a6f9b64 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -178,6 +178,7 @@  config ARCH_SYNQUACER
 config ARCH_RENESAS
 	bool "Renesas SoC Platforms"
 	select ARCH_SHMOBILE
+	select GPIOLIB
 	select PINCTRL
 	select PM
 	select PM_GENERIC_DOMAINS