Thread (3 messages) flat view 3 messages, 3 authors, 2019-01-28

Re: [PATCH] clk: renesas: r8a77990: Add Z2 clock

From: Simon Horman <horms@verge.net.au>
Date: 2019-01-28 16:35:53
Also in: linux-renesas-soc

On Mon, Jan 28, 2019 at 04:12:03PM +0100, Geert Uytterhoeven wrote:
Hi Simon,

On Mon, Jan 28, 2019 at 3:01 PM Simon Horman [off-list ref] wrote:
quoted
Adds Z2 clock to CPG driver for the R-Car E3 (r8a77990) SoC.

Signed-off-by: Simon Horman <redacted>
Thanks for your patch!
quoted
--- a/drivers/clk/renesas/r8a77990-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a77990-cpg-mssr.c
@@ -79,6 +79,7 @@ static const struct cpg_core_clk r8a77990_core_clks[] __initconst = {
        DEF_RATE(".oco",       CLK_OCO,            8 * 1000 * 1000),

        /* Core Clock Outputs */
+       DEF_FIXED("z2",        R8A77990_CLK_Z2,    CLK_PLL0D4,     1, 1),
According to R-Car Gen3 Hardware User's Manual rev. 1.50, the SYS-CPU
Divider 2 is controlled through the Z2FC bit field in the Frequency
Control Register C. So it is not a fixed clock, unlike on R-Car D3.
Thanks, I will look into that.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help