Skip to content

clk: renesas: R-Car V3M/V3H: Add Z2 clocks

Geert Uytterhoeven linux-clk linux-renesas-soc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clk: renesas: r8a77970: Add Z2 clockdrivers/clk/renesas/r8a77970-cpg-mssr.c+1 -00 replies
2/2clk: renesas: r8a77980: Add Z2 clockdrivers/clk/renesas/r8a77980-cpg-mssr.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] clk: renesas: R-Car V3M/V3H: Add Z2 clocks

Hi all,

This patch series adds support for the Z2 (Cortex-A53 System CPU) clocks on the Renesas R-Car V3M and V3H SoCs. These clocks use a fixed SYS-CPU divider.

Note that the BSP went to great lengths to describe them as programmable Z clocks, like on most other R-Car Gen3 SoCs, but add quirks to the Z clock driver to use a fixed divider when running on R-Car V3M or V3H. I chose the simpler way...

According to R-Car Series, 3rd Generation Hardware User’s Manual Rev. 2.30 and earlier, the SYS-CPU dividers on R-Car V3M and V3H are fixed dividers. Furthermore, the Frequency control register C, which is used on other SoCs to control the SYS-CPU divider, is documented not to exist on these SoCs (but empirical evidence shows that it does exist, and that the Z2FC field works as expected (tested on Eagle and Condor)).

I intend to queue this series in renesas-clk-for-v6.4.

Thanks for your comments!

Geert Uytterhoeven (2):
clk: renesas: r8a77970: Add Z2 clock
clk: renesas: r8a77980: Add Z2 clock

 drivers/clk/renesas/r8a77970-cpg-mssr.c | 1 +
 drivers/clk/renesas/r8a77980-cpg-mssr.c | 1 +
 2 files changed, 2 insertions(+)
Signature · 12 lines
2.34.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