pinctrl: sh-pfc: r8a7791: Add r8a7744 support
Renesas RZ/G1N (R8A7744) is pin compatible with R-Car M2-W/N (R8A7791/3) and RZ/G1M. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
parent
a6a7d2c2dc
commit
d7097b97e9
@ -40,6 +40,11 @@ config PINCTRL_PFC_R8A7743
|
|||||||
depends on ARCH_R8A7743
|
depends on ARCH_R8A7743
|
||||||
select PINCTRL_SH_PFC
|
select PINCTRL_SH_PFC
|
||||||
|
|
||||||
|
config PINCTRL_PFC_R8A7744
|
||||||
|
def_bool y
|
||||||
|
depends on ARCH_R8A7744
|
||||||
|
select PINCTRL_SH_PFC
|
||||||
|
|
||||||
config PINCTRL_PFC_R8A7745
|
config PINCTRL_PFC_R8A7745
|
||||||
def_bool y
|
def_bool y
|
||||||
depends on ARCH_R8A7745
|
depends on ARCH_R8A7745
|
||||||
|
@ -5,6 +5,7 @@ obj-$(CONFIG_PINCTRL_PFC_EMEV2) += pfc-emev2.o
|
|||||||
obj-$(CONFIG_PINCTRL_PFC_R8A73A4) += pfc-r8a73a4.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A73A4) += pfc-r8a73a4.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A7740) += pfc-r8a7740.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A7740) += pfc-r8a7740.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A7743) += pfc-r8a7791.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A7743) += pfc-r8a7791.o
|
||||||
|
obj-$(CONFIG_PINCTRL_PFC_R8A7744) += pfc-r8a7791.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A7745) += pfc-r8a7794.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A7745) += pfc-r8a7794.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A77470) += pfc-r8a77470.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A77470) += pfc-r8a77470.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A774A1) += pfc-r8a7796.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A774A1) += pfc-r8a7796.o
|
||||||
|
@ -494,6 +494,12 @@ static const struct of_device_id sh_pfc_of_table[] = {
|
|||||||
.data = &r8a7743_pinmux_info,
|
.data = &r8a7743_pinmux_info,
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_PINCTRL_PFC_R8A7744
|
||||||
|
{
|
||||||
|
.compatible = "renesas,pfc-r8a7744",
|
||||||
|
.data = &r8a7744_pinmux_info,
|
||||||
|
},
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_PINCTRL_PFC_R8A7745
|
#ifdef CONFIG_PINCTRL_PFC_R8A7745
|
||||||
{
|
{
|
||||||
.compatible = "renesas,pfc-r8a7745",
|
.compatible = "renesas,pfc-r8a7745",
|
||||||
|
@ -6631,6 +6631,28 @@ const struct sh_pfc_soc_info r8a7743_pinmux_info = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_PINCTRL_PFC_R8A7744
|
||||||
|
const struct sh_pfc_soc_info r8a7744_pinmux_info = {
|
||||||
|
.name = "r8a77440_pfc",
|
||||||
|
.ops = &r8a7791_pinmux_ops,
|
||||||
|
.unlock_reg = 0xe6060000, /* PMMR */
|
||||||
|
|
||||||
|
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
|
||||||
|
|
||||||
|
.pins = pinmux_pins,
|
||||||
|
.nr_pins = ARRAY_SIZE(pinmux_pins),
|
||||||
|
.groups = pinmux_groups.common,
|
||||||
|
.nr_groups = ARRAY_SIZE(pinmux_groups.common),
|
||||||
|
.functions = pinmux_functions.common,
|
||||||
|
.nr_functions = ARRAY_SIZE(pinmux_functions.common),
|
||||||
|
|
||||||
|
.cfg_regs = pinmux_config_regs,
|
||||||
|
|
||||||
|
.pinmux_data = pinmux_data,
|
||||||
|
.pinmux_data_size = ARRAY_SIZE(pinmux_data),
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_PINCTRL_PFC_R8A7791
|
#ifdef CONFIG_PINCTRL_PFC_R8A7791
|
||||||
const struct sh_pfc_soc_info r8a7791_pinmux_info = {
|
const struct sh_pfc_soc_info r8a7791_pinmux_info = {
|
||||||
.name = "r8a77910_pfc",
|
.name = "r8a77910_pfc",
|
||||||
|
@ -270,6 +270,7 @@ extern const struct sh_pfc_soc_info emev2_pinmux_info;
|
|||||||
extern const struct sh_pfc_soc_info r8a73a4_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a73a4_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info r8a7740_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a7740_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info r8a7743_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a7743_pinmux_info;
|
||||||
|
extern const struct sh_pfc_soc_info r8a7744_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info r8a7745_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a7745_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info r8a77470_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a77470_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info r8a774a1_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a774a1_pinmux_info;
|
||||||
|
Loading…
Reference in New Issue
Block a user