All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Wim Van Sebroeck <wim@linux-watchdog.org>,
	Rob Herring <robh+dt@kernel.org>,
	Magnus Damm <magnus.damm@gmail.com>,
	Wolfram Sang <wsa+renesas@sang-engineering.com>,
	LUU HOAI <hoai.luu.ub@renesas.com>,
	linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	linux-watchdog@vger.kernel.org,
	linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 1/5] clk: renesas: r8a779f0: Add WDT clock
Date: Mon, 14 Feb 2022 07:50:49 -0800	[thread overview]
Message-ID: <20220214155049.GA78279@roeck-us.net> (raw)
In-Reply-To: <8d9b280065a663f2cf31db7b21a010aa781a0af1.1642525158.git.geert+renesas@glider.be>

On Tue, Jan 18, 2022 at 06:09:01PM +0100, Geert Uytterhoeven wrote:
> Add the module clock used by the RCLK Watchdog Timer (RWDT) on the
> Renesas R-Car S4-8 (r8a779f0) SoC.  Mark it as a critical clock, to
> ensure uninterrupted watchdog operation.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Acked-by: Guenter Roeck <linux@roeck-us.net>

> ---
>  drivers/clk/renesas/r8a779f0-cpg-mssr.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/clk/renesas/r8a779f0-cpg-mssr.c b/drivers/clk/renesas/r8a779f0-cpg-mssr.c
> index 4100078406d67073..e48c5af7341454a7 100644
> --- a/drivers/clk/renesas/r8a779f0-cpg-mssr.c
> +++ b/drivers/clk/renesas/r8a779f0-cpg-mssr.c
> @@ -121,6 +121,11 @@ static const struct mssr_mod_clk r8a779f0_mod_clks[] __initconst = {
>  	DEF_MOD("scif4",	705,	R8A779F0_CLK_S0D12_PER),
>  	DEF_MOD("sys-dmac0",	709,	R8A779F0_CLK_S0D3_PER),
>  	DEF_MOD("sys-dmac1",	710,	R8A779F0_CLK_S0D3_PER),
> +	DEF_MOD("wdt",		907,	R8A779F0_CLK_R),
> +};
> +
> +static const unsigned int r8a779f0_crit_mod_clks[] __initconst = {
> +	MOD_CLK_ID(907),	/* WDT */
>  };
>  
>  /*
> @@ -177,6 +182,10 @@ const struct cpg_mssr_info r8a779f0_cpg_mssr_info __initconst = {
>  	.num_mod_clks = ARRAY_SIZE(r8a779f0_mod_clks),
>  	.num_hw_mod_clks = 28 * 32,
>  
> +	/* Critical Module Clocks */
> +	.crit_mod_clks = r8a779f0_crit_mod_clks,
> +	.num_crit_mod_clks = ARRAY_SIZE(r8a779f0_crit_mod_clks),
> +
>  	/* Callbacks */
>  	.init = r8a779f0_cpg_mssr_init,
>  	.cpg_clk_register = rcar_gen4_cpg_clk_register,

  parent reply	other threads:[~2022-02-14 15:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-18 17:09 [PATCH 0/5] arm64: renesas: Add R-Car S4-8 watchdog support on Spider Geert Uytterhoeven
2022-01-18 17:09 ` [PATCH 1/5] clk: renesas: r8a779f0: Add WDT clock Geert Uytterhoeven
2022-02-08 12:38   ` Wolfram Sang
2022-02-14 15:50   ` Guenter Roeck [this message]
2022-01-18 17:09 ` [PATCH 2/5] dt-bindings: watchdog: renesas-wdt: Document r8a779f0 support Geert Uytterhoeven
2022-02-08 12:39   ` Wolfram Sang
2022-02-09  2:54   ` Rob Herring
2022-02-14 15:48   ` Guenter Roeck
2022-01-18 17:09 ` [PATCH 3/5] watchdog: renesas_wdt: Add R-Car Gen4 support Geert Uytterhoeven
2022-02-08 12:41   ` Wolfram Sang
2022-02-14 15:49   ` Guenter Roeck
2022-01-18 17:09 ` [PATCH 4/5] arm64: dts: renesas: r8a779f0: Add RWDT node Geert Uytterhoeven
2022-02-08 12:42   ` Wolfram Sang
2022-02-14 15:51   ` Guenter Roeck
2022-01-18 17:09 ` [PATCH 5/5] arm64: dts: renesas: spider-cpu: Enable watchdog timer Geert Uytterhoeven
2022-02-08 12:42   ` Wolfram Sang
2022-02-14 15:52   ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220214155049.GA78279@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=hoai.luu.ub@renesas.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=wim@linux-watchdog.org \
    --cc=wsa+renesas@sang-engineering.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.