* [PATCH 0/2] Add RTC clocks for R9A09G077/87 @ 2026-06-15 14:39 Prabhakar 2026-06-15 14:39 ` [PATCH 1/2] dt-bindings: clock: renesas,r9a09g077/87: Add PCLKRTC clock ID Prabhakar 2026-06-15 14:39 ` [PATCH 2/2] clk: renesas: r9a09g077: Add RTC clocks Prabhakar 0 siblings, 2 replies; 7+ messages in thread From: Prabhakar @ 2026-06-15 14:39 UTC (permalink / raw) To: Geert Uytterhoeven, Michael Turquette, Stephen Boyd, Brian Masney, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Magnus Damm Cc: linux-kernel, linux-renesas-soc, linux-clk, devicetree, Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Hi all, This patch series adds RTC clocks for R9A09G077/87 SoCs. The first patch adds the PCLKRTC clock ID to the device tree bindings, and the second patch adds the RTC clocks to the Renesas R9A09G077 clock driver. Note this patch series applies on top of the patch series "Add PLL3 and LCDC_CLKD support for RZ/T2H and RZ/N2H" [0]. [0] https://lore.kernel.org/all/20260615104845.4122868-1-prabhakar.mahadev-lad.rj@bp.renesas.com/ Cheers, Prabhakar Lad Prabhakar (2): dt-bindings: clock: renesas,r9a09g077/87: Add PCLKRTC clock ID clk: renesas: r9a09g077: Add RTC clocks drivers/clk/renesas/r9a09g077-cpg.c | 4 +++- include/dt-bindings/clock/renesas,r9a09g077-cpg-mssr.h | 1 + include/dt-bindings/clock/renesas,r9a09g087-cpg-mssr.h | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) -- 2.54.0 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] dt-bindings: clock: renesas,r9a09g077/87: Add PCLKRTC clock ID 2026-06-15 14:39 [PATCH 0/2] Add RTC clocks for R9A09G077/87 Prabhakar @ 2026-06-15 14:39 ` Prabhakar 2026-06-15 16:22 ` Conor Dooley 2026-06-17 10:19 ` Geert Uytterhoeven 2026-06-15 14:39 ` [PATCH 2/2] clk: renesas: r9a09g077: Add RTC clocks Prabhakar 1 sibling, 2 replies; 7+ messages in thread From: Prabhakar @ 2026-06-15 14:39 UTC (permalink / raw) To: Geert Uytterhoeven, Michael Turquette, Stephen Boyd, Brian Masney, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Magnus Damm Cc: linux-kernel, linux-renesas-soc, linux-clk, devicetree, Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Add the peripheral clock ID definition for the Real-Time Clock (PCLKRTC) on the Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs. Note that the LCDC_CLKD clock is utilized as the operating clock source for the RTC IP. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> --- include/dt-bindings/clock/renesas,r9a09g077-cpg-mssr.h | 1 + include/dt-bindings/clock/renesas,r9a09g087-cpg-mssr.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/renesas,r9a09g077-cpg-mssr.h b/include/dt-bindings/clock/renesas,r9a09g077-cpg-mssr.h index f6cb8d649a46..aa47685f329a 100644 --- a/include/dt-bindings/clock/renesas,r9a09g077-cpg-mssr.h +++ b/include/dt-bindings/clock/renesas,r9a09g077-cpg-mssr.h @@ -35,5 +35,6 @@ #define R9A09G077_XSPI_CLK1 23 #define R9A09G077_PCLKCAN 24 #define R9A09G077_LCDC_CLKD 25 +#define R9A09G077_PCLKRTC 26 #endif /* __DT_BINDINGS_CLOCK_RENESAS_R9A09G077_CPG_H__ */ diff --git a/include/dt-bindings/clock/renesas,r9a09g087-cpg-mssr.h b/include/dt-bindings/clock/renesas,r9a09g087-cpg-mssr.h index 312e563b322e..1c73d0dcef18 100644 --- a/include/dt-bindings/clock/renesas,r9a09g087-cpg-mssr.h +++ b/include/dt-bindings/clock/renesas,r9a09g087-cpg-mssr.h @@ -35,5 +35,6 @@ #define R9A09G087_XSPI_CLK1 23 #define R9A09G087_PCLKCAN 24 #define R9A09G087_LCDC_CLKD 25 +#define R9A09G087_PCLKRTC 26 #endif /* __DT_BINDINGS_CLOCK_RENESAS_R9A09G087_CPG_H__ */ -- 2.54.0 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: clock: renesas,r9a09g077/87: Add PCLKRTC clock ID 2026-06-15 14:39 ` [PATCH 1/2] dt-bindings: clock: renesas,r9a09g077/87: Add PCLKRTC clock ID Prabhakar @ 2026-06-15 16:22 ` Conor Dooley 2026-06-17 10:19 ` Geert Uytterhoeven 1 sibling, 0 replies; 7+ messages in thread From: Conor Dooley @ 2026-06-15 16:22 UTC (permalink / raw) To: Prabhakar Cc: Geert Uytterhoeven, Michael Turquette, Stephen Boyd, Brian Masney, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Magnus Damm, linux-kernel, linux-renesas-soc, linux-clk, devicetree, Biju Das, Fabrizio Castro, Lad Prabhakar [-- Attachment #1: Type: text/plain, Size: 75 bytes --] Acked-by: Conor Dooley <conor.dooley@microchip.com> pw-bot: not-applicable [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: clock: renesas,r9a09g077/87: Add PCLKRTC clock ID 2026-06-15 14:39 ` [PATCH 1/2] dt-bindings: clock: renesas,r9a09g077/87: Add PCLKRTC clock ID Prabhakar 2026-06-15 16:22 ` Conor Dooley @ 2026-06-17 10:19 ` Geert Uytterhoeven 2026-06-17 20:49 ` Lad, Prabhakar 1 sibling, 1 reply; 7+ messages in thread From: Geert Uytterhoeven @ 2026-06-17 10:19 UTC (permalink / raw) To: Prabhakar Cc: Michael Turquette, Stephen Boyd, Brian Masney, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Magnus Damm, linux-kernel, linux-renesas-soc, linux-clk, devicetree, Biju Das, Fabrizio Castro, Lad Prabhakar Hi Prabhakar, Thanks for your patch! On Mon, 15 Jun 2026 at 16:40, Prabhakar <prabhakar.csengg@gmail.com> wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Add the peripheral clock ID definition for the Real-Time Clock (PCLKRTC) > on the Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs. > > Note that the LCDC_CLKD clock is utilized as the operating clock source PCLKRTC > for the RTC IP. > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> i.e. will queue in a branch shared by renesas-clk and renesas-dts with the above fixed. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: clock: renesas,r9a09g077/87: Add PCLKRTC clock ID 2026-06-17 10:19 ` Geert Uytterhoeven @ 2026-06-17 20:49 ` Lad, Prabhakar 0 siblings, 0 replies; 7+ messages in thread From: Lad, Prabhakar @ 2026-06-17 20:49 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Michael Turquette, Stephen Boyd, Brian Masney, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Magnus Damm, linux-kernel, linux-renesas-soc, linux-clk, devicetree, Biju Das, Fabrizio Castro, Lad Prabhakar Hi Geert, Thank you for the review. On Wed, Jun 17, 2026 at 11:19 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > Hi Prabhakar, > > Thanks for your patch! > > On Mon, 15 Jun 2026 at 16:40, Prabhakar <prabhakar.csengg@gmail.com> wrote: > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > Add the peripheral clock ID definition for the Real-Time Clock (PCLKRTC) > > on the Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs. > > > > Note that the LCDC_CLKD clock is utilized as the operating clock source > > PCLKRTC > Oops my bad! > > for the RTC IP. > > > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > i.e. will queue in a branch shared by renesas-clk and renesas-dts > with the above fixed. > Thank you for taking care of this issue. Cheers, Prabhakar > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/2] clk: renesas: r9a09g077: Add RTC clocks 2026-06-15 14:39 [PATCH 0/2] Add RTC clocks for R9A09G077/87 Prabhakar 2026-06-15 14:39 ` [PATCH 1/2] dt-bindings: clock: renesas,r9a09g077/87: Add PCLKRTC clock ID Prabhakar @ 2026-06-15 14:39 ` Prabhakar 2026-06-17 10:20 ` Geert Uytterhoeven 1 sibling, 1 reply; 7+ messages in thread From: Prabhakar @ 2026-06-15 14:39 UTC (permalink / raw) To: Geert Uytterhoeven, Michael Turquette, Stephen Boyd, Brian Masney, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Magnus Damm Cc: linux-kernel, linux-renesas-soc, linux-clk, devicetree, Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Add the core and module clock definitions for the Real-Time Clock (RTC) peripheral on the Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> --- drivers/clk/renesas/r9a09g077-cpg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/renesas/r9a09g077-cpg.c b/drivers/clk/renesas/r9a09g077-cpg.c index 873c41ae5606..5640c2035e5a 100644 --- a/drivers/clk/renesas/r9a09g077-cpg.c +++ b/drivers/clk/renesas/r9a09g077-cpg.c @@ -149,7 +149,7 @@ static const struct rzv2h_pll_limits r9a09g077_cpg_pll3_limits = { enum clk_ids { /* Core Clock Outputs exported to DT */ - LAST_DT_CORE_CLK = R9A09G077_LCDC_CLKD, + LAST_DT_CORE_CLK = R9A09G077_PCLKRTC, /* External Input Clocks */ CLK_EXTAL, @@ -337,6 +337,7 @@ static const struct cpg_core_clk r9a09g077_core_clks[] __initconst = { sel_clk_pll4d3_div10_div20, ARRAY_SIZE(sel_clk_pll4d3_div10_div20), 0), DEF_DIV_LCDC("LCDC_CLKD", R9A09G077_LCDC_CLKD, CLK_SEL_CLK_PLL3, LCDCDIVSEL, dtable_2_32), + DEF_FIXED("PCLKRTC", R9A09G077_PCLKRTC, CLK_EXTAL, 128, 1), }; static const struct mssr_mod_clk r9a09g077_mod_clks[] __initconst = { @@ -367,6 +368,7 @@ static const struct mssr_mod_clk r9a09g077_mod_clks[] __initconst = { DEF_MOD("sci5fck", 600, CLK_SCI5ASYNC), DEF_MOD("iic2", 601, R9A09G077_CLK_PCLKL), DEF_MOD("spi3", 602, CLK_SPI3ASYNC), + DEF_MOD("rtc", 605, R9A09G077_CLK_PCLKL), DEF_MOD("lcdc", 1204, R9A09G077_CLK_PCLKAL), DEF_MOD("sdhi0", 1212, R9A09G077_CLK_PCLKAM), DEF_MOD("sdhi1", 1213, R9A09G077_CLK_PCLKAM), -- 2.54.0 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] clk: renesas: r9a09g077: Add RTC clocks 2026-06-15 14:39 ` [PATCH 2/2] clk: renesas: r9a09g077: Add RTC clocks Prabhakar @ 2026-06-17 10:20 ` Geert Uytterhoeven 0 siblings, 0 replies; 7+ messages in thread From: Geert Uytterhoeven @ 2026-06-17 10:20 UTC (permalink / raw) To: Prabhakar Cc: Michael Turquette, Stephen Boyd, Brian Masney, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Magnus Damm, linux-kernel, linux-renesas-soc, linux-clk, devicetree, Biju Das, Fabrizio Castro, Lad Prabhakar On Mon, 15 Jun 2026 at 16:40, Prabhakar <prabhakar.csengg@gmail.com> wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Add the core and module clock definitions for the Real-Time Clock (RTC) > peripheral on the Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs. > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> i.e. will queue in renesas-clk for v7.3. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-06-17 20:49 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-06-15 14:39 [PATCH 0/2] Add RTC clocks for R9A09G077/87 Prabhakar 2026-06-15 14:39 ` [PATCH 1/2] dt-bindings: clock: renesas,r9a09g077/87: Add PCLKRTC clock ID Prabhakar 2026-06-15 16:22 ` Conor Dooley 2026-06-17 10:19 ` Geert Uytterhoeven 2026-06-17 20:49 ` Lad, Prabhakar 2026-06-15 14:39 ` [PATCH 2/2] clk: renesas: r9a09g077: Add RTC clocks Prabhakar 2026-06-17 10:20 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox