From patchwork Fri Sep 9 11:43:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: bd-phuc@jinso.co.jp X-Patchwork-Id: 9323103 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0146B60869 for ; Fri, 9 Sep 2016 11:44:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7D6E29E1C for ; Fri, 9 Sep 2016 11:44:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC62829E29; Fri, 9 Sep 2016 11:44:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3816129E1C for ; Fri, 9 Sep 2016 11:44:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754577AbcIILoK (ORCPT ); Fri, 9 Sep 2016 07:44:10 -0400 Received: from www1246.sakura.ne.jp ([219.94.162.56]:19149 "EHLO www1246.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753017AbcIILoK (ORCPT ); Fri, 9 Sep 2016 07:44:10 -0400 Received: from fsav409.sakura.ne.jp (fsav409.sakura.ne.jp [133.242.250.108]) by www1246.sakura.ne.jp (8.14.5/8.14.5) with ESMTP id u89BhH5M013203; Fri, 9 Sep 2016 20:43:17 +0900 (JST) (envelope-from bd-phuc@jinso.co.jp) Received: from www1246.sakura.ne.jp (219.94.162.56) by fsav409.sakura.ne.jp (F-Secure/fsigk_smtp/530/fsav409.sakura.ne.jp); Fri, 09 Sep 2016 20:43:17 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/530/fsav409.sakura.ne.jp) Received: from localhost (p14010-ipadfx41marunouchi.tokyo.ocn.ne.jp [61.118.107.10]) (authenticated bits=0) by www1246.sakura.ne.jp (8.14.5/8.14.5) with ESMTP id u89BhHcg013196; Fri, 9 Sep 2016 20:43:17 +0900 (JST) (envelope-from bd-phuc@jinso.co.jp) From: bd-phuc@jinso.co.jp To: daniel.lezcano@linaro.org, tglx@linutronix.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org, geert+renesas@glider.be, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@vger.kernel.org, laurent.pinchart+renesas@ideasonboard.com, magnus.damm@gmail.com, horms@verge.net.au, kuninori.morimoto.gx@renesas.com, yoshihiro.shimoda.uh@renesas.com, ryusuke.sakato.bx@renesas.com, h-inayoshi@jinso.co.jp, cm-hiep@jinso.co.jp, nv-dung@jinso.co.jp Subject: [PATCH 4/8] clk: renesas: r8a7795: Add CMT clocks Date: Fri, 9 Sep 2016 20:43:10 +0900 Message-Id: <1473421394-9745-5-git-send-email-bd-phuc@jinso.co.jp> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473421394-9745-1-git-send-email-bd-phuc@jinso.co.jp> References: <1473421394-9745-1-git-send-email-bd-phuc@jinso.co.jp> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bui Duc Phuc This patch adds CMT module clocks for r8a7795 SoC. Signed-off-by: Bui Duc Phuc Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a7795-cpg-mssr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/clk/renesas/r8a7795-cpg-mssr.c b/drivers/clk/renesas/r8a7795-cpg-mssr.c index e38bf60..86968ea 100644 --- a/drivers/clk/renesas/r8a7795-cpg-mssr.c +++ b/drivers/clk/renesas/r8a7795-cpg-mssr.c @@ -123,6 +123,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),