clk: renesas: r8a7796: Add CMT clocks
authorBui Duc Phuc <bd-phuc@jinso.co.jp>
Fri, 9 Sep 2016 11:43:11 +0000 (20:43 +0900)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 12 Sep 2016 09:08:01 +0000 (11:08 +0200)
This patch adds CMT module clocks for r8a7796 SoC.

Signed-off-by: Bui Duc Phuc <bd-phuc@jinso.co.jp>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r8a7796-cpg-mssr.c

index 8b69f706d2b4fd063cbc564d99fc33f949d82fb0..eb347ed265f2adfa7f051f8d15493c45870589b3 100644 (file)
@@ -109,6 +109,10 @@ static const struct cpg_core_clk r8a7796_core_clks[] __initconst = {
 };
 
 static const struct mssr_mod_clk r8a7796_mod_clks[] __initconst = {
+       DEF_MOD("cmt3",                  300,   R8A7796_CLK_R),
+       DEF_MOD("cmt2",                  301,   R8A7796_CLK_R),
+       DEF_MOD("cmt1",                  302,   R8A7796_CLK_R),
+       DEF_MOD("cmt0",                  303,   R8A7796_CLK_R),
        DEF_MOD("scif2",                 310,   R8A7796_CLK_S3D4),
        DEF_MOD("sdif3",                 311,   R8A7796_CLK_SD3),
        DEF_MOD("sdif2",                 312,   R8A7796_CLK_SD2),