mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
sh-pfc: Add sh7724 pinmux support
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
d05afa0afc
commit
0ff25baba0
@ -77,4 +77,10 @@ config PINCTRL_PFC_SH7723
|
|||||||
depends on GENERIC_GPIO
|
depends on GENERIC_GPIO
|
||||||
select PINCTRL_SH_PFC
|
select PINCTRL_SH_PFC
|
||||||
|
|
||||||
|
config PINCTRL_PFC_SH7724
|
||||||
|
def_bool y
|
||||||
|
depends on CPU_SUBTYPE_SH7724
|
||||||
|
depends on GENERIC_GPIO
|
||||||
|
select PINCTRL_SH_PFC
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -13,3 +13,4 @@ obj-$(CONFIG_PINCTRL_PFC_SH73A0) += pfc-sh73a0.o
|
|||||||
obj-$(CONFIG_PINCTRL_PFC_SH7720) += pfc-sh7720.o
|
obj-$(CONFIG_PINCTRL_PFC_SH7720) += pfc-sh7720.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_SH7722) += pfc-sh7722.o
|
obj-$(CONFIG_PINCTRL_PFC_SH7722) += pfc-sh7722.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_SH7723) += pfc-sh7723.o
|
obj-$(CONFIG_PINCTRL_PFC_SH7723) += pfc-sh7723.o
|
||||||
|
obj-$(CONFIG_PINCTRL_PFC_SH7724) += pfc-sh7724.o
|
||||||
|
@ -585,6 +585,9 @@ static const struct platform_device_id sh_pfc_id_table[] = {
|
|||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_PINCTRL_PFC_SH7723
|
#ifdef CONFIG_PINCTRL_PFC_SH7723
|
||||||
{ "pfc-sh7723", (kernel_ulong_t)&sh7723_pinmux_info },
|
{ "pfc-sh7723", (kernel_ulong_t)&sh7723_pinmux_info },
|
||||||
|
#endif
|
||||||
|
#ifdef CONFIG_PINCTRL_PFC_SH7724
|
||||||
|
{ "pfc-sh7724", (kernel_ulong_t)&sh7724_pinmux_info },
|
||||||
#endif
|
#endif
|
||||||
{ "sh-pfc", 0 },
|
{ "sh-pfc", 0 },
|
||||||
{ },
|
{ },
|
||||||
|
@ -61,5 +61,6 @@ extern struct sh_pfc_soc_info sh73a0_pinmux_info;
|
|||||||
extern struct sh_pfc_soc_info sh7720_pinmux_info;
|
extern struct sh_pfc_soc_info sh7720_pinmux_info;
|
||||||
extern struct sh_pfc_soc_info sh7722_pinmux_info;
|
extern struct sh_pfc_soc_info sh7722_pinmux_info;
|
||||||
extern struct sh_pfc_soc_info sh7723_pinmux_info;
|
extern struct sh_pfc_soc_info sh7723_pinmux_info;
|
||||||
|
extern struct sh_pfc_soc_info sh7724_pinmux_info;
|
||||||
|
|
||||||
#endif /* __SH_PFC_CORE_H__ */
|
#endif /* __SH_PFC_CORE_H__ */
|
||||||
|
2224
drivers/pinctrl/sh-pfc/pfc-sh7724.c
Normal file
2224
drivers/pinctrl/sh-pfc/pfc-sh7724.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user