pinctrl: renesas: Add R8A779H0 V4M PFC tables
Add pinctrl tables for R8A779H0 V4M SoC.
The current version of these PFC tables is imported and squashed from:
https://lore.kernel.org/linux-renesas-soc/cover.1706264667.git.geert+renesas@glider.be/
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
diff --git a/drivers/pinctrl/renesas/pfc.c b/drivers/pinctrl/renesas/pfc.c
index 4ceb5db..96a47da 100644
--- a/drivers/pinctrl/renesas/pfc.c
+++ b/drivers/pinctrl/renesas/pfc.c
@@ -44,6 +44,7 @@
SH_PFC_R8A779A0,
SH_PFC_R8A779F0,
SH_PFC_R8A779G0,
+ SH_PFC_R8A779H0,
};
struct sh_pfc_pin_config {
@@ -1041,6 +1042,10 @@
if (model == SH_PFC_R8A779G0)
priv->pfc.info = &r8a779g0_pinmux_info;
#endif
+#ifdef CONFIG_PINCTRL_PFC_R8A779H0
+ if (model == SH_PFC_R8A779H0)
+ priv->pfc.info = &r8a779h0_pinmux_info;
+#endif
priv->pmx.pfc = &priv->pfc;
sh_pfc_init_ranges(&priv->pfc);
@@ -1170,6 +1175,12 @@
.data = SH_PFC_R8A779G0,
},
#endif
+#ifdef CONFIG_PINCTRL_PFC_R8A779H0
+ {
+ .compatible = "renesas,pfc-r8a779h0",
+ .data = SH_PFC_R8A779H0,
+ },
+#endif
{ },
};