All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: Prabhakar <prabhakar.csengg@gmail.com>
Cc: conor+dt@kernel.org, robh@kernel.org, linux-clk@vger.kernel.org,
	wsa+renesas@sang-engineering.com, devicetree@vger.kernel.org,
	linux-watchdog@vger.kernel.org
Subject: Re: [PATCH v7 8/8] arm64: dts: renesas: r9a09g087: Use CPG/MSSR syscon for WDTDCR access
Date: Tue, 29 Sep 2026 11:00:19 +0000	[thread overview]
Message-ID: <20260929110019.830251F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260929105021.542730-9-prabhakar.mahadev-lad.rj@bp.renesas.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Critical] dt-bindings: removing second 'reg' entry breaks old kernel compatibility
--

commit 74168eab64567b9dfb3f02ff14712a6e81564a41
Author: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

arm64: dts: renesas: r9a09g087: Use CPG/MSSR syscon for WDTDCR access

This commit updates the device tree to replace the direct mapping of
individual WDTDCR registers with a syscon phandle to the CPG/MSSR block.
This consolidates the multi-function block access via a unified syscon
regmap interface.

> diff --git a/arch/arm64/boot/dts/renesas/r9a09g087.dtsi b/arch/arm64/boot/dts/renesas/r9a09g087.dtsi
> index 68c8daed557bd..abca7aa894589 100644
> --- a/arch/arm64/boot/dts/renesas/r9a09g087.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r9a09g087.dtsi
> @@ -327,61 +327,61 @@ channel1 {
>  
>  		wdt0: watchdog@80082000 {
>  			compatible = "renesas,r9a09g087-wdt", "renesas,r9a09g077-wdt";
> -			reg = <0 0x80082000 0 0x400>,
> -			      <0 0x81295100 0 0x04>;
> +			reg = <0 0x80082000 0 0x400>;

[Severity: Critical]
Does removing the second reg entry here break backward compatibility with
older kernels?

Device tree bindings are typically treated as a stable ABI, meaning newer
device trees should be able to boot older kernels. The rzv2h_wdt driver
in existing kernels unconditionally calls:

devm_platform_ioremap_resource(pdev, 1)

for this compatible string. By completely removing the second reg entry at
index 1, older kernels might fail to probe the watchdog entirely. Is there
a way to deprecate this gracefully or retain the second reg entry for
compatibility?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260929105021.542730-1-prabhakar.mahadev-lad.rj@bp.renesas.com?part=8

      reply	other threads:[~2026-09-29 11:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-29 10:50 [PATCH v7 0/8] Add syscon support for Renesas WDT driver Prabhakar
2026-09-29 10:50 ` [PATCH v7 1/8] clk: renesas: r9a09g077: Add helper to start WDTDCR counter Prabhakar
2026-09-29 10:50 ` [PATCH v7 2/8] watchdog: rzv2h: Use pm_runtime_put_sync() Prabhakar
2026-09-29 10:50 ` [PATCH v7 3/8] watchdog: rzv2h: Drop enabling clocks in the restart handler Prabhakar
2026-09-29 11:06   ` sashiko-bot
2026-09-30  8:36     ` Lad, Prabhakar
2026-09-29 10:50 ` [PATCH v7 4/8] watchdog: rzv2h: Drop WDTRCR_RSTIRQS define Prabhakar
2026-09-29 10:50 ` [PATCH v7 5/8] watchdog: rzv2h: Drop runtime PM handling from WDTDCR init Prabhakar
2026-09-29 10:50 ` [PATCH v7 6/8] watchdog: rzv2h_wdt: Add syscon based WDTDCR access Prabhakar
2026-09-29 10:50 ` [PATCH v7 7/8] arm64: dts: renesas: r9a09g077: Use CPG/MSSR syscon for " Prabhakar
2026-09-29 10:50 ` [PATCH v7 8/8] arm64: dts: renesas: r9a09g087: " Prabhakar
2026-09-29 11:00   ` sashiko-bot [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=20260929110019.830251F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=prabhakar.csengg@gmail.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --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.