summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/renesas/pfc.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-08-10 17:57:58 -0400
committerTom Rini <trini@konsulko.com>2019-08-10 17:57:58 -0400
commitfeb5a02f869d5678190dfc915ef6c2781b4f7a6c (patch)
tree406786a9d076fd98ed4192bb5fe84215218797d4 /drivers/pinctrl/renesas/pfc.c
parent31d136926b739b58eca0b12237481d666da66427 (diff)
parent3ebb91914f4831df4db42675c4dd1f9a0b7548c7 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-sh
- R8A77980 V3H support
Diffstat (limited to 'drivers/pinctrl/renesas/pfc.c')
-rw-r--r--drivers/pinctrl/renesas/pfc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/pinctrl/renesas/pfc.c b/drivers/pinctrl/renesas/pfc.c
index f2973bebef..5ec560ec0f 100644
--- a/drivers/pinctrl/renesas/pfc.c
+++ b/drivers/pinctrl/renesas/pfc.c
@@ -30,6 +30,7 @@ enum sh_pfc_model {
SH_PFC_R8A7796,
SH_PFC_R8A77965,
SH_PFC_R8A77970,
+ SH_PFC_R8A77980,
SH_PFC_R8A77990,
SH_PFC_R8A77995,
};
@@ -856,6 +857,10 @@ static int sh_pfc_pinctrl_probe(struct udevice *dev)
if (model == SH_PFC_R8A77970)
priv->pfc.info = &r8a77970_pinmux_info;
#endif
+#ifdef CONFIG_PINCTRL_PFC_R8A77980
+ if (model == SH_PFC_R8A77980)
+ priv->pfc.info = &r8a77980_pinmux_info;
+#endif
#ifdef CONFIG_PINCTRL_PFC_R8A77990
if (model == SH_PFC_R8A77990)
priv->pfc.info = &r8a77990_pinmux_info;
@@ -927,6 +932,12 @@ static const struct udevice_id sh_pfc_pinctrl_ids[] = {
.data = SH_PFC_R8A77970,
},
#endif
+#ifdef CONFIG_PINCTRL_PFC_R8A77980
+ {
+ .compatible = "renesas,pfc-r8a77980",
+ .data = SH_PFC_R8A77980,
+ },
+#endif
#ifdef CONFIG_PINCTRL_PFC_R8A77990
{
.compatible = "renesas,pfc-r8a77990",