From patchwork Wed Jan 17 15:41:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 10169623 X-Patchwork-Delegate: geert@linux-m68k.org 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 BE2A7603ED for ; Wed, 17 Jan 2018 15:42:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD7F5283AD for ; Wed, 17 Jan 2018 15:42:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A286128676; Wed, 17 Jan 2018 15:42:17 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 2FB9F283AD for ; Wed, 17 Jan 2018 15:42:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753629AbeAQPmQ (ORCPT ); Wed, 17 Jan 2018 10:42:16 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:46896 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753538AbeAQPmG (ORCPT ); Wed, 17 Jan 2018 10:42:06 -0500 Received: by mail-wm0-f68.google.com with SMTP id 143so16002338wma.5 for ; Wed, 17 Jan 2018 07:42:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=wT5U257V/O7rJNByp4o+v25KZ1tViZQr7XP/taAHTRQ=; b=QKQQons8Pfnkz1qB0jSWfVLtklyYZYLqBdR9LXgB6wdYkA1qdzukr4sUxbn+/NFyMZ QQIs9DNDBzbWcA034VEuQlRXisZsycGqkGAHgXAw+XEyOkObZsfez3TtjA+X2h4UI7w4 FUCxvxOoxctZJaT4YQgb309861YuZb/cncRzTBcVf4AN0HxHVrsemRM7N7eBv9iTLxEM 7wiIcooq1+R2QHM7VxqrRGnB+l948g7ugyTf8kA3RelWQvVaKh9/BW67U1RAnLqKuaUo fw+AUIFh8alOtJvqFw/P08lBh816Z4XfFN3GhLRF3hO9gczp1Omp8rHBZwwgLW1XzB94 fxdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=wT5U257V/O7rJNByp4o+v25KZ1tViZQr7XP/taAHTRQ=; b=dQcsCli447eiTsycTZSTpdNWmZj7sroZ/J/emhMtlmT1iizdwSIBv5CH0BI6cMCbfH 9bkgHsmnp7HWCVcTTk3NQf2m0BH6n7HPVLtMLLCCx5nFsYGW44B3xKSch63s3GAPbUDX DD+wy9WGlRPGlIKLEpBlMDR9xRz0+u5l8Ume2eAd9EN9j/9FsXA3jmfxae46u4u9j7Vf 1fc9vLbZQO4zsEkr3feZTWNI5D8U0ckjobECxZ5yzkfaLPSxdHBiGjxU7bzHO9t3CD4s /1oHsO579Z1FwZ2s4lP3RgjuGSLi9q5cHGxaHaUNYGeSaZN1qlxNTeM06DKPqXK8LJzi WBFA== X-Gm-Message-State: AKwxytdyQE3nWe+aDFG7RXNk8JfMKWcJM8wZn7qtBfNd2FR/Yg+yoGpI 4iX3mhk3jMbbpIml1UiHuarZaLo= X-Google-Smtp-Source: ACJfBov2xX8zeYFcrMslp//mbtaDC/LKsx/tfiK3LnsPQYNhH4tg8bklFJwYZcrM6GxNVe3iqHfQbg== X-Received: by 10.28.55.129 with SMTP id e123mr2415122wma.156.1516203724635; Wed, 17 Jan 2018 07:42:04 -0800 (PST) Received: from groucho.site (ipbcc3b860.dynamic.kabel-deutschland.de. [188.195.184.96]) by smtp.gmail.com with ESMTPSA id l9sm8486510wrb.91.2018.01.17.07.42.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Jan 2018 07:42:03 -0800 (PST) From: Ulrich Hecht To: linux-renesas-soc@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, magnus.damm@gmail.com, geert@linux-m68k.org, Ulrich Hecht , Takeshi Kihara Subject: [PATCH 1/2] clk: renesas: r8a7796: Add ZG clock Date: Wed, 17 Jan 2018 16:41:55 +0100 Message-Id: <1516203716-4606-2-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516203716-4606-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1516203716-4606-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds ZG clock for R8A7796 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Ulrich Hecht Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a7796-cpg-mssr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/renesas/r8a7796-cpg-mssr.c b/drivers/clk/renesas/r8a7796-cpg-mssr.c index dfb267a..f75adcf 100644 --- a/drivers/clk/renesas/r8a7796-cpg-mssr.c +++ b/drivers/clk/renesas/r8a7796-cpg-mssr.c @@ -76,6 +76,7 @@ static const struct cpg_core_clk r8a7796_core_clks[] __initconst = { /* Core Clock Outputs */ DEF_BASE("z", R8A7796_CLK_Z, CLK_TYPE_GEN3_Z, CLK_PLL0), DEF_BASE("z2", R8A7796_CLK_Z2, CLK_TYPE_GEN3_Z2, CLK_PLL2), + DEF_BASE("zg", R8A7796_CLK_ZG, CLK_TYPE_GEN3_ZG, CLK_PLL4), DEF_FIXED("ztr", R8A7796_CLK_ZTR, CLK_PLL1_DIV2, 6, 1), DEF_FIXED("ztrd2", R8A7796_CLK_ZTRD2, CLK_PLL1_DIV2, 12, 1), DEF_FIXED("zt", R8A7796_CLK_ZT, CLK_PLL1_DIV2, 4, 1), @@ -117,6 +118,7 @@ static const struct cpg_core_clk r8a7796_core_clks[] __initconst = { }; static const struct mssr_mod_clk r8a7796_mod_clks[] __initconst = { + DEF_MOD("3dge", 112, R8A7796_CLK_ZG), DEF_MOD("fdp1-0", 119, R8A7796_CLK_S0D1), DEF_MOD("scif5", 202, R8A7796_CLK_S3D4), DEF_MOD("scif4", 203, R8A7796_CLK_S3D4),