From patchwork Wed Sep 5 16:59:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10589205 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 B97E1175A for ; Wed, 5 Sep 2018 16:59:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8DAF2A52D for ; Wed, 5 Sep 2018 16:59:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98A832A491; Wed, 5 Sep 2018 16:59:54 +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 858742A529 for ; Wed, 5 Sep 2018 16:59:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726335AbeIEVaz (ORCPT ); Wed, 5 Sep 2018 17:30:55 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:43208 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbeIEVaz (ORCPT ); Wed, 5 Sep 2018 17:30:55 -0400 Received: by mail-lf1-f67.google.com with SMTP id h64-v6so6600170lfi.10 for ; Wed, 05 Sep 2018 09:59:51 -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=7bDDO5J2+sAiA5YwMcvS9pXVaTO2XR9RfME1RCtpKSU=; b=ZYpsqUIzu6Lm9dCIrRICXHBzLGSZqdHRga1UV9LlqKeROEzF3OQsAH4oY80cbE6+St lZAnGlglAlaOXcM/EkZ8ot4ptvhHLBP2bCQldIH/DKMWXhHD3UCfjHoaoE4QWjZ1wXxp Z9aMoe/g9qjT6wIFZ97T8pcXh8rNTto4iHuD2E+7/ICvmAOUUUyJH+PVL8wiUuTk7f90 5WBQgtGPTH2f7ZKHUnnNy3hTZwSjgXLZHLKOYwlo5schWi7elK+1+XQoob4NGiw4L78M MYuFP6yv56rEaXlLM+UM+faoRr/I8GUshhLA1Zvi4iBUMstk2ojDpOS5ieVAHo7Qdu1D WiFg== 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=7bDDO5J2+sAiA5YwMcvS9pXVaTO2XR9RfME1RCtpKSU=; b=VDt6uSLlQWxxN9n8U0MiuW353zNGjhyOVW84l1bcwdkvkRa3X2XIXK08r7X4ph/Wpf 3GQE778CeKAynitjifWCUu/2qzYyezyAH65hAChB8NI/NaqxlghDpEwm1/9UrYkjwNTh iNoOe20mG/QOUMDd1IqELDp/hqu/JbnPeII41RxKqbJGyq5x4rM5t8u0Y8bww0MC/22H iL3bNHsZiPf5D1/wHZl+68hbl5LY+nfzcxW/JOvIQa0YywOdHNwoAncP+APQWG0RMOiY G2Fs5x6hHvLGUu0R19vJIqjrQ4lrIXP2vGaw+OjIXMcJSCIKCztBN05xcaP0ogHrlzlV P3dg== X-Gm-Message-State: APzg51C5vJnyv/4FQbc3gCnUmE4Pb4yVrq/uwO+N88WSPx+yAvoGKeYg KjqYmm4dFxP3OKzlQ2A6vuNp4YXFS3c= X-Google-Smtp-Source: ANB0VdZMbnN1kSBDGHvi5WNMTxwzCXpb0hIvPjX3K7lYYDHiO5bzp4n6cDWTMXMhY9proJKBgackIw== X-Received: by 2002:a19:ca09:: with SMTP id a9-v6mr23741251lfg.120.1536166790524; Wed, 05 Sep 2018 09:59:50 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.86.228]) by smtp.gmail.com with ESMTPSA id h90-v6sm410387lji.66.2018.09.05.09.59.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 09:59:49 -0700 (PDT) From: Sergei Shtylyov Subject: [PATCH] clk: renesas: r8a77970: 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: Date: Wed, 5 Sep 2018 19:59:48 +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 Add the R8A77970 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: Chris Paterson Reviewed-by: Geert Uytterhoeven --- 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),