Commit d05afa0a authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Simon Horman
parent f5e25ae5
...@@ -71,4 +71,10 @@ config PINCTRL_PFC_SH7722 ...@@ -71,4 +71,10 @@ config PINCTRL_PFC_SH7722
depends on GENERIC_GPIO depends on GENERIC_GPIO
select PINCTRL_SH_PFC select PINCTRL_SH_PFC
config PINCTRL_PFC_SH7723
def_bool y
depends on CPU_SUBTYPE_SH7723
depends on GENERIC_GPIO
select PINCTRL_SH_PFC
endif endif
...@@ -12,3 +12,4 @@ obj-$(CONFIG_PINCTRL_PFC_SH7372) += pfc-sh7372.o ...@@ -12,3 +12,4 @@ obj-$(CONFIG_PINCTRL_PFC_SH7372) += pfc-sh7372.o
obj-$(CONFIG_PINCTRL_PFC_SH73A0) += pfc-sh73a0.o 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
...@@ -582,6 +582,9 @@ static const struct platform_device_id sh_pfc_id_table[] = { ...@@ -582,6 +582,9 @@ static const struct platform_device_id sh_pfc_id_table[] = {
#endif #endif
#ifdef CONFIG_PINCTRL_PFC_SH7722 #ifdef CONFIG_PINCTRL_PFC_SH7722
{ "pfc-sh7722", (kernel_ulong_t)&sh7722_pinmux_info }, { "pfc-sh7722", (kernel_ulong_t)&sh7722_pinmux_info },
#endif
#ifdef CONFIG_PINCTRL_PFC_SH7723
{ "pfc-sh7723", (kernel_ulong_t)&sh7723_pinmux_info },
#endif #endif
{ "sh-pfc", 0 }, { "sh-pfc", 0 },
{ }, { },
......
...@@ -60,5 +60,6 @@ extern struct sh_pfc_soc_info sh7372_pinmux_info; ...@@ -60,5 +60,6 @@ extern struct sh_pfc_soc_info sh7372_pinmux_info;
extern struct sh_pfc_soc_info sh73a0_pinmux_info; 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;
#endif /* __SH_PFC_CORE_H__ */ #endif /* __SH_PFC_CORE_H__ */
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment