clk: renesas: r8a7796: Add CAN peripheral clock
authorChris Paterson <chris.paterson2@renesas.com>
Tue, 22 Nov 2016 13:46:00 +0000 (13:46 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 27 Dec 2016 09:56:07 +0000 (10:56 +0100)
Based on a patch for r8a7795 by Ramesh Shanmugasundaram.

Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r8a7796-cpg-mssr.c

index 7d298c57a3e060b6ea9a7ff8af36602706293e79..99b19ce29628fce83391022434764e1af49ebeea 100644 (file)
@@ -181,6 +181,8 @@ static const struct mssr_mod_clk r8a7796_mod_clks[] __initconst = {
        DEF_MOD("gpio2",                 910,   R8A7796_CLK_S3D4),
        DEF_MOD("gpio1",                 911,   R8A7796_CLK_S3D4),
        DEF_MOD("gpio0",                 912,   R8A7796_CLK_S3D4),
+       DEF_MOD("can-if1",               915,   R8A7796_CLK_S3D4),
+       DEF_MOD("can-if0",               916,   R8A7796_CLK_S3D4),
        DEF_MOD("i2c6",                  918,   R8A7796_CLK_S0D6),
        DEF_MOD("i2c5",                  919,   R8A7796_CLK_S0D6),
        DEF_MOD("i2c4",                  927,   R8A7796_CLK_S0D6),