From patchwork Wed Feb 26 20:28:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 11407255 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 644E61580 for ; Wed, 26 Feb 2020 20:28:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 36AFC2072D for ; Wed, 26 Feb 2020 20:28:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=fpond.eu header.i=@fpond.eu header.b="LtJe7cKx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727401AbgBZU2j (ORCPT ); Wed, 26 Feb 2020 15:28:39 -0500 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.83]:32399 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727451AbgBZU2j (ORCPT ); Wed, 26 Feb 2020 15:28:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1582748918; s=strato-dkim-0002; d=fpond.eu; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=fykmrfpkOJ5Mrt1IHem2VsBOVaH9TO2J07O4d8FCkpU=; b=LtJe7cKxYoY97CjlxuT1JHfJ3tkV5rlllCbOu4G4rlWm5W6mq9PIkr+balfG3gEcWa sFABwz7RgWP3m0w8MZmawPA6HO/dYvtwJczC2DijdzeBnmdG9nSx71hnRbAKOwVylqbX 7TqNpCvXma186xGFVaY/O2lxGs5MUipg2MVWY40/CFVrS9OOOuF0+jqLxZfobI3/oCZA F9A29wfq86pcJXghdmALKbyZTxWgkI/ONZjKaC5ak95Ap0hITK++Y4Wv4PT1cZT0jd2m y7p9PrUvNHla5E4KYgcF3VrXsKnxY4L5S4t+uRads/H1752lRBcvqkbz5LWXC7RNFqix 45Tg== X-RZG-AUTH: ":OWANVUa4dPFUgKR/3dpvnYP0Np73dmm4I5W0/AvA67Ot4fvR8GNcd21/dZ4=" X-RZG-CLASS-ID: mo00 Received: from groucho.site by smtp.strato.de (RZmta 46.1.12 DYNA|AUTH) with ESMTPSA id L09b9cw1QKSRWO5 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Wed, 26 Feb 2020 21:28:27 +0100 (CET) From: Ulrich Hecht To: linux-renesas-soc@vger.kernel.org Cc: wsa@the-dreams.de, geert@linux-m68k.org, fabrizio.castro@bp.renesas.com, ramesh.shanmugasundaram@bp.renesas.com, magnus.damm@gmail.com, Ulrich Hecht Subject: [PATCH 07/11] clk: renesas: r8a774a1: mark RWDT clock as ignore-unused Date: Wed, 26 Feb 2020 21:28:13 +0100 Message-Id: <1582748897-17374-8-git-send-email-uli+renesas@fpond.eu> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1582748897-17374-1-git-send-email-uli+renesas@fpond.eu> References: <1582748897-17374-1-git-send-email-uli+renesas@fpond.eu> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Ensures RWDT remains alert throughout the boot process if enabled. Signed-off-by: Ulrich Hecht --- drivers/clk/renesas/r8a774a1-cpg-mssr.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/clk/renesas/r8a774a1-cpg-mssr.c b/drivers/clk/renesas/r8a774a1-cpg-mssr.c index e05bfa2..ec48727 100644 --- a/drivers/clk/renesas/r8a774a1-cpg-mssr.c +++ b/drivers/clk/renesas/r8a774a1-cpg-mssr.c @@ -239,6 +239,9 @@ static const struct mssr_mod_clk r8a774a1_mod_clks[] __initconst = { static const unsigned int r8a774a1_crit_mod_clks[] __initconst = { MOD_CLK_ID(408), /* INTC-AP (GIC) */ }; +static const unsigned int r8a774a1_used_mod_clks[] __initconst = { + MOD_CLK_ID(402), /* RWDT */ +}; /* * CPG Clock Data @@ -324,6 +327,8 @@ const struct cpg_mssr_info r8a774a1_cpg_mssr_info __initconst = { /* Critical Module Clocks */ .crit_mod_clks = r8a774a1_crit_mod_clks, .num_crit_mod_clks = ARRAY_SIZE(r8a774a1_crit_mod_clks), + .used_mod_clks = r8a774a1_used_mod_clks, + .num_used_mod_clks = ARRAY_SIZE(r8a774a1_used_mod_clks), /* Callbacks */ .init = r8a774a1_cpg_mssr_init,