clk: renesas: r8a7795: Add IMR clocks
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 13 Feb 2017 21:06:04 +0000 (00:06 +0300)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 6 Mar 2017 10:48:33 +0000 (11:48 +0100)
Add the IMR[0-3] clocks to the R8A7795 CPG/MSSR driver.

Based on the original (and large) patch by Konstantin Kozhevnikov
<Konstantin.Kozhevnikov@cogentembedded.com>.

Signed-off-by: Konstantin Kozhevnikov <Konstantin.Kozhevnikov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r8a7795-cpg-mssr.c

index bfffdb00df97254771b3c518a0fd824ffaf647b8..2add8218e0f7a6c0fea34e395bdfff38bf9e30ab 100644 (file)
@@ -208,6 +208,10 @@ static const struct mssr_mod_clk r8a7795_mod_clks[] __initconst = {
        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),