linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] v3u: add support for RWDT
@ 2020-12-18 17:37 Wolfram Sang
  2020-12-18 17:37 ` [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support Wolfram Sang
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfram Sang @ 2020-12-18 17:37 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, devicetree, Geert Uytterhoeven, linux-clk,
	linux-kernel, linux-watchdog

Here is the series to enable the RWDT on V3U. I took the DTS patches
from the BSP, the rest was developed on mainline tree. Note that
currently, the bootloader does not unmask the RWDT reset for us. This is
why patch #5 is needed if you want a reboot. We need to see if this is
going to be added to the bootloader later. Also, while the normal
watchdog trigger works flawlessly, the 'reboot' command will triger a
OOPS. This is a known issue also present on other Gen3 SoCs and will
be addressed seperately soon.

Other than that, patch #1 should go in via watchdog, the rest via
Geert's various trees :)

Looking forward to comments.

Happy hacking and have a nice weekend!


Hoang Vo (2):
  arm64: dts: renesas: r8a779a0: Add RWDT node
  arm64: dts: renesas: falcon: Enable watchdog timer

Wolfram Sang (3):
  dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support
  clk: renesas: r8a779a0: Add RWDT clocks
  WIP soc: v3u: allow WDT reset

 .../devicetree/bindings/watchdog/renesas,wdt.yaml      |  1 +
 arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts        |  5 +++++
 arch/arm64/boot/dts/renesas/r8a779a0.dtsi              | 10 ++++++++++
 drivers/clk/renesas/r8a779a0-cpg-mssr.c                |  9 +++++++++
 drivers/soc/renesas/rcar-rst.c                         |  8 ++++++++
 5 files changed, 33 insertions(+)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support
  2020-12-18 17:37 [PATCH 0/5] v3u: add support for RWDT Wolfram Sang
@ 2020-12-18 17:37 ` Wolfram Sang
  2020-12-22  9:01   ` Geert Uytterhoeven
                     ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Wolfram Sang @ 2020-12-18 17:37 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Wim Van Sebroeck, Guenter Roeck, Rob Herring,
	Geert Uytterhoeven, linux-watchdog, devicetree, linux-kernel

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

Please apply it to the watchdog-tree.

 Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
index 6933005b52bd..ab66d3f0c476 100644
--- a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
@@ -50,6 +50,7 @@ properties:
               - renesas,r8a77980-wdt     # R-Car V3H
               - renesas,r8a77990-wdt     # R-Car E3
               - renesas,r8a77995-wdt     # R-Car D3
+              - renesas,r8a779a0-wdt     # R-Car V3U
           - const: renesas,rcar-gen3-wdt # R-Car Gen3 and RZ/G2
 
   reg:
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support
  2020-12-18 17:37 ` [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support Wolfram Sang
@ 2020-12-22  9:01   ` Geert Uytterhoeven
  2020-12-31 20:36   ` Rob Herring
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2020-12-22  9:01 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Linux-Renesas, Wim Van Sebroeck, Guenter Roeck, Rob Herring,
	Geert Uytterhoeven, Linux Watchdog Mailing List,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List

On Fri, Dec 18, 2020 at 6:37 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support
  2020-12-18 17:37 ` [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support Wolfram Sang
  2020-12-22  9:01   ` Geert Uytterhoeven
@ 2020-12-31 20:36   ` Rob Herring
  2021-01-18  8:57   ` Wolfram Sang
  2021-01-23 17:20   ` Guenter Roeck
  3 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2020-12-31 20:36 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-watchdog, Geert Uytterhoeven, linux-renesas-soc,
	Wim Van Sebroeck, linux-kernel, Rob Herring, devicetree,
	Guenter Roeck

On Fri, 18 Dec 2020 18:37:26 +0100, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
> 
> Please apply it to the watchdog-tree.
> 
>  Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support
  2020-12-18 17:37 ` [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support Wolfram Sang
  2020-12-22  9:01   ` Geert Uytterhoeven
  2020-12-31 20:36   ` Rob Herring
@ 2021-01-18  8:57   ` Wolfram Sang
  2021-01-23 17:20   ` Guenter Roeck
  3 siblings, 0 replies; 6+ messages in thread
From: Wolfram Sang @ 2021-01-18  8:57 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Geert Uytterhoeven,
	linux-watchdog, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

On Fri, Dec 18, 2020 at 06:37:26PM +0100, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
> 
> Please apply it to the watchdog-tree.

Guenter, could you pick/ack it, please?

> 
>  Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
> index 6933005b52bd..ab66d3f0c476 100644
> --- a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
> @@ -50,6 +50,7 @@ properties:
>                - renesas,r8a77980-wdt     # R-Car V3H
>                - renesas,r8a77990-wdt     # R-Car E3
>                - renesas,r8a77995-wdt     # R-Car D3
> +              - renesas,r8a779a0-wdt     # R-Car V3U
>            - const: renesas,rcar-gen3-wdt # R-Car Gen3 and RZ/G2
>  
>    reg:
> -- 
> 2.29.2
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support
  2020-12-18 17:37 ` [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support Wolfram Sang
                     ` (2 preceding siblings ...)
  2021-01-18  8:57   ` Wolfram Sang
@ 2021-01-23 17:20   ` Guenter Roeck
  3 siblings, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2021-01-23 17:20 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Wim Van Sebroeck, Rob Herring,
	Geert Uytterhoeven, linux-watchdog, devicetree, linux-kernel

On Fri, Dec 18, 2020 at 06:37:26PM +0100, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Acked-by: Rob Herring <robh@kernel.org>

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

> ---
> 
> Please apply it to the watchdog-tree.
> 
>  Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
> index 6933005b52bd..ab66d3f0c476 100644
> --- a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
> @@ -50,6 +50,7 @@ properties:
>                - renesas,r8a77980-wdt     # R-Car V3H
>                - renesas,r8a77990-wdt     # R-Car E3
>                - renesas,r8a77995-wdt     # R-Car D3
> +              - renesas,r8a779a0-wdt     # R-Car V3U
>            - const: renesas,rcar-gen3-wdt # R-Car Gen3 and RZ/G2
>  
>    reg:

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-23 17:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-18 17:37 [PATCH 0/5] v3u: add support for RWDT Wolfram Sang
2020-12-18 17:37 ` [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support Wolfram Sang
2020-12-22  9:01   ` Geert Uytterhoeven
2020-12-31 20:36   ` Rob Herring
2021-01-18  8:57   ` Wolfram Sang
2021-01-23 17:20   ` Guenter Roeck

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).