pinctrl: sh-pfc: r8a7791 PFC support
Add PFC support for the r8a7791 SoC V2 including pin groups for on-chip devices such as MSIOF, SCIF, USB, MMC, SDHI, DU. Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com> Signed-off-by: Kunihito Higashiyama <kunihito.higashiyama.ur@renesas.com> Signed-off-by: Yoshikazu Fujikawa <yoshikazu.fujikawa.ue@renesas.com> Signed-off-by: Nobuyuki HIRAI <nobuyuki.hirai.xe@renesas.com> Signed-off-by: Shinobu Uehara <shinobu.uehara.xc@renesas.com> Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com> Signed-off-by: Ryo Kataoka <ryo.kataoka.wt@renesas.com> [damm@opensource.se: Forward ported to upstream, minor fixes] Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
This commit is contained in:
parent
24799c22ae
commit
5088451962
@ -45,6 +45,11 @@ config PINCTRL_PFC_R8A7790
|
|||||||
depends on ARCH_R8A7790
|
depends on ARCH_R8A7790
|
||||||
select PINCTRL_SH_PFC
|
select PINCTRL_SH_PFC
|
||||||
|
|
||||||
|
config PINCTRL_PFC_R8A7791
|
||||||
|
def_bool y
|
||||||
|
depends on ARCH_R8A7791
|
||||||
|
select PINCTRL_SH_PFC
|
||||||
|
|
||||||
config PINCTRL_PFC_SH7203
|
config PINCTRL_PFC_SH7203
|
||||||
def_bool y
|
def_bool y
|
||||||
depends on CPU_SUBTYPE_SH7203
|
depends on CPU_SUBTYPE_SH7203
|
||||||
|
@ -8,6 +8,7 @@ obj-$(CONFIG_PINCTRL_PFC_R8A7740) += pfc-r8a7740.o
|
|||||||
obj-$(CONFIG_PINCTRL_PFC_R8A7778) += pfc-r8a7778.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A7778) += pfc-r8a7778.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A7779) += pfc-r8a7779.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A7779) += pfc-r8a7779.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A7790) += pfc-r8a7790.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A7790) += pfc-r8a7790.o
|
||||||
|
obj-$(CONFIG_PINCTRL_PFC_R8A7791) += pfc-r8a7791.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_SH7203) += pfc-sh7203.o
|
obj-$(CONFIG_PINCTRL_PFC_SH7203) += pfc-sh7203.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_SH7264) += pfc-sh7264.o
|
obj-$(CONFIG_PINCTRL_PFC_SH7264) += pfc-sh7264.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_SH7269) += pfc-sh7269.o
|
obj-$(CONFIG_PINCTRL_PFC_SH7269) += pfc-sh7269.o
|
||||||
|
@ -431,6 +431,12 @@ static const struct of_device_id sh_pfc_of_table[] = {
|
|||||||
.data = &r8a7790_pinmux_info,
|
.data = &r8a7790_pinmux_info,
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_PINCTRL_PFC_R8A7791
|
||||||
|
{
|
||||||
|
.compatible = "renesas,pfc-r8a7791",
|
||||||
|
.data = &r8a7791_pinmux_info,
|
||||||
|
},
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_PINCTRL_PFC_SH7372
|
#ifdef CONFIG_PINCTRL_PFC_SH7372
|
||||||
{
|
{
|
||||||
.compatible = "renesas,pfc-sh7372",
|
.compatible = "renesas,pfc-sh7372",
|
||||||
@ -558,6 +564,9 @@ static const struct platform_device_id sh_pfc_id_table[] = {
|
|||||||
#ifdef CONFIG_PINCTRL_PFC_R8A7790
|
#ifdef CONFIG_PINCTRL_PFC_R8A7790
|
||||||
{ "pfc-r8a7790", (kernel_ulong_t)&r8a7790_pinmux_info },
|
{ "pfc-r8a7790", (kernel_ulong_t)&r8a7790_pinmux_info },
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_PINCTRL_PFC_R8A7791
|
||||||
|
{ "pfc-r8a7791", (kernel_ulong_t)&r8a7791_pinmux_info },
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_PINCTRL_PFC_SH7203
|
#ifdef CONFIG_PINCTRL_PFC_SH7203
|
||||||
{ "pfc-sh7203", (kernel_ulong_t)&sh7203_pinmux_info },
|
{ "pfc-sh7203", (kernel_ulong_t)&sh7203_pinmux_info },
|
||||||
#endif
|
#endif
|
||||||
|
@ -69,6 +69,7 @@ extern const struct sh_pfc_soc_info r8a7740_pinmux_info;
|
|||||||
extern const struct sh_pfc_soc_info r8a7778_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a7778_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info r8a7779_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a7779_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info r8a7790_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a7790_pinmux_info;
|
||||||
|
extern const struct sh_pfc_soc_info r8a7791_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info sh7203_pinmux_info;
|
extern const struct sh_pfc_soc_info sh7203_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info sh7264_pinmux_info;
|
extern const struct sh_pfc_soc_info sh7264_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info sh7269_pinmux_info;
|
extern const struct sh_pfc_soc_info sh7269_pinmux_info;
|
||||||
|
4214
drivers/pinctrl/sh-pfc/pfc-r8a7791.c
Normal file
4214
drivers/pinctrl/sh-pfc/pfc-r8a7791.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user