[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241218003414.490498-1-prabhakar.mahadev-lad.rj@bp.renesas.com>
Date: Wed, 18 Dec 2024 00:34:08 +0000
From: Prabhakar <prabhakar.csengg@...il.com>
To: Geert Uytterhoeven <geert+renesas@...der.be>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Magnus Damm <magnus.damm@...il.com>,
Wolfram Sang <wsa+renesas@...g-engineering.com>
Cc: linux-renesas-soc@...r.kernel.org,
linux-clk@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-watchdog@...r.kernel.org,
Prabhakar <prabhakar.csengg@...il.com>,
Biju Das <biju.das.jz@...renesas.com>,
Fabrizio Castro <fabrizio.castro.jz@...esas.com>,
Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
Subject: [PATCH 0/6] Add support to retrieve the bootstatus from watchdog for RZ/V2H(P) SoC
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
Hi All,
This patch series adds SYSCON support to retrieve boot status information
for RZ/V2H(P) SoC.
Summary of Changes,
Clock:
Add syscon compatible support to the CPG block in bindings and
device trees.
Watchdog:
Document the renesas,r9a09g057-syscon-wdt-errorrst property.
Update the watchdog driver to fetch and report boot status via
Error Reset Registers (CPG_ERROR_RSTm).
Device Tree:
Add the syscon property to CPG and WDT nodes in R9A09G057 and
R9A09G047 SoC DTSI.
These changes enable the watchdog driver to identify boot sources like
Power-on Reset and Watchdog Reset, improving system diagnostics.
Cheers,
Prabhakar
Lad Prabhakar (6):
dt-bindings: clock: rzv2h-cpg: Add syscon compatible for CPG block
arm64: dts: renesas: r9a09g047: Add `syscon` compatible for CPG node
arm64: dts: renesas: r9a09g057: Add `syscon` compatible for CPG node
dt-bindings: watchdog: renesas: Document
`renesas,r9a09g057-syscon-wdt-errorrst` property
watchdog: rzv2h_wdt: Add support to retrieve the bootstatus
information
arm64: dts: renesas: r9a09g057: Add
`renesas,r9a09g057-syscon-wdt-errorrst` property to WDT node
.../bindings/clock/renesas,rzv2h-cpg.yaml | 10 ++--
.../bindings/watchdog/renesas,wdt.yaml | 17 +++++++
arch/arm64/boot/dts/renesas/r9a09g047.dtsi | 2 +-
arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 6 ++-
drivers/watchdog/rzv2h_wdt.c | 48 ++++++++++++++++++-
5 files changed, 76 insertions(+), 7 deletions(-)
--
2.43.0
Powered by blists - more mailing lists