From patchwork Mon Jan 28 14:01:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10783725 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 D93D01390 for ; Mon, 28 Jan 2019 14:01:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C69F42AC70 for ; Mon, 28 Jan 2019 14:01:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BAEEF2AE3C; Mon, 28 Jan 2019 14:01:44 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3A3112AE3B for ; Mon, 28 Jan 2019 14:01:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=UVE88tSDbiymgEPq+aVi+5TNbkbMSLLvu59WuoM35OA=; b=EnK rXUWxIN/46LEMgCChtZ/XTsm9yUTAgjQAEfy4W3WDTCLHrOIcvQELRIr0UeyGCiL3AU/n6o9uySNq kbTbJoOa8ZtohkN57g9DVYIc+PwNblfC0SKi26yxSbBd3Vr2iIbYaO8ftFyFkWrE0bQbbOHO6dU8/ UpUM7rlCyqJAhA6W6zmuBpKfkjQiRmK8Ny7gXHDfqq2JpR2bE7lkpEDVjC+39xW+G0aoDhUJhLVbM cVprZNhWgeLCapsjpk8Gekk/OovrU2+dDcQpYC8NBCeXSMSdTeLe8Hmw2I3/kWPkVjyXjmySu00ok XdQXVlpxYNiQK07q5nILHoc6uBOfDYA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1go7Tp-0004Fp-VC; Mon, 28 Jan 2019 14:01:41 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1go7Tm-0004Ey-Be for linux-arm-kernel@lists.infradead.org; Mon, 28 Jan 2019 14:01:41 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id EE77025BE02; Tue, 29 Jan 2019 01:01:33 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1548684094; bh=4/VrSwFsbSxZTXcqJqHgjm6k/0gutHwhX5oDwYoN3VU=; h=From:To:Cc:Subject:Date:From; b=XGKbEVnqRy/ruQQTuvWYH1y4uDDgeLbaX7YP++j18ngR5LYEuugfZyVSwMkFrj4N2 nJz1M/zxQMKkBe0m9VwAfKaere5DeV3zaDONlvUTannyK4qE1Uhim+LNu3zULQbnLk HDd/w5UEY6WMvky/+FU7niHDLG4s5Ex3GKzJzfj4= Received: by reginn.horms.nl (Postfix, from userid 7100) id EC04E9403E0; Mon, 28 Jan 2019 15:01:31 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH] clk: renesas: r8a77990: Add Z2 clock Date: Mon, 28 Jan 2019 15:01:27 +0100 Message-Id: <20190128140127.17540-1-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190128_060138_549431_E7348512 X-CRM114-Status: UNSURE ( 8.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Horman , Magnus Damm , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Adds Z2 clock to CPG driver for the R-Car E3 (r8a77990) SoC. Signed-off-by: Simon Horman --- drivers/clk/renesas/r8a77990-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) Tested on top of renesas-devel-20190128-v5.0-rc4 in conjunction with "[PATCH/RFT] arm64: dts: renesas: r8a77990: Add OPPs table for cpu devices" https://patchwork.kernel.org/patch/10764359/ Test results to be posted to that thread shortly. diff --git a/drivers/clk/renesas/r8a77990-cpg-mssr.c b/drivers/clk/renesas/r8a77990-cpg-mssr.c index 9a278c75c918..a41a92fb8d48 100644 --- a/drivers/clk/renesas/r8a77990-cpg-mssr.c +++ b/drivers/clk/renesas/r8a77990-cpg-mssr.c @@ -79,6 +79,7 @@ static const struct cpg_core_clk r8a77990_core_clks[] __initconst = { DEF_RATE(".oco", CLK_OCO, 8 * 1000 * 1000), /* Core Clock Outputs */ + DEF_FIXED("z2", R8A77990_CLK_Z2, CLK_PLL0D4, 1, 1), DEF_FIXED("za2", R8A77990_CLK_ZA2, CLK_PLL0D24, 1, 1), DEF_FIXED("za8", R8A77990_CLK_ZA8, CLK_PLL0D8, 1, 1), DEF_FIXED("ztr", R8A77990_CLK_ZTR, CLK_PLL1, 6, 1),