From patchwork Thu Feb 28 13:52:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10833089 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-2.web.codeaurora.org (Postfix) with ESMTP id 9B14C1515 for ; Thu, 28 Feb 2019 13:53:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B25B2EEE0 for ; Thu, 28 Feb 2019 13:53:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 87C5D2EEB9; Thu, 28 Feb 2019 13:53:01 +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.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 89EA62EEEE for ; Thu, 28 Feb 2019 13:53:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731170AbfB1NxA (ORCPT ); Thu, 28 Feb 2019 08:53:00 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:43912 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726003AbfB1NxA (ORCPT ); Thu, 28 Feb 2019 08:53:00 -0500 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 6D18A25BEB5; Fri, 1 Mar 2019 00:52:52 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1551361972; bh=3CHcuMwkcczyvaFGiY62nzRBTrYTNHLM6wOEkkTrrTc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oTnRCKIuy1FJy+Vu7U2FdhZ9hSpb5m/oaii11uQRnf4MS3NhFwHWYC4F4P5fcE4qr VXGNSx0FIEI704p4Or8pY0rN1cqlUzOTuFrDyBLDchKyaKV4Y69BTV7LplTL5IXRRq /goA0Os8w1DfqzUVdT6BXHWueprfzmyIGz3M8QMg= Received: by reginn.horms.nl (Postfix, from userid 7100) id 7E91F94056F; Thu, 28 Feb 2019 14:52:50 +0100 (CET) From: Simon Horman To: Geert Uytterhoeven Cc: Magnus Damm , linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, Simon Horman Subject: [PATCH 4/4] [RFT] clk: renesas: r8a77995: Add ZG clock Date: Thu, 28 Feb 2019 14:52:46 +0100 Message-Id: <20190228135246.31714-5-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190228135246.31714-1-horms+renesas@verge.net.au> References: <20190228135246.31714-1-horms+renesas@verge.net.au> 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 Adds support for R-Car D3 (r8a77995) ZG clock. Signed-off-by: Simon Horman --- Compile tested only --- drivers/clk/renesas/r8a77995-cpg-mssr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c b/drivers/clk/renesas/r8a77995-cpg-mssr.c index eee3874865a9..0a13a1a7a909 100644 --- a/drivers/clk/renesas/r8a77995-cpg-mssr.c +++ b/drivers/clk/renesas/r8a77995-cpg-mssr.c @@ -76,6 +76,8 @@ static const struct cpg_core_clk r8a77995_core_clks[] __initconst = { /* Core Clock Outputs */ DEF_FIXED("z2", R8A77995_CLK_Z2, CLK_PLL0D3, 1, 1), + DEF_GEN3_Z("zg", R8A77995_CLK_ZG, CLK_TYPE_GEN3_Z, CLK_PLL0, + 5, CPG_FRQCRB, 24), DEF_FIXED("ztr", R8A77995_CLK_ZTR, CLK_PLL1, 6, 1), DEF_FIXED("zt", R8A77995_CLK_ZT, CLK_PLL1, 4, 1), DEF_FIXED("zx", R8A77995_CLK_ZX, CLK_PLL1, 3, 1),