* [PATCH 1/4] clk: renesas: r8a779g0: Add watchdog clock
2022-09-09 9:25 [PATCH 0/4] clk: renesas: Add more R-Car V4H clocks Geert Uytterhoeven
@ 2022-09-09 9:25 ` Geert Uytterhoeven
2022-09-09 9:25 ` [PATCH 2/4] clk: renesas: r8a779g0: Add I2C clocks Geert Uytterhoeven
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2022-09-09 9:25 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd
Cc: linux-renesas-soc, linux-clk, Geert Uytterhoeven
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.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/clk/renesas/r8a779g0-cpg-mssr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/renesas/r8a779g0-cpg-mssr.c b/drivers/clk/renesas/r8a779g0-cpg-mssr.c
index 3fc4233b1ead87c5..2afad6171fc3c138 100644
--- a/drivers/clk/renesas/r8a779g0-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a779g0-cpg-mssr.c
@@ -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),
};
/*
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 2/4] clk: renesas: r8a779g0: Add I2C clocks
2022-09-09 9:25 [PATCH 0/4] clk: renesas: Add more R-Car V4H clocks Geert Uytterhoeven
2022-09-09 9:25 ` [PATCH 1/4] clk: renesas: r8a779g0: Add watchdog clock Geert Uytterhoeven
@ 2022-09-09 9:25 ` Geert Uytterhoeven
2022-09-09 9:25 ` [PATCH 3/4] clk: renesas: r8a779g0: Add PFC/GPIO clocks Geert Uytterhoeven
2022-09-09 9:25 ` [PATCH 4/4] clk: renesas: r8a779g0: Add EtherAVB clocks Geert Uytterhoeven
3 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2022-09-09 9:25 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd
Cc: linux-renesas-soc, linux-clk, Geert Uytterhoeven
Add 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.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/clk/renesas/r8a779g0-cpg-mssr.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/clk/renesas/r8a779g0-cpg-mssr.c b/drivers/clk/renesas/r8a779g0-cpg-mssr.c
index 2afad6171fc3c138..77c119c2aece203c 100644
--- a/drivers/clk/renesas/r8a779g0-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a779g0-cpg-mssr.c
@@ -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),
};
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 3/4] clk: renesas: r8a779g0: Add PFC/GPIO clocks
2022-09-09 9:25 [PATCH 0/4] clk: renesas: Add more R-Car V4H clocks Geert Uytterhoeven
2022-09-09 9:25 ` [PATCH 1/4] clk: renesas: r8a779g0: Add watchdog clock Geert Uytterhoeven
2022-09-09 9:25 ` [PATCH 2/4] clk: renesas: r8a779g0: Add I2C clocks Geert Uytterhoeven
@ 2022-09-09 9:25 ` Geert Uytterhoeven
2022-09-09 9:25 ` [PATCH 4/4] clk: renesas: r8a779g0: Add EtherAVB clocks Geert Uytterhoeven
3 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2022-09-09 9:25 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd
Cc: linux-renesas-soc, linux-clk, Geert Uytterhoeven
Add 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.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/clk/renesas/r8a779g0-cpg-mssr.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/clk/renesas/r8a779g0-cpg-mssr.c b/drivers/clk/renesas/r8a779g0-cpg-mssr.c
index 77c119c2aece203c..d40ad40e4b76863d 100644
--- a/drivers/clk/renesas/r8a779g0-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a779g0-cpg-mssr.c
@@ -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),
};
/*
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 4/4] clk: renesas: r8a779g0: Add EtherAVB clocks
2022-09-09 9:25 [PATCH 0/4] clk: renesas: Add more R-Car V4H clocks Geert Uytterhoeven
` (2 preceding siblings ...)
2022-09-09 9:25 ` [PATCH 3/4] clk: renesas: r8a779g0: Add PFC/GPIO clocks Geert Uytterhoeven
@ 2022-09-09 9:25 ` Geert Uytterhoeven
3 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2022-09-09 9:25 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd
Cc: linux-renesas-soc, linux-clk, Geert Uytterhoeven
Add 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.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
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(+)
diff --git a/drivers/clk/renesas/r8a779g0-cpg-mssr.c b/drivers/clk/renesas/r8a779g0-cpg-mssr.c
index d40ad40e4b76863d..9641122133b54f9a 100644
--- a/drivers/clk/renesas/r8a779g0-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a779g0-cpg-mssr.c
@@ -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),
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread