devicetree.vger.kernel.org archive mirror
 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 5/5] arm64: dts: renesas: spider-cpu: Enable watchdog timer
Date: Mon, 14 Feb 2022 07:52:03 -0800	[thread overview]
Message-ID: <20220214155203.GA121693@roeck-us.net> (raw)
In-Reply-To: <b36b2bb5770e10d906571721a3d73ca205b6f56e.1642525158.git.geert+renesas@glider.be>

On Tue, Jan 18, 2022 at 06:09:05PM +0100, Geert Uytterhoeven wrote:
> Enable the watchdog timer on the Spider board.
> 
> Extracted from a larger patch in the BSP by LUU HOAI.
> 
> 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>

> ---
> For the watchdog to be able to actually reboot the system, this depends
> on proper configuration of the Watchdog Timer Reset Control Register
> (WDTRSTCR) in the Reset (RST) module, either by Linux[1], or by the
> firmware.
> 
> [1] "[PATCH LOCAL v2] soc: renesas: rcar-rst: Allow WDT reset on R-Car
>      Gen4"
>     https://lore.kernel.org/r/39005cf749a99afc6d3ba96ff155fd2a231418a8.1642524743.git.geert+renesas@glider.be
> ---
>  arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
> index 156586532c844c41..3a90932fe85c8243 100644
> --- a/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
> @@ -31,6 +31,11 @@ &extalr_clk {
>  	clock-frequency = <32768>;
>  };
>  
> +&rwdt {
> +	timeout-sec = <60>;
> +	status = "okay";
> +};
> +
>  &scif3 {
>  	status = "okay";
>  };

      parent reply	other threads:[~2022-02-14 15:52 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
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 [this message]

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=20220214155203.GA121693@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).