mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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>
This commit is contained in:
parent
0fb76cc0bc
commit
995a857a01
5 changed files with 3988 additions and 0 deletions
|
@ -131,6 +131,12 @@ config PINCTRL_PFC_R8A779G0
|
|||
help
|
||||
Support pin multiplexing control on Renesas RCar Gen4 R8A779G0 SoCs.
|
||||
|
||||
config PINCTRL_PFC_R8A779H0
|
||||
bool "Renesas RCar Gen4 R8A779H0 pin control driver"
|
||||
depends on PINCTRL_PFC
|
||||
help
|
||||
Support pin multiplexing control on Renesas RCar Gen4 R8A779H0 SoCs.
|
||||
|
||||
config PINCTRL_RZA1
|
||||
bool "Renesas RZ/A1 R7S72100 pin control driver"
|
||||
depends on CPU_RZA1
|
||||
|
|
|
@ -19,6 +19,7 @@ obj-$(CONFIG_PINCTRL_PFC_R8A77995) += pfc-r8a77995.o
|
|||
obj-$(CONFIG_PINCTRL_PFC_R8A779A0) += pfc-r8a779a0.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_R8A779F0) += pfc-r8a779f0.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_R8A779G0) += pfc-r8a779g0.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_R8A779H0) += pfc-r8a779h0.o
|
||||
obj-$(CONFIG_PINCTRL_RZA1) += pinctrl-rza1.o
|
||||
obj-$(CONFIG_PINCTRL_RZN1) += pinctrl-rzn1.o
|
||||
obj-$(CONFIG_PINCTRL_RZG2L) += rzg2l-pfc.o
|
||||
|
|
3969
drivers/pinctrl/renesas/pfc-r8a779h0.c
Normal file
3969
drivers/pinctrl/renesas/pfc-r8a779h0.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -44,6 +44,7 @@ enum sh_pfc_model {
|
|||
SH_PFC_R8A779A0,
|
||||
SH_PFC_R8A779F0,
|
||||
SH_PFC_R8A779G0,
|
||||
SH_PFC_R8A779H0,
|
||||
};
|
||||
|
||||
struct sh_pfc_pin_config {
|
||||
|
@ -1041,6 +1042,10 @@ static int sh_pfc_pinctrl_probe(struct udevice *dev)
|
|||
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 @@ static const struct udevice_id sh_pfc_pinctrl_ids[] = {
|
|||
.data = SH_PFC_R8A779G0,
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_PINCTRL_PFC_R8A779H0
|
||||
{
|
||||
.compatible = "renesas,pfc-r8a779h0",
|
||||
.data = SH_PFC_R8A779H0,
|
||||
},
|
||||
#endif
|
||||
|
||||
{ },
|
||||
};
|
||||
|
|
|
@ -307,6 +307,7 @@ extern const struct sh_pfc_soc_info r8a77995_pinmux_info;
|
|||
extern const struct sh_pfc_soc_info r8a779a0_pinmux_info;
|
||||
extern const struct sh_pfc_soc_info r8a779f0_pinmux_info;
|
||||
extern const struct sh_pfc_soc_info r8a779g0_pinmux_info;
|
||||
extern const struct sh_pfc_soc_info r8a779h0_pinmux_info;
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Helper macros to create pin and port lists
|
||||
|
|
Loading…
Reference in a new issue