From patchwork Sat Sep 1 18:54:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10584885 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 39843139B for ; Sat, 1 Sep 2018 18:54:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A7C429D8B for ; Sat, 1 Sep 2018 18:54:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE56229CBA; Sat, 1 Sep 2018 18:54:32 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 8843D29D1E for ; Sat, 1 Sep 2018 18:54:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726968AbeIAXH0 (ORCPT ); Sat, 1 Sep 2018 19:07:26 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:39648 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726971AbeIAXH0 (ORCPT ); Sat, 1 Sep 2018 19:07:26 -0400 Received: by mail-lf1-f65.google.com with SMTP id v77-v6so2745759lfa.6 for ; Sat, 01 Sep 2018 11:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=f8rf3VhSyCzLdQCLBcQPZt9bQuQk+M6SwII51vt63+Q=; b=ENzlMwb5PlEM2TwBgORfDAOUghu7ufWG1RXu7+TORkLLiQOrkovu8Zn4c3L/GLc86E hroLOtvLbiLZHkuSASGlGLbXrtM80TwAZQQP/WfN8kFewjW4BC8TYIF7DOswu/7krKCT 0Ev/RgLstG1Qvm0qaJ0ANrxhDi/VYH41bTYr412M9bHn49MLs3sGv3umXh+z5ywQGXm6 ct2qx3oUzDMXtLhoF3dwZnOErh+CotyhQSIGjUrmFHdqhKBw1o0fReapMdRQumcJBBcC P86XZbgXA3Fy7dTZg2jPnhOmOL1a81f+HC/iGS/9T8grAINcZuVPZUyMtHCMKPBc/9/m hv5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=f8rf3VhSyCzLdQCLBcQPZt9bQuQk+M6SwII51vt63+Q=; b=GuYLcCd2bsqjUuSUXmCby41YVD7RY91eIYWF5A58jjtmfhuV3zDBG+hcabyX9wi6FS Sva9J6fuFq+hlWrIx0nB+/S8MllykAKM5vw2Px4AiCutUGNPCxskucroevwfbLyz+xyY 1/DXD0xDGBNUzw/zEWfAXDOdEq6YPtSWiUnBFw8cj0q4oReGAAAsmnFiw0GnWYOrndK9 v3kresqU2yijj5RG6ddrq314CvSw+FrIPTLdxmXXTAdUAIbtfm4EZBK2ZajtIE2RFNvx I14UNMrBlJ92b72Nu8SvLmt6C9gUwVygCcJHd8958lQKH7tj+WUqFbRGe/puYs9vHlj2 xzsQ== X-Gm-Message-State: APzg51C/gyym13WvxiuK06lEOkyZ5Ff+We6VFh8hJfOjz6ferGm+G1E5 k0hD5cbwJYxN/pASZJCpI4lDuVw7WP4= X-Google-Smtp-Source: ANB0VdZHN+ObBTyv7f61GPhplUyjDU3Pj14de+caR5QXAkdWlg9QNAuTj1hpe8pqfBzMqh8HS/+0iQ== X-Received: by 2002:a19:2287:: with SMTP id i129-v6mr13364341lfi.20.1535828069510; Sat, 01 Sep 2018 11:54:29 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.80.63]) by smtp.gmail.com with ESMTPSA id w14-v6sm2387831ljh.71.2018.09.01.11.54.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Sep 2018 11:54:28 -0700 (PDT) From: Sergei Shtylyov Subject: [PATCH] clk: renesas: r8a77980: add CMT clocks To: "linux-renesas-soc@vger.kernel.org" , Michael Turquette , Stephen Boyd , Geert Uytterhoeven , linux-clk@vger.kernel.org References: <5b7895ac-11c1-ac2d-837b-56726bc6226a@cogentembedded.com> Organization: Cogent Embedded Message-ID: <32394fbc-1b10-5708-2769-38cc2eff5042@cogentembedded.com> Date: Sat, 1 Sep 2018 21:54:27 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <5b7895ac-11c1-ac2d-837b-56726bc6226a@cogentembedded.com> Content-Language: en-MW Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Now that RCLK has been added by Geert, we can add the CMT module clocks. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- This patch is against the 'clk-renesas' branch of Geert's 'renesas-drivers.git' repo. drivers/clk/renesas/r8a77980-cpg-mssr.c | 4 ++++ 1 file changed, 4 insertions(+) Index: renesas-drivers/drivers/clk/renesas/r8a77980-cpg-mssr.c =================================================================== --- renesas-drivers.orig/drivers/clk/renesas/r8a77980-cpg-mssr.c +++ renesas-drivers/drivers/clk/renesas/r8a77980-cpg-mssr.c @@ -119,6 +119,10 @@ static const struct mssr_mod_clk r8a7798 DEF_MOD("msiof0", 211, R8A77980_CLK_MSO), DEF_MOD("sys-dmac2", 217, R8A77980_CLK_S0D3), DEF_MOD("sys-dmac1", 218, R8A77980_CLK_S0D3), + DEF_MOD("cmt3", 300, R8A77980_CLK_R), + DEF_MOD("cmt2", 301, R8A77980_CLK_R), + DEF_MOD("cmt1", 302, R8A77980_CLK_R), + DEF_MOD("cmt0", 303, R8A77980_CLK_R), DEF_MOD("tpu0", 304, R8A77980_CLK_S3D4), DEF_MOD("sdif", 314, R8A77980_CLK_SD0), DEF_MOD("pciec0", 319, R8A77980_CLK_S2D2),