Skip to contentSkip to conversation

clk: renesas: r8a779g0: Add SYS-DMAC and MSIOF clocks

PATCH In review Geert Uytterhoeven 2 participants 5 messages Sep 26, 2022 – Sep 28, 2022

Subsystems (2)
lore
Share & tools
lore

Geert Uytterhoeven

author maintainer
#0 lore raw

cover clk: renesas: r8a779g0: Add SYS-DMAC and MSIOF clocks

Hi Mike, Stephen,

This patch series adds more clocks for the R-Car V4H SoC, to make use of DMA and SPI.
I plan to queue these in renesas-clk-for-v6.2.

Thanks!

Geert Uytterhoeven (2):
clk: renesas: r8a779g0: Add SYS-DMAC clocks
clk: renesas: r8a779g0: Add MSIOF clocks

 drivers/clk/renesas/r8a779g0-cpg-mssr.c | 8 ++++++++
 1 file changed, 8 insertions(+)
Signature · 12 lines
2.25.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
author maintainer
#1 lore raw

PATCH 1/2 clk: renesas: r8a779g0: Add SYS-DMAC clocks

Add the module clocks used by the Direct Memory Access Controllers for System (SYS-DMAC) on the Renesas R-Car V4H (R8A779G0) SoC.

Extracted from a larger patch in the BSP by Kazuya Mizuguchi.

---
 drivers/clk/renesas/r8a779g0-cpg-mssr.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/clk/renesas/r8a779g0-cpg-mssr.c +2 -0
index 4fd1932a4611f6a1..4265340a8fce5388 100644
@@ -163,6 +163,8 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = {
 	DEF_MOD("i2c3",		521,	R8A779G0_CLK_S0D6_PER),
 	DEF_MOD("i2c4",		522,	R8A779G0_CLK_S0D6_PER),
 	DEF_MOD("i2c5",		523,	R8A779G0_CLK_S0D6_PER),
+	DEF_MOD("sydm0",	709,	R8A779G0_CLK_S0D6_PER),
+	DEF_MOD("sydm1",	710,	R8A779G0_CLK_S0D6_PER),
 	DEF_MOD("wdt1:wdt0",	907,	R8A779G0_CLK_R),
 	DEF_MOD("pfc0",		915,	R8A779G0_CLK_CL16M),
 	DEF_MOD("pfc1",		916,	R8A779G0_CLK_CL16M),
Signature · 1 line
2.25.1
maintainer Acked-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] clk: renesas: r8a779g0: Add SYS-DMAC clocks

Quoting Geert Uytterhoeven (2022-09-26 08:01:48)

Quoted 7 lines

Add the module clocks used by the Direct Memory Access Controllers for System (SYS-DMAC) on the Renesas R-Car V4H (R8A779G0) SoC.

Extracted from a larger patch in the BSP by Kazuya Mizuguchi.

---

author maintainer
#3 lore raw

PATCH 2/2 clk: renesas: r8a779g0: Add MSIOF clocks

In reply to Geert Uytterhoeven

Add the module clocks used by the Clock-Synchronized Serial Interfaces with FIFO (MSIOF) on the Renesas R-Car V4H (R8A779G0) SoC.

Extracted from a larger patch in the BSP by Kazuya Mizuguchi.

---
 drivers/clk/renesas/r8a779g0-cpg-mssr.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/clk/renesas/r8a779g0-cpg-mssr.c +6 -0
index 4265340a8fce5388..8f43a63de6cf27ea 100644
@@ -163,6 +163,12 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = {
 	DEF_MOD("i2c3",		521,	R8A779G0_CLK_S0D6_PER),
 	DEF_MOD("i2c4",		522,	R8A779G0_CLK_S0D6_PER),
 	DEF_MOD("i2c5",		523,	R8A779G0_CLK_S0D6_PER),
+	DEF_MOD("msi0",		618,	R8A779G0_CLK_MSO),
+	DEF_MOD("msi1",		619,	R8A779G0_CLK_MSO),
+	DEF_MOD("msi2",		620,	R8A779G0_CLK_MSO),
+	DEF_MOD("msi3",		621,	R8A779G0_CLK_MSO),
+	DEF_MOD("msi4",		622,	R8A779G0_CLK_MSO),
+	DEF_MOD("msi5",		623,	R8A779G0_CLK_MSO),
 	DEF_MOD("sydm0",	709,	R8A779G0_CLK_S0D6_PER),
 	DEF_MOD("sydm1",	710,	R8A779G0_CLK_S0D6_PER),
 	DEF_MOD("wdt1:wdt0",	907,	R8A779G0_CLK_R),
Signature · 1 line
2.25.1
maintainer Acked-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] clk: renesas: r8a779g0: Add MSIOF clocks

Quoting Geert Uytterhoeven (2022-09-26 08:01:49)

Quoted 7 lines

Add the module clocks used by the Clock-Synchronized Serial Interfaces with FIFO (MSIOF) on the Renesas R-Car V4H (R8A779G0) SoC.

Extracted from a larger patch in the BSP by Kazuya Mizuguchi.

---