Skip to content

Commit b92ac66

Browse files
Sergei Shtylyovgeertu
authored andcommitted
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 <[email protected]>. Signed-off-by: Vladimir Barinov <[email protected]> Signed-off-by: Sergei Shtylyov <[email protected]> Acked-by: Rob Herring <[email protected]> [geert: Drop EtherAVB for now] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 5a0e698 commit b92ac66

File tree

6 files changed

+2343
-0
lines changed

6 files changed

+2343
-0
lines changed

Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Required Properties:
2424
- "renesas,pfc-r8a7794": for R8A7794 (R-Car E2) compatible pin-controller.
2525
- "renesas,pfc-r8a7795": for R8A7795 (R-Car H3) compatible pin-controller.
2626
- "renesas,pfc-r8a7796": for R8A7796 (R-Car M3-W) compatible pin-controller.
27+
- "renesas,pfc-r8a77970": for R8A77970 (R-Car V3M) compatible pin-controller.
2728
- "renesas,pfc-r8a77995": for R8A77995 (R-Car D3) compatible pin-controller.
2829
- "renesas,pfc-sh73a0": for SH73A0 (SH-Mobile AG5) compatible pin-controller.
2930

drivers/pinctrl/sh-pfc/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ config PINCTRL_PFC_R8A7796
8989
depends on ARCH_R8A7796
9090
select PINCTRL_SH_PFC
9191

92+
config PINCTRL_PFC_R8A77970
93+
def_bool y
94+
depends on ARCH_R8A77970
95+
select PINCTRL_SH_PFC
96+
9297
config PINCTRL_PFC_R8A77995
9398
def_bool y
9499
depends on ARCH_R8A77995

drivers/pinctrl/sh-pfc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ obj-$(CONFIG_PINCTRL_PFC_R8A7794) += pfc-r8a7794.o
1616
obj-$(CONFIG_PINCTRL_PFC_R8A7795) += pfc-r8a7795.o
1717
obj-$(CONFIG_PINCTRL_PFC_R8A7795) += pfc-r8a7795-es1.o
1818
obj-$(CONFIG_PINCTRL_PFC_R8A7796) += pfc-r8a7796.o
19+
obj-$(CONFIG_PINCTRL_PFC_R8A77970) += pfc-r8a77970.o
1920
obj-$(CONFIG_PINCTRL_PFC_R8A77995) += pfc-r8a77995.o
2021
obj-$(CONFIG_PINCTRL_PFC_SH7203) += pfc-sh7203.o
2122
obj-$(CONFIG_PINCTRL_PFC_SH7264) += pfc-sh7264.o

drivers/pinctrl/sh-pfc/core.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,12 @@ static const struct of_device_id sh_pfc_of_table[] = {
557557
.data = &r8a7796_pinmux_info,
558558
},
559559
#endif
560+
#ifdef CONFIG_PINCTRL_PFC_R8A77970
561+
{
562+
.compatible = "renesas,pfc-r8a77970",
563+
.data = &r8a77970_pinmux_info,
564+
},
565+
#endif
560566
#ifdef CONFIG_PINCTRL_PFC_R8A77995
561567
{
562568
.compatible = "renesas,pfc-r8a77995",

0 commit comments

Comments
 (0)