Commit a56398e9 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Simon Horman
parent 0bb92677
...@@ -95,4 +95,10 @@ config PINCTRL_PFC_SH7757 ...@@ -95,4 +95,10 @@ config PINCTRL_PFC_SH7757
depends on GENERIC_GPIO depends on GENERIC_GPIO
select PINCTRL_SH_PFC select PINCTRL_SH_PFC
config PINCTRL_PFC_SH7785
def_bool y
depends on CPU_SUBTYPE_SH7785
depends on GENERIC_GPIO
select PINCTRL_SH_PFC
endif endif
...@@ -16,3 +16,4 @@ obj-$(CONFIG_PINCTRL_PFC_SH7723) += pfc-sh7723.o ...@@ -16,3 +16,4 @@ obj-$(CONFIG_PINCTRL_PFC_SH7723) += pfc-sh7723.o
obj-$(CONFIG_PINCTRL_PFC_SH7724) += pfc-sh7724.o obj-$(CONFIG_PINCTRL_PFC_SH7724) += pfc-sh7724.o
obj-$(CONFIG_PINCTRL_PFC_SH7734) += pfc-sh7734.o obj-$(CONFIG_PINCTRL_PFC_SH7734) += pfc-sh7734.o
obj-$(CONFIG_PINCTRL_PFC_SH7757) += pfc-sh7757.o obj-$(CONFIG_PINCTRL_PFC_SH7757) += pfc-sh7757.o
obj-$(CONFIG_PINCTRL_PFC_SH7785) += pfc-sh7785.o
...@@ -594,6 +594,9 @@ static const struct platform_device_id sh_pfc_id_table[] = { ...@@ -594,6 +594,9 @@ static const struct platform_device_id sh_pfc_id_table[] = {
#endif #endif
#ifdef CONFIG_PINCTRL_PFC_SH7757 #ifdef CONFIG_PINCTRL_PFC_SH7757
{ "pfc-sh7757", (kernel_ulong_t)&sh7757_pinmux_info }, { "pfc-sh7757", (kernel_ulong_t)&sh7757_pinmux_info },
#endif
#ifdef CONFIG_PINCTRL_PFC_SH7785
{ "pfc-sh7785", (kernel_ulong_t)&sh7785_pinmux_info },
#endif #endif
{ "sh-pfc", 0 }, { "sh-pfc", 0 },
{ }, { },
......
...@@ -64,5 +64,6 @@ extern struct sh_pfc_soc_info sh7723_pinmux_info; ...@@ -64,5 +64,6 @@ extern struct sh_pfc_soc_info sh7723_pinmux_info;
extern struct sh_pfc_soc_info sh7724_pinmux_info; extern struct sh_pfc_soc_info sh7724_pinmux_info;
extern struct sh_pfc_soc_info sh7734_pinmux_info; extern struct sh_pfc_soc_info sh7734_pinmux_info;
extern struct sh_pfc_soc_info sh7757_pinmux_info; extern struct sh_pfc_soc_info sh7757_pinmux_info;
extern struct sh_pfc_soc_info sh7785_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