forked from Minki/linux
sh-pfc: Add sh7734 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
0ff25baba0
commit
ac1ebc2190
@ -83,4 +83,10 @@ config PINCTRL_PFC_SH7724
|
||||
depends on GENERIC_GPIO
|
||||
select PINCTRL_SH_PFC
|
||||
|
||||
config PINCTRL_PFC_SH7734
|
||||
def_bool y
|
||||
depends on CPU_SUBTYPE_SH7734
|
||||
depends on GENERIC_GPIO
|
||||
select PINCTRL_SH_PFC
|
||||
|
||||
endif
|
||||
|
@ -14,3 +14,4 @@ obj-$(CONFIG_PINCTRL_PFC_SH7720) += pfc-sh7720.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_SH7722) += pfc-sh7722.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_SH7723) += pfc-sh7723.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_SH7724) += pfc-sh7724.o
|
||||
obj-$(CONFIG_PINCTRL_PFC_SH7734) += pfc-sh7734.o
|
||||
|
@ -588,6 +588,9 @@ static const struct platform_device_id sh_pfc_id_table[] = {
|
||||
#endif
|
||||
#ifdef CONFIG_PINCTRL_PFC_SH7724
|
||||
{ "pfc-sh7724", (kernel_ulong_t)&sh7724_pinmux_info },
|
||||
#endif
|
||||
#ifdef CONFIG_PINCTRL_PFC_SH7734
|
||||
{ "pfc-sh7734", (kernel_ulong_t)&sh7734_pinmux_info },
|
||||
#endif
|
||||
{ "sh-pfc", 0 },
|
||||
{ },
|
||||
|
@ -62,5 +62,6 @@ extern struct sh_pfc_soc_info sh7720_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 sh7724_pinmux_info;
|
||||
extern struct sh_pfc_soc_info sh7734_pinmux_info;
|
||||
|
||||
#endif /* __SH_PFC_CORE_H__ */
|
||||
|
2474
drivers/pinctrl/sh-pfc/pfc-sh7734.c
Normal file
2474
drivers/pinctrl/sh-pfc/pfc-sh7734.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user