clk: renesas: Add more R-Car V4H clocks
Subsystems (2)
Geert Uytterhoeven
maintainercover clk: renesas: Add more R-Car V4H clocks
Hi Mike, Stephen,
This patch series adds more clocks for the R-Car V4H SoC. I plan to queue these in renesas-clk-for-v6.1, hopefully with the minor issue in [PATCH 4/4] resolved.
Thanks!
Geert Uytterhoeven (4):
clk: renesas: r8a779g0: Add watchdog clock
clk: renesas: r8a779g0: Add I2C clocks
clk: renesas: r8a779g0: Add PFC/GPIO clocks
clk: renesas: r8a779g0: Add EtherAVB clocks
drivers/clk/renesas/r8a779g0-cpg-mssr.c | 14 ++++++++++++++ 1 file changed, 14 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 TorvaldsGeert Uytterhoeven
maintainerPATCH 1/4 clk: renesas: r8a779g0: Add watchdog clock
Add the module clock used by the RCLK Watchdog Timer 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 | 1 + 1 file changed, 1 insertion(+)
drivers/clk/renesas/r8a779g0-cpg-mssr.c +1 -0
@@ -154,6 +154,7 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = {DEF_MOD ("hscif1" ,515 ,R8A779G0_CLK_S0D3_PER ),DEF_MOD ("hscif2" ,516 ,R8A779G0_CLK_S0D3_PER ),DEF_MOD ("hscif3" ,517 ,R8A779G0_CLK_S0D3_PER ), + DEF_MOD("wdt1:wdt0", 907, R8A779G0_CLK_R), };/*
Signature · 1 line
2.25.1
Geert Uytterhoeven
maintainerPATCH 2/4 clk: renesas: r8a779g0: Add I2C clocks
In reply to Geert UytterhoevenAdd the module clocks used by the I2C Bus Interfaces 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
@@ -154,6 +154,12 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = {DEF_MOD ("hscif1" ,515 ,R8A779G0_CLK_S0D3_PER ),DEF_MOD ("hscif2" ,516 ,R8A779G0_CLK_S0D3_PER ),DEF_MOD ("hscif3" ,517 ,R8A779G0_CLK_S0D3_PER ), +DEF_MOD ("i2c0" ,518 ,R8A779G0_CLK_S0D6_PER ), +DEF_MOD ("i2c1" ,519 ,R8A779G0_CLK_S0D6_PER ), +DEF_MOD ("i2c2" ,520 ,R8A779G0_CLK_S0D6_PER ), +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("wdt1:wdt0", 907, R8A779G0_CLK_R), };
Signature · 1 line
2.25.1
Geert Uytterhoeven
maintainerPATCH 3/4 clk: renesas: r8a779g0: Add PFC/GPIO clocks
In reply to Geert UytterhoevenAdd the module clocks used by the Pin Function Controller (PFC) and General Purpose Input/Output (GPIO) blocks 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 | 4 ++++ 1 file changed, 4 insertions(+)
drivers/clk/renesas/r8a779g0-cpg-mssr.c +4 -0
@@ -161,6 +161,10 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = {DEF_MOD ("i2c4" ,522 ,R8A779G0_CLK_S0D6_PER ),DEF_MOD ("i2c5" ,523 ,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 ), +DEF_MOD ("pfc2" ,917 ,R8A779G0_CLK_CL16M ), + DEF_MOD("pfc3", 918, R8A779G0_CLK_CL16M), };/*
Signature · 1 line
2.25.1
Geert Uytterhoeven
maintainerPATCH 4/4 clk: renesas: r8a779g0: Add EtherAVB clocks
In reply to Geert UytterhoevenAdd the module clocks used by the Ethernet AVB (EtherAVB-IF) blocks on the Renesas R-Car V4H (R8A779G0) SoC.
Based on a larger patch in the BSP by Kazuya Mizuguchi.
---
Changes compared to the BSP:
- Use S0D4_HSC instead of S0D8_HSC.
While the EtherAVB section in the R-Car V4H Hardware User's Manual Rev. 0.51 says the HP clock input is S0D8, the latter is not documented in the Clock Pulse Generator section.
As the RAVB driver doesn't use any clock properties, the actual clock doesn't matter much, though.
--- drivers/clk/renesas/r8a779g0-cpg-mssr.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/clk/renesas/r8a779g0-cpg-mssr.c +3 -0
@@ -150,6 +150,9 @@ static const struct cpg_core_clk r8a779g0_core_clks[] __initconst = { };static const struct mssr_mod_clk r8a779g0_mod_clks[]__initconst = { +DEF_MOD ("avb0" ,211 ,R8A779G0_CLK_S0D4_HSC ), +DEF_MOD ("avb1" ,212 ,R8A779G0_CLK_S0D4_HSC ), +DEF_MOD ("avb2" ,213 ,R8A779G0_CLK_S0D4_HSC ),DEF_MOD ("hscif0" ,514 ,R8A779G0_CLK_S0D3_PER ),DEF_MOD ("hscif1" ,515 ,R8A779G0_CLK_S0D3_PER ),DEF_MOD ("hscif2" ,516 ,R8A779G0_CLK_S0D3_PER ),
Signature · 1 line
2.25.1