From: sashiko-bot@kernel.org
To: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
Cc: wsa+renesas@sang-engineering.com, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH net-next v6 1/3] dt-bindings: ptp: renesas,rcar-gen4-gptp: Add R-Car Gen4
Date: Tue, 04 Aug 2026 09:53:05 +0000 [thread overview]
Message-ID: <20260804095306.59B411F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260803095232.3527111-2-niklas.soderlund+renesas@ragnatech.se>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] The standalone gPTP node will cause overlapping memory regions or schema validation failures due to conflicts with existing ethernet bindings.
--
--- Patch [1]: [PATCH net-next v6 1/3] dt-bindings: ptp: renesas,rcar-gen4-gptp: Add R-Car Gen4 ---
commit 1e91aef0621f1bc3f4049383c20bf5b76369d35b
Author: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
dt-bindings: ptp: renesas,rcar-gen4-gptp: Add R-Car Gen4
This commit adds device tree bindings for the R-Car Gen4 gPTP timer. The
timer enables accurate clock synchronization and is shared among Ethernet
devices like RSWITCH, RAVB, and RTSN depending on the specific Gen4 platform.
> diff --git a/Documentation/devicetree/bindings/ptp/renesas,rcar-gen4-gptp.yaml b/Documentation/devicetree/bindings/ptp/renesas,rcar-gen4-gptp.yaml
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/ptp/renesas,rcar-gen4-gptp.yaml
[ ... ]
> +properties:
> + compatible:
> + items:
> + - enum:
> + - renesas,r8a779f0-gptp # S4-8
> + - renesas,r8a779g0-gptp # V4H
> + - renesas,r8a779h0-gptp # V4M
> + - const: renesas,rcar-gen4-gptp
> +
> + reg:
> + maxItems: 1
[Severity: High]
Does defining this standalone MMIO region for the gPTP timer conflict with the
already-claimed gptp region required by the established Gen4 ethernet bindings?
If a new standalone gPTP node maps the 0xe6449000 MMIO region on R-Car V4H as
intended, it will overlap with the existing renesas,ethertsn.yaml binding
which explicitly requires the gptp region (mapping the exact same address) in
its reg-names.
Defining both nodes in the device tree could result in overlapping memory
regions and cause runtime probe failures (-EBUSY).
If the overlap is resolved by removing the region from the ethernet node,
wouldn't dt_binding_check fail because renesas,ethertsn.yaml was not updated
in this patch series to make the gptp region optional or deprecated?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260803095232.3527111-1-niklas.soderlund+renesas@ragnatech.se?part=1
next prev parent 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 [this message]
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
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=20260804095306.59B411F000E9@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