sh-pfc: Add sh7372 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
881023d28b
commit
6e5469a6b1
|
@ -31,4 +31,9 @@ config PINCTRL_PFC_R8A7779
|
||||||
depends on ARCH_R8A7779
|
depends on ARCH_R8A7779
|
||||||
select PINCTRL_SH_PFC
|
select PINCTRL_SH_PFC
|
||||||
|
|
||||||
|
config PINCTRL_PFC_SH7372
|
||||||
|
def_bool y
|
||||||
|
depends on ARCH_SH7372
|
||||||
|
select PINCTRL_SH_PFC
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -5,3 +5,4 @@ endif
|
||||||
obj-$(CONFIG_PINCTRL_SH_PFC) += sh-pfc.o
|
obj-$(CONFIG_PINCTRL_SH_PFC) += sh-pfc.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A7740) += pfc-r8a7740.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A7740) += pfc-r8a7740.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A7779) += pfc-r8a7779.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A7779) += pfc-r8a7779.o
|
||||||
|
obj-$(CONFIG_PINCTRL_PFC_SH7372) += pfc-sh7372.o
|
||||||
|
|
|
@ -561,6 +561,9 @@ static const struct platform_device_id sh_pfc_id_table[] = {
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_PINCTRL_PFC_R8A7779
|
#ifdef CONFIG_PINCTRL_PFC_R8A7779
|
||||||
{ "pfc-r8a7779", (kernel_ulong_t)&r8a7779_pinmux_info },
|
{ "pfc-r8a7779", (kernel_ulong_t)&r8a7779_pinmux_info },
|
||||||
|
#endif
|
||||||
|
#ifdef CONFIG_PINCTRL_PFC_SH7372
|
||||||
|
{ "pfc-sh7372", (kernel_ulong_t)&sh7372_pinmux_info },
|
||||||
#endif
|
#endif
|
||||||
{ "sh-pfc", 0 },
|
{ "sh-pfc", 0 },
|
||||||
{ },
|
{ },
|
||||||
|
|
|
@ -53,5 +53,6 @@ int sh_pfc_config_gpio(struct sh_pfc *pfc, unsigned gpio, int pinmux_type,
|
||||||
|
|
||||||
extern struct sh_pfc_soc_info r8a7740_pinmux_info;
|
extern struct sh_pfc_soc_info r8a7740_pinmux_info;
|
||||||
extern struct sh_pfc_soc_info r8a7779_pinmux_info;
|
extern struct sh_pfc_soc_info r8a7779_pinmux_info;
|
||||||
|
extern struct sh_pfc_soc_info sh7372_pinmux_info;
|
||||||
|
|
||||||
#endif /* __SH_PFC_CORE_H__ */
|
#endif /* __SH_PFC_CORE_H__ */
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue