mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-06 22:05:22 +02:00
pinctrl: renesas: Initial R8A779G0 (R-Car V4H) PFC support
This patch adds initial pinctrl support for the R-Car V4H (R8A779G0) SoC, including bias, drive strength and voltage control. This patch was created based on the Rev.0.51 datasheet. Signed-off-by: LUU HOAI <hoai.luu.ub@renesas.com> Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> [Morimoto: merge Kihara-san's MODSEL8 fixup patch, cleanup white space, care about reserved bits on each configs, fixup comments, etc.] Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87czepty0j.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
parent
665f77eb0d
commit
ad9bb2fec6
|
@ -38,6 +38,7 @@ config PINCTRL_RENESAS
|
||||||
select PINCTRL_PFC_R8A77995 if ARCH_R8A77995
|
select PINCTRL_PFC_R8A77995 if ARCH_R8A77995
|
||||||
select PINCTRL_PFC_R8A779A0 if ARCH_R8A779A0
|
select PINCTRL_PFC_R8A779A0 if ARCH_R8A779A0
|
||||||
select PINCTRL_PFC_R8A779F0 if ARCH_R8A779F0
|
select PINCTRL_PFC_R8A779F0 if ARCH_R8A779F0
|
||||||
|
select PINCTRL_PFC_R8A779G0 if ARCH_R8A779G0
|
||||||
select PINCTRL_RZG2L if ARCH_RZG2L
|
select PINCTRL_RZG2L if ARCH_RZG2L
|
||||||
select PINCTRL_RZV2M if ARCH_R9A09G011
|
select PINCTRL_RZV2M if ARCH_R9A09G011
|
||||||
select PINCTRL_PFC_SH7203 if CPU_SUBTYPE_SH7203
|
select PINCTRL_PFC_SH7203 if CPU_SUBTYPE_SH7203
|
||||||
|
@ -154,6 +155,10 @@ config PINCTRL_PFC_R8A779A0
|
||||||
bool "pin control support for R-Car V3U" if COMPILE_TEST
|
bool "pin control support for R-Car V3U" if COMPILE_TEST
|
||||||
select PINCTRL_SH_PFC
|
select PINCTRL_SH_PFC
|
||||||
|
|
||||||
|
config PINCTRL_PFC_R8A779G0
|
||||||
|
bool "pin control support for R-Car V4H" if COMPILE_TEST
|
||||||
|
select PINCTRL_SH_PFC
|
||||||
|
|
||||||
config PINCTRL_PFC_R8A7740
|
config PINCTRL_PFC_R8A7740
|
||||||
bool "pin control support for R-Mobile A1" if COMPILE_TEST
|
bool "pin control support for R-Mobile A1" if COMPILE_TEST
|
||||||
select PINCTRL_SH_PFC_GPIO
|
select PINCTRL_SH_PFC_GPIO
|
||||||
|
|
|
@ -31,6 +31,7 @@ obj-$(CONFIG_PINCTRL_PFC_R8A77990) += pfc-r8a77990.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A77995) += pfc-r8a77995.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A77995) += pfc-r8a77995.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A779A0) += pfc-r8a779a0.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A779A0) += pfc-r8a779a0.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A779F0) += pfc-r8a779f0.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A779F0) += pfc-r8a779f0.o
|
||||||
|
obj-$(CONFIG_PINCTRL_PFC_R8A779G0) += pfc-r8a779g0.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
|
||||||
|
|
|
@ -644,6 +644,12 @@ static const struct of_device_id sh_pfc_of_table[] = {
|
||||||
.data = &r8a779f0_pinmux_info,
|
.data = &r8a779f0_pinmux_info,
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_PINCTRL_PFC_R8A779G0
|
||||||
|
{
|
||||||
|
.compatible = "renesas,pfc-r8a779g0",
|
||||||
|
.data = &r8a779g0_pinmux_info,
|
||||||
|
},
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_PINCTRL_PFC_SH73A0
|
#ifdef CONFIG_PINCTRL_PFC_SH73A0
|
||||||
{
|
{
|
||||||
.compatible = "renesas,pfc-sh73a0",
|
.compatible = "renesas,pfc-sh73a0",
|
||||||
|
|
2466
drivers/pinctrl/renesas/pfc-r8a779g0.c
Normal file
2466
drivers/pinctrl/renesas/pfc-r8a779g0.c
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -325,6 +325,7 @@ 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 r8a77995_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info r8a779a0_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 r8a779f0_pinmux_info;
|
||||||
|
extern const struct sh_pfc_soc_info r8a779g0_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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user