[PATCH 18/35] pinctrl: renesas: r8a7796: Add R8A77961 PFC support

Marek Vasut marek.vasut+renesas at mailbox.org
Thu Jan 26 21:01:48 CET 2023


From: Hai Pham <hai.pham.ud at renesas.com>

R-Car M3-W+ (R8A77961) is pin compatible with R-Car M3-W (R8A77960),
which allows for both SoCs to share a driver.

Based on Linux commit 708c69e9eacc ("pinctrl: sh-pfc: r8a7796: Add
R8A77961 PFC support") and 74ce7a8044b0 ("pinctrl: renesas: r8a7796:
Optimize pinctrl image size for R8A774A1")

Signed-off-by: Hai Pham <hai.pham.ud at renesas.com>
---
 arch/arm/mach-rmobile/Kconfig.64 | 1 +
 drivers/pinctrl/renesas/Makefile | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach-rmobile/Kconfig.64
index 248a9a84e5d..3e73acce664 100644
--- a/arch/arm/mach-rmobile/Kconfig.64
+++ b/arch/arm/mach-rmobile/Kconfig.64
@@ -37,6 +37,7 @@ config R8A7796
 	select GICV2
 	imply CLK_R8A7796
 	imply PINCTRL_PFC_R8A77960
+	imply PINCTRL_PFC_R8A77961
 
 config R8A77965
 	bool "Renesas SoC R8A77965"
diff --git a/drivers/pinctrl/renesas/Makefile b/drivers/pinctrl/renesas/Makefile
index 721c7bdabbb..1198c868557 100644
--- a/drivers/pinctrl/renesas/Makefile
+++ b/drivers/pinctrl/renesas/Makefile
@@ -10,6 +10,7 @@ obj-$(CONFIG_PINCTRL_PFC_R8A7793) += pfc-r8a7791.o
 obj-$(CONFIG_PINCTRL_PFC_R8A7794) += pfc-r8a7794.o
 obj-$(CONFIG_PINCTRL_PFC_R8A77951) += pfc-r8a7795.o
 obj-$(CONFIG_PINCTRL_PFC_R8A77960) += pfc-r8a7796.o
+obj-$(CONFIG_PINCTRL_PFC_R8A77961) += pfc-r8a7796.o
 obj-$(CONFIG_PINCTRL_PFC_R8A77965) += pfc-r8a77965.o
 obj-$(CONFIG_PINCTRL_PFC_R8A77970) += pfc-r8a77970.o
 obj-$(CONFIG_PINCTRL_PFC_R8A77980) += pfc-r8a77980.o
-- 
2.39.0



More information about the U-Boot mailing list