Skip to contentSkip to conversation

clk: renesas: cpg-mssr: r8a7795: add IMR clocks

PATCH In review Sergei Shtylyov 2 participants 2 messages Feb 13, 2017 – Feb 15, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: renesas: cpg-mssr: r8a7795: add IMR clocks

Add the IMR[0-3] clocks to the R8A7795 CPG/MSSR driver.

Based on the original (and large) patch by Konstantin Kozhevnikov <[email protected]>.

---
This patch is against the 'clk-next' branch of CLK group's 'linux.git' repo.

 drivers/clk/renesas/r8a7795-cpg-mssr.c |    4 ++++
 1 file changed, 4 insertions(+)
drivers/clk/renesas/r8a7795-cpg-mssr.c +4 -0
Index: linux/drivers/clk/renesas/r8a7795-cpg-mssr.c
===================================================================
@@ -208,6 +208,10 @@ static const struct mssr_mod_clk r8a7795
 	DEF_MOD("vin0",			 811,	R8A7795_CLK_S2D1),
 	DEF_MOD("etheravb",		 812,	R8A7795_CLK_S3D2),
 	DEF_MOD("sata0",		 815,	R8A7795_CLK_S3D2),
+	DEF_MOD("imr3",			 820,	R8A7795_CLK_S2D1),
+	DEF_MOD("imr2",			 821,	R8A7795_CLK_S2D1),
+	DEF_MOD("imr1",			 822,	R8A7795_CLK_S2D1),
+	DEF_MOD("imr0",			 823,	R8A7795_CLK_S2D1),
 	DEF_MOD("gpio7",		 905,	R8A7795_CLK_CP),
 	DEF_MOD("gpio6",		 906,	R8A7795_CLK_CP),
 	DEF_MOD("gpio5",		 907,	R8A7795_CLK_CP),
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Sergei Shtylyov

Add the IMR[0-3] clocks to the R8A7795 CPG/MSSR driver.

Based on the original (and large) patch by Konstantin Kozhevnikov <[email protected]>.

I cannot verify the parent clocks for H3 ES1.x, but they match the parent clocks for the VSPs.

Will queue in clk-renesas-for-v4.12.

Quoted 11 lines

---
This patch is against the 'clk-next' branch of CLK group's 'linux.git' repo.

 drivers/clk/renesas/r8a7795-cpg-mssr.c |    4 ++++
 1 file changed, 4 insertions(+)

Index: linux/drivers/clk/renesas/r8a7795-cpg-mssr.c
===================================================================

drivers/clk/renesas/r8a7795-cpg-mssr.c static const struct mssr_mod_clk r8a7795 · line 217

Quoted 10 lines
drivers/clk/renesas/r8a7795-cpg-mssr.c +4 -0
@@ -208,6 +208,10 @@ static const struct mssr_mod_clk r8a7795
        DEF_MOD("vin0",                  811,   R8A7795_CLK_S2D1),
        DEF_MOD("etheravb",              812,   R8A7795_CLK_S3D2),
        DEF_MOD("sata0",                 815,   R8A7795_CLK_S3D2),
+       DEF_MOD("imr3",                  820,   R8A7795_CLK_S2D1),
+       DEF_MOD("imr2",                  821,   R8A7795_CLK_S2D1),
+       DEF_MOD("imr1",                  822,   R8A7795_CLK_S2D1),
+       DEF_MOD("imr0",                  823,   R8A7795_CLK_S2D1),
        DEF_MOD("gpio7",                 905,   R8A7795_CLK_CP),
        DEF_MOD("gpio6",                 906,   R8A7795_CLK_CP),
        DEF_MOD("gpio5",                 907,   R8A7795_CLK_CP),

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