sh-pfc: Add sh7785 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
0bb92677ab
commit
a56398e969
|
@ -95,4 +95,10 @@ config PINCTRL_PFC_SH7757
|
|||
depends on GENERIC_GPIO
|
||||
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
|
||||
|
|
|
@ -16,3 +16,4 @@ obj-$(CONFIG_PINCTRL_PFC_SH7723) += pfc-sh7723.o
|
|||
obj-$(CONFIG_PINCTRL_PFC_SH7724) += pfc-sh7724.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_SH7734) += pfc-sh7734.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[] = {
|
|||
#endif
|
||||
#ifdef CONFIG_PINCTRL_PFC_SH7757
|
||||
{ "pfc-sh7757", (kernel_ulong_t)&sh7757_pinmux_info },
|
||||
#endif
|
||||
#ifdef CONFIG_PINCTRL_PFC_SH7785
|
||||
{ "pfc-sh7785", (kernel_ulong_t)&sh7785_pinmux_info },
|
||||
#endif
|
||||
{ "sh-pfc", 0 },
|
||||
{ },
|
||||
|
|
|
@ -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 sh7734_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__ */
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue