pinctrl: renesas: Import R8A779A0 V3U PFC tables
Import R8A779A0 V3U PFC tables from Linux 5.12, commit 9f4ad9e425a1
("Linux 5.12") . Add parts of PFC table integration from
pinctrl: renesas: Add R8A779A0 V3U PFC tables
by Hai Pham <hai.pham.ud@renesas.com>" .
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
diff --git a/drivers/pinctrl/renesas/pfc.c b/drivers/pinctrl/renesas/pfc.c
index 2498eb5..490d34e 100644
--- a/drivers/pinctrl/renesas/pfc.c
+++ b/drivers/pinctrl/renesas/pfc.c
@@ -41,6 +41,7 @@
SH_PFC_R8A77980,
SH_PFC_R8A77990,
SH_PFC_R8A77995,
+ SH_PFC_R8A779A0,
};
struct sh_pfc_pin_config {
@@ -955,6 +956,10 @@
if (model == SH_PFC_R8A77995)
priv->pfc.info = &r8a77995_pinmux_info;
#endif
+#ifdef CONFIG_PINCTRL_PFC_R8A779A0
+ if (model == SH_PFC_R8A779A0)
+ priv->pfc.info = &r8a779a0_pinmux_info;
+#endif
priv->pmx.pfc = &priv->pfc;
sh_pfc_init_ranges(&priv->pfc);
@@ -1060,6 +1065,13 @@
.data = SH_PFC_R8A77995,
},
#endif
+#ifdef CONFIG_PINCTRL_PFC_R8A779A0
+ {
+ .compatible = "renesas,pfc-r8a779a0",
+ .data = SH_PFC_R8A779A0,
+ },
+#endif
+
{ },
};