From: sashiko-bot@kernel.org
To: "Sai Sree Kartheek Adivi" <s-adivi@ti.com>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 1/2] arm64: dts: ti: k3-am62l-main: Add ADC nodes
Date: Mon, 28 Sep 2026 03:55:57 +0000 [thread overview]
Message-ID: <20260928035557.E53071F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260928034115.1084840-1-s-adivi@ti.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dts: k3-am62l: tscadc0 reg exceeds parent cbass_main ranges
--
commit 06bc07c12d27dc31a3a3ae1cf4ef12f047b8b0e7
Author: Judith Mendez <jm@ti.com>
arm64: dts: ti: k3-am62l-main: Add ADC nodes
AM62L has an ADC in main domain, add ADC node in the respective
voltage domain file.
> diff --git a/arch/arm64/boot/dts/ti/k3-am62l-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62l-main.dtsi
> index 80615ca1e01a2..70157981aba5d 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62l-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62l-main.dtsi
[ ... ]
> + tscadc0: tscadc@28001000 {
> + compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
> + reg = <0x00 0x28001000 0x00 0x1000>;
[Severity: Low]
Does this reg size exceed the parent cbass_main ranges?
In arch/arm64/boot/dts/ti/k3-am62l.dtsi, the parent cbass_main bus defines
the Second Peripheral Window ending at 0x28001400 (0x0e000000 + 0x1a001400):
<0x00 0x0e000000 0x00 0x0e000000 0x00 0x1a001400>, /* Second Peripheral Window */
The tscadc0 node's reg size of 0x1000 bytes starting at 0x28001000 extends
up to 0x28002000, which exceeds the parent window by 0xC00 bytes. This causes
a device tree schema and dtc validation warning when building the dtbs.
While devm_ioremap_resource() still maps the full 0x1000 bytes, and the driver
only accesses registers up to 0x200 (well within the valid 0x400-byte window),
should the reg size or the parent range be adjusted to avoid the validation
warnings?
> + interrupts = <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>;
> + power-domains = <&scmi_pds 0>;
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260928034115.1084840-1-s-adivi@ti.com?part=1
next prev parent reply other threads:[~2026-09-28 3:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-28 3:41 [PATCH 1/2] arm64: dts: ti: k3-am62l-main: Add ADC nodes Sai Sree Kartheek Adivi
2026-09-28 3:41 ` [PATCH 2/2] arm64: dts: ti: k3-am62l: Add alias node Sai Sree Kartheek Adivi
2026-09-30 14:40 ` Bryan Brattlof
2026-09-28 3:55 ` sashiko-bot [this message]
2026-09-28 16:49 ` [PATCH 1/2] arm64: dts: ti: k3-am62l-main: Add ADC nodes Vignesh Raghavendra
2026-09-28 17:11 ` Judith Mendez
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=20260928035557.E53071F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s-adivi@ti.com \
--cc=sashiko-reviews@lists.linux.dev \
/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