sh-pfc: Add sh7757 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:
Родитель
ac1ebc2190
Коммит
0bb92677ab
|
@ -89,4 +89,10 @@ config PINCTRL_PFC_SH7734
|
|||
depends on GENERIC_GPIO
|
||||
select PINCTRL_SH_PFC
|
||||
|
||||
config PINCTRL_PFC_SH7757
|
||||
def_bool y
|
||||
depends on CPU_SUBTYPE_SH7757
|
||||
depends on GENERIC_GPIO
|
||||
select PINCTRL_SH_PFC
|
||||
|
||||
endif
|
||||
|
|
|
@ -15,3 +15,4 @@ 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
|
||||
obj-$(CONFIG_PINCTRL_PFC_SH7757) += pfc-sh7757.o
|
||||
|
|
|
@ -591,6 +591,9 @@ static const struct platform_device_id sh_pfc_id_table[] = {
|
|||
#endif
|
||||
#ifdef CONFIG_PINCTRL_PFC_SH7734
|
||||
{ "pfc-sh7734", (kernel_ulong_t)&sh7734_pinmux_info },
|
||||
#endif
|
||||
#ifdef CONFIG_PINCTRL_PFC_SH7757
|
||||
{ "pfc-sh7757", (kernel_ulong_t)&sh7757_pinmux_info },
|
||||
#endif
|
||||
{ "sh-pfc", 0 },
|
||||
{ },
|
||||
|
|
|
@ -63,5 +63,6 @@ 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;
|
||||
extern struct sh_pfc_soc_info sh7757_pinmux_info;
|
||||
|
||||
#endif /* __SH_PFC_CORE_H__ */
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче