Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b92ac66a authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Geert Uytterhoeven
Browse files

pinctrl: sh-pfc: Add R8A77970 PFC support



Add the PFC support for the R8A77970 SoC including pin groups for some
on-chip devices such as CAN-FD, [H]SCIF, I2C, INTC-EX, MMC, MSIOF, PWM,
VIN...

Based on the original (and large) patch by Daisuke Matsushita
<daisuke.matsushita.ns@hitachi.com>.

Signed-off-by: default avatarVladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
[geert: Drop EtherAVB for now]
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 5a0e6988
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ Required Properties:
    - "renesas,pfc-r8a7794": for R8A7794 (R-Car E2) compatible pin-controller.
    - "renesas,pfc-r8a7795": for R8A7795 (R-Car H3) compatible pin-controller.
    - "renesas,pfc-r8a7796": for R8A7796 (R-Car M3-W) compatible pin-controller.
    - "renesas,pfc-r8a77970": for R8A77970 (R-Car V3M) compatible pin-controller.
    - "renesas,pfc-r8a77995": for R8A77995 (R-Car D3) compatible pin-controller.
    - "renesas,pfc-sh73a0": for SH73A0 (SH-Mobile AG5) compatible pin-controller.

+5 −0
Original line number Diff line number Diff line
@@ -89,6 +89,11 @@ config PINCTRL_PFC_R8A7796
        depends on ARCH_R8A7796
        select PINCTRL_SH_PFC

config PINCTRL_PFC_R8A77970
	def_bool y
	depends on ARCH_R8A77970
	select PINCTRL_SH_PFC

config PINCTRL_PFC_R8A77995
        def_bool y
        depends on ARCH_R8A77995
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ obj-$(CONFIG_PINCTRL_PFC_R8A7794) += pfc-r8a7794.o
obj-$(CONFIG_PINCTRL_PFC_R8A7795)	+= pfc-r8a7795.o
obj-$(CONFIG_PINCTRL_PFC_R8A7795)	+= pfc-r8a7795-es1.o
obj-$(CONFIG_PINCTRL_PFC_R8A7796)	+= pfc-r8a7796.o
obj-$(CONFIG_PINCTRL_PFC_R8A77970)	+= pfc-r8a77970.o
obj-$(CONFIG_PINCTRL_PFC_R8A77995)	+= pfc-r8a77995.o
obj-$(CONFIG_PINCTRL_PFC_SH7203)	+= pfc-sh7203.o
obj-$(CONFIG_PINCTRL_PFC_SH7264)	+= pfc-sh7264.o
+6 −0
Original line number Diff line number Diff line
@@ -557,6 +557,12 @@ static const struct of_device_id sh_pfc_of_table[] = {
		.data = &r8a7796_pinmux_info,
	},
#endif
#ifdef CONFIG_PINCTRL_PFC_R8A77970
	{
		.compatible = "renesas,pfc-r8a77970",
		.data = &r8a77970_pinmux_info,
	},
#endif
#ifdef CONFIG_PINCTRL_PFC_R8A77995
	{
		.compatible = "renesas,pfc-r8a77995",
+2329 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading