mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-23 20:24:26 +08:00
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>
This commit is contained in:
parent
e9c9e9cbef
commit
df8adad57d
@ -107,6 +107,12 @@ config PINCTRL_PFC_R8A77995
|
||||
help
|
||||
Support pin multiplexing control on Renesas RCar Gen3 R8A77995 SoCs.
|
||||
|
||||
config PINCTRL_PFC_R8A779A0
|
||||
bool "Renesas RCar Gen3 R8A779A0 pin control driver"
|
||||
depends on PINCTRL_PFC
|
||||
help
|
||||
Support pin multiplexing control on Renesas RCar Gen3 R8A779A0 SoCs.
|
||||
|
||||
config PINCTRL_PFC_R7S72100
|
||||
bool "Renesas RZ/A1 R7S72100 pin control driver"
|
||||
depends on CPU_RZA1
|
||||
|
@ -15,4 +15,5 @@ obj-$(CONFIG_PINCTRL_PFC_R8A77970) += pfc-r8a77970.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_R8A77980) += pfc-r8a77980.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_R8A77990) += pfc-r8a77990.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_R8A77995) += pfc-r8a77995.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_R8A779A0) += pfc-r8a779a0.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_R7S72100) += pfc-r7s72100.o
|
||||
|
4503
drivers/pinctrl/renesas/pfc-r8a779a0.c
Normal file
4503
drivers/pinctrl/renesas/pfc-r8a779a0.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -41,6 +41,7 @@ enum sh_pfc_model {
|
||||
SH_PFC_R8A77980,
|
||||
SH_PFC_R8A77990,
|
||||
SH_PFC_R8A77995,
|
||||
SH_PFC_R8A779A0,
|
||||
};
|
||||
|
||||
struct sh_pfc_pin_config {
|
||||
@ -955,6 +956,10 @@ static int sh_pfc_pinctrl_probe(struct udevice *dev)
|
||||
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 @@ static const struct udevice_id sh_pfc_pinctrl_ids[] = {
|
||||
.data = SH_PFC_R8A77995,
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_PINCTRL_PFC_R8A779A0
|
||||
{
|
||||
.compatible = "renesas,pfc-r8a779a0",
|
||||
.data = SH_PFC_R8A779A0,
|
||||
},
|
||||
#endif
|
||||
|
||||
{ },
|
||||
};
|
||||
|
||||
|
@ -319,6 +319,7 @@ extern const struct sh_pfc_soc_info r8a77970_pinmux_info;
|
||||
extern const struct sh_pfc_soc_info r8a77980_pinmux_info;
|
||||
extern const struct sh_pfc_soc_info r8a77990_pinmux_info;
|
||||
extern const struct sh_pfc_soc_info r8a77995_pinmux_info;
|
||||
extern const struct sh_pfc_soc_info r8a779a0_pinmux_info;
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Helper macros to create pin and port lists
|
||||
|
Loading…
Reference in New Issue
Block a user