diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2018-01-17 22:29:50 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-01-24 23:27:23 +0100 |
commit | ab2d09b4be42a7cc263dcceab6ef0e3c012d2c7a (patch) | |
tree | fa7f142b19e30d7a218967d8b3d2c5f832ab370d /drivers/pinctrl/renesas/pfc.c | |
parent | 427c75df5a16ab8b3ede5640a3027be5fdb7a033 (diff) | |
download | u-boot-ab2d09b4be42a7cc263dcceab6ef0e3c012d2c7a.tar.gz |
pinctrl: rmobile: Import R8A7792 V2H PFC tables
Import PFC tables for R8A7792 V2H SoC from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'drivers/pinctrl/renesas/pfc.c')
-rw-r--r-- | drivers/pinctrl/renesas/pfc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/pinctrl/renesas/pfc.c b/drivers/pinctrl/renesas/pfc.c index eb726dcb51..349bf867e5 100644 --- a/drivers/pinctrl/renesas/pfc.c +++ b/drivers/pinctrl/renesas/pfc.c @@ -26,6 +26,7 @@ DECLARE_GLOBAL_DATA_PTR; enum sh_pfc_model { SH_PFC_R8A7790 = 0, SH_PFC_R8A7791, + SH_PFC_R8A7792, SH_PFC_R8A7793, SH_PFC_R8A7795, SH_PFC_R8A7796, @@ -783,6 +784,10 @@ static int sh_pfc_pinctrl_probe(struct udevice *dev) if (model == SH_PFC_R8A7791) priv->pfc.info = &r8a7791_pinmux_info; #endif +#ifdef CONFIG_PINCTRL_PFC_R8A7792 + if (model == SH_PFC_R8A7792) + priv->pfc.info = &r8a7792_pinmux_info; +#endif #ifdef CONFIG_PINCTRL_PFC_R8A7793 if (model == SH_PFC_R8A7793) priv->pfc.info = &r8a7793_pinmux_info; @@ -824,6 +829,12 @@ static const struct udevice_id sh_pfc_pinctrl_ids[] = { .data = SH_PFC_R8A7791, }, #endif +#ifdef CONFIG_PINCTRL_PFC_R8A7792 + { + .compatible = "renesas,pfc-r8a7792", + .data = SH_PFC_R8A7792, + }, +#endif #ifdef CONFIG_PINCTRL_PFC_R8A7793 { .compatible = "renesas,pfc-r8a7793", |