Re: [PATCH v3 0/6] Add support to retrieve the bootstatus from watchdog for RZ/V2H(P) SoC
From: "Rob Herring (Arm)" <robh@kernel.org>
Date: 2025-01-13 15:26:09
Also in:
linux-clk, linux-renesas-soc, linux-watchdog, lkml
On Mon, 13 Jan 2025 11:23:43 +0000, Prabhakar wrote:
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.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.
v2->v3
- Updated comment section to mentione there arent any ABI breakages with
this patch series.
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,syscon-cpg-error-rst` property
watchdog: rzv2h_wdt: Add support to retrieve the bootstatus
information
arm64: dts: renesas: r9a09g057: Add `renesas,syscon-cpg-error-rst`
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 | 35 +++++++++++++++++++
5 files changed, 64 insertions(+), 6 deletions(-)
--
2.43.0
My bot found new DTB warnings on the .dts files added or changed in this series. Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments. If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date: pip3 install dtschema --upgrade New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/renesas/' for 20250113112349.801875-1-prabhakar.mahadev-lad.rj@bp.renesas.com: arch/arm64/boot/dts/renesas/r9a07g044c2-smarc.dtb: /soc/spi@10060000/flash@0: failed to match any schema with compatible: ['micron,mt25qu512a', 'jedec,spi-nor']