diff mbox series

clk: renesas: r8a77970: add CMT clocks

Message ID d7c78a11-b876-0587-c684-88f1865f0260@cogentembedded.com (mailing list archive)
State Awaiting Upstream, archived
Headers show
Series clk: renesas: r8a77970: add CMT clocks | expand

Commit Message

Sergei Shtylyov Sept. 5, 2018, 4:59 p.m. UTC
Add the R8A77970 CMT module clocks.

Based on the original (and large) patch by Vladimir Barinov.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

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

Comments

Chris Paterson Sept. 6, 2018, 8:10 a.m. UTC | #1
Hello Sergei,

> From: linux-renesas-soc-owner@vger.kernel.org <linux-renesas-soc-
> owner@vger.kernel.org> On Behalf Of Sergei Shtylyov
> Sent: 05 September 2018 18:00
> 
> Add the R8A77970 CMT module clocks.
> 
> Based on the original (and large) patch by Vladimir Barinov.
> 
> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>

Kind regards, Chris

> 
> ---
>  drivers/clk/renesas/r8a77970-cpg-mssr.c |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> Index: renesas/drivers/clk/renesas/r8a77970-cpg-mssr.c
> ==========================================================
> =========
> --- renesas.orig/drivers/clk/renesas/r8a77970-cpg-mssr.c
> +++ renesas/drivers/clk/renesas/r8a77970-cpg-mssr.c
> @@ -118,6 +118,10 @@ static const struct mssr_mod_clk r8a7797
>  	DEF_MOD("mfis",			 213,
> 	R8A77970_CLK_S2D2),
>  	DEF_MOD("sys-dmac2",		 217,
> 	R8A77970_CLK_S2D1),
>  	DEF_MOD("sys-dmac1",		 218,
> 	R8A77970_CLK_S2D1),
> +	DEF_MOD("cmt3",			 300,	R8A77970_CLK_R),
> +	DEF_MOD("cmt2",			 301,	R8A77970_CLK_R),
> +	DEF_MOD("cmt1",			 302,	R8A77970_CLK_R),
> +	DEF_MOD("cmt0",			 303,	R8A77970_CLK_R),
>  	DEF_MOD("sd-if",		 314,	R8A77970_CLK_SD0),
>  	DEF_MOD("rwdt",			 402,	R8A77970_CLK_R),
>  	DEF_MOD("intc-ex",		 407,	R8A77970_CLK_CP),
Geert Uytterhoeven Sept. 6, 2018, 11:05 a.m. UTC | #2
On Wed, Sep 5, 2018 at 6:59 PM Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Add the R8A77970 CMT module clocks.
>
> Based on the original (and large) patch by Vladimir Barinov.
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in clk-renesas-for-v4.2.0.

Gr{oetje,eeting}s,

                        Geert
diff mbox series

Patch

Index: renesas/drivers/clk/renesas/r8a77970-cpg-mssr.c
===================================================================
--- renesas.orig/drivers/clk/renesas/r8a77970-cpg-mssr.c
+++ renesas/drivers/clk/renesas/r8a77970-cpg-mssr.c
@@ -118,6 +118,10 @@  static const struct mssr_mod_clk r8a7797
 	DEF_MOD("mfis",			 213,	R8A77970_CLK_S2D2),
 	DEF_MOD("sys-dmac2",		 217,	R8A77970_CLK_S2D1),
 	DEF_MOD("sys-dmac1",		 218,	R8A77970_CLK_S2D1),
+	DEF_MOD("cmt3",			 300,	R8A77970_CLK_R),
+	DEF_MOD("cmt2",			 301,	R8A77970_CLK_R),
+	DEF_MOD("cmt1",			 302,	R8A77970_CLK_R),
+	DEF_MOD("cmt0",			 303,	R8A77970_CLK_R),
 	DEF_MOD("sd-if",		 314,	R8A77970_CLK_SD0),
 	DEF_MOD("rwdt",			 402,	R8A77970_CLK_R),
 	DEF_MOD("intc-ex",		 407,	R8A77970_CLK_CP),