Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
Cc: devicetree@vger.kernel.org, robh@kernel.org,
	wsa+renesas@sang-engineering.com, conor+dt@kernel.org
Subject: Re: [PATCH net-next v6 3/3] arm64: dts: renesas: r8a779g0: Add gPTP node
Date: Tue, 04 Aug 2026 09:53:08 +0000	[thread overview]
Message-ID: <20260804095309.7B2881F00AC4@smtp.kernel.org> (raw)
In-Reply-To: <20260803095232.3527111-4-niklas.soderlund+renesas@ragnatech.se>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Device Tree Resource Conflict: Overlapping memory regions for gptp and tsn0 nodes will cause -EBUSY probe failures.
--

--- Patch [3]: [PATCH net-next v6 3/3] arm64: dts: renesas: r8a779g0: Add gPTP node ---
commit bb4e1d1111c141906839e9f11b82a931aa6c6fd6
Author: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

arm64: dts: renesas: r8a779g0: Add gPTP node

This commit adds a new gPTP node to the r8a779g0 device tree, sharing the
module between the RAVB and RTSN Ethernet devices on the SoC.

> diff --git a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi
> index 82a7278836e57..b9b860ef70351 100644
> --- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi

[ ... ]

> @@ -589,6 +589,15 @@ tmu4: timer@ffc00000 {
>  			status = "disabled";
>  		};
>  
> +		gptp: ptp@e6449000 {
> +			compatible = "renesas,r8a779g0-gptp", "renesas,rcar-gen4-gptp";
> +			reg = <0 0xe6449000 0 0x500>;
> +			clocks = <&cpg CPG_MOD 2723>;
> +			power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
> +			resets = <&cpg 2723>;
> +			status = "disabled";
> +		};
> +
>  		tsn0: ethernet@e6460000 {
>  			compatible = "renesas,r8a779g0-ethertsn", "renesas,rcar-gen4-ethertsn";
>  			reg = <0 0xe6460000 0 0x7000>,

[Severity: Medium]
Will this overlapping memory region cause a resource conflict during probe?

The new gptp node maps the memory region at 0xe6449000. However, the existing
tsn0 node directly below it already claims this exact same region in its reg
property:

arch/arm64/boot/dts/renesas/r8a779g0.dtsi:tsn0: ethernet@e6460000 {
            reg = <0 0xe6460000 0 0x7000>,
                  <0 0xe6449000 0 0x500>;
            reg-names = "tsnes", "gptp";

If a board file enables both the tsn0 and gptp nodes, whichever driver probes
second is likely to fail with an -EBUSY error because request_mem_region()
enforces exclusive access.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260803095232.3527111-1-niklas.soderlund+renesas@ragnatech.se?part=3

      reply	other threads:[~2026-08-04  9:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-03  9:52 [PATCH net-next v6 0/3] ptp: Add driver for R-Car Gen4 Niklas Söderlund
2026-08-03  9:52 ` [PATCH net-next v6 1/3] dt-bindings: ptp: renesas,rcar-gen4-gptp: Add " Niklas Söderlund
2026-08-04  9:53   ` sashiko-bot
2026-08-03  9:52 ` [PATCH net-next v6 2/3] ptp: Add driver for " Niklas Söderlund
2026-08-04  9:53   ` sashiko-bot
2026-08-03  9:52 ` [PATCH net-next v6 3/3] arm64: dts: renesas: r8a779g0: Add gPTP node Niklas Söderlund
2026-08-04  9:53   ` 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=20260804095309.7B2881F00AC4@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=niklas.soderlund+renesas@ragnatech.se \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox