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

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

index d359c92e13a65c00725f3a1178a1096babc0e226..61d061d34ecdabcc5681060ba4f367a5efeb0709 100644 (file)
@@ -122,6 +122,10 @@ static const struct mssr_mod_clk r8a7795_mod_clks[] __initconst = {
        DEF_MOD("sys-dmac2",             217,   R8A7795_CLK_S3D1),
        DEF_MOD("sys-dmac1",             218,   R8A7795_CLK_S3D1),
        DEF_MOD("sys-dmac0",             219,   R8A7795_CLK_S3D1),
+       DEF_MOD("cmt3",                  300,   R8A7795_CLK_R),
+       DEF_MOD("cmt2",                  301,   R8A7795_CLK_R),
+       DEF_MOD("cmt1",                  302,   R8A7795_CLK_R),
+       DEF_MOD("cmt0",                  303,   R8A7795_CLK_R),
        DEF_MOD("scif2",                 310,   R8A7795_CLK_S3D4),
        DEF_MOD("sdif3",                 311,   R8A7795_CLK_SD3),
        DEF_MOD("sdif2",                 312,   R8A7795_CLK_SD2),