forked from Minki/linux
sh-pfc: Add sh7269 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
a8d42fc421
commit
f5e811f2a4
@ -43,6 +43,12 @@ config PINCTRL_PFC_SH7264
|
|||||||
depends on GENERIC_GPIO
|
depends on GENERIC_GPIO
|
||||||
select PINCTRL_SH_PFC
|
select PINCTRL_SH_PFC
|
||||||
|
|
||||||
|
config PINCTRL_PFC_SH7269
|
||||||
|
def_bool y
|
||||||
|
depends on CPU_SUBTYPE_SH7269
|
||||||
|
depends on GENERIC_GPIO
|
||||||
|
select PINCTRL_SH_PFC
|
||||||
|
|
||||||
config PINCTRL_PFC_SH7372
|
config PINCTRL_PFC_SH7372
|
||||||
def_bool y
|
def_bool y
|
||||||
depends on ARCH_SH7372
|
depends on ARCH_SH7372
|
||||||
|
@ -7,5 +7,6 @@ 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_SH7203) += pfc-sh7203.o
|
obj-$(CONFIG_PINCTRL_PFC_SH7203) += pfc-sh7203.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_SH7264) += pfc-sh7264.o
|
obj-$(CONFIG_PINCTRL_PFC_SH7264) += pfc-sh7264.o
|
||||||
|
obj-$(CONFIG_PINCTRL_PFC_SH7269) += pfc-sh7269.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_SH7372) += pfc-sh7372.o
|
obj-$(CONFIG_PINCTRL_PFC_SH7372) += pfc-sh7372.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_SH73A0) += pfc-sh73a0.o
|
obj-$(CONFIG_PINCTRL_PFC_SH73A0) += pfc-sh73a0.o
|
||||||
|
@ -568,6 +568,9 @@ static const struct platform_device_id sh_pfc_id_table[] = {
|
|||||||
#ifdef CONFIG_PINCTRL_PFC_SH7264
|
#ifdef CONFIG_PINCTRL_PFC_SH7264
|
||||||
{ "pfc-sh7264", (kernel_ulong_t)&sh7264_pinmux_info },
|
{ "pfc-sh7264", (kernel_ulong_t)&sh7264_pinmux_info },
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_PINCTRL_PFC_SH7269
|
||||||
|
{ "pfc-sh7269", (kernel_ulong_t)&sh7269_pinmux_info },
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_PINCTRL_PFC_SH7372
|
#ifdef CONFIG_PINCTRL_PFC_SH7372
|
||||||
{ "pfc-sh7372", (kernel_ulong_t)&sh7372_pinmux_info },
|
{ "pfc-sh7372", (kernel_ulong_t)&sh7372_pinmux_info },
|
||||||
#endif
|
#endif
|
||||||
|
@ -55,6 +55,7 @@ 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 sh7203_pinmux_info;
|
extern struct sh_pfc_soc_info sh7203_pinmux_info;
|
||||||
extern struct sh_pfc_soc_info sh7264_pinmux_info;
|
extern struct sh_pfc_soc_info sh7264_pinmux_info;
|
||||||
|
extern struct sh_pfc_soc_info sh7269_pinmux_info;
|
||||||
extern struct sh_pfc_soc_info sh7372_pinmux_info;
|
extern struct sh_pfc_soc_info sh7372_pinmux_info;
|
||||||
extern struct sh_pfc_soc_info sh73a0_pinmux_info;
|
extern struct sh_pfc_soc_info sh73a0_pinmux_info;
|
||||||
|
|
||||||
|
2833
drivers/pinctrl/sh-pfc/pfc-sh7269.c
Normal file
2833
drivers/pinctrl/sh-pfc/pfc-sh7269.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user