Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Yadu M G" <yadu.mg@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/3] arm64: dts: qcom: Introduce Seca SoC
Date: Tue, 24 Nov 2026 11:13:06 +0000	[thread overview]
Message-ID: <sashiko-outbox-231023@kernel.org> (raw)
In-Reply-To: <d92391a0b2ec19bd4d8ec0c4eb988cb0c8176b28.1795517711.git.yadu.mg@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 4 potential
issues to consider:
- [Medium] arm64: dts: qcom: seca: uart19 specifies GIC_SPI 584 instead
  of 587
- [Low] arm64: dts: qcom: seca: GENI I2C and SPI nodes omit address/size
  cells
- [Low] arm64: dts: qcom: seca: memory@80000000 hardcodes 2 GiB size
  instead of 0
- [Low] arm64: dts: qcom: seca: watchdog@17826000 uses deprecated
  qcom,kpss-wdt alone
--

commit cd118f7edde6b22c320982447575045a1e79989d
Author: Yadu M G <yadu.mg@oss.qualcomm.com>

arm64: dts: qcom: Introduce Seca SoC

This commit adds the base device tree include (seca.dtsi) for the Qualcomm
Seca automotive SoC.

> diff --git a/arch/arm64/boot/dts/qcom/seca.dtsi b/arch/arm64/boot/dts/qcom/seca.dtsi
> new file mode 100644
> index 0000000000000..ae557be27e98f
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/seca.dtsi
> @@ -0,0 +1,3339 @@

[ ... ]

> +	memory@80000000 {
> +		device_type = "memory";
> +		reg = <0x0 0x80000000 0x0 0x80000000>;
> +	};

[Severity: Low]
Should memory@80000000 use a zero size (<0x0 0x80000000 0x0 0x0>) in the
SoC dtsi so the board DTS or bootloader fills in the actual DRAM capacity?
Hardcoding 2 GiB here also leaves the reserved-memory carveouts at
0x8c0000000 and 0x8c8000000 outside the memory range.

[ ... ]

> +		qupv3_2: geniqup@8c0000 {
> +			compatible = "qcom,geni-se-qup";
> +			reg = <0x0 0x008c0000 0x0 0x2000>;
> +			#address-cells = <2>;
> +			#size-cells = <2>;
> +			iommus = <&apps_smmu_0 0x12a3 0x0>;
> +			ranges;
> +			dma-coherent;
> +
> +			i2c14: i2c@880000 {
> +				compatible = "qcom,geni-i2c";
> +				reg = <0x0 0x00880000 0x0 0x4000>;
> +				interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
> +				status = "disabled";
> +			};
> +
> +			spi14: spi@880000 {
> +				compatible = "qcom,geni-spi";
> +				reg = <0x0 0x00880000 0x0 0x4000>;
> +				interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
> +				status = "disabled";
> +			};

[Severity: Low]
Should all 20 GENI I2C nodes (i2c0..i2c5, i2c7..i2c14, i2c16..i2c21) and
18 GENI SPI nodes (spi0..spi5, spi7..spi8, spi11..spi14, spi16..spi21)
define #address-cells = <1> and #size-cells = <0>?  Without them, adding
child peripheral devices in a board DTS triggers dtc i2c_bus_bridge,
spi_bus_bridge, and reg_format warnings.

[ ... ]

> +			i2c19: i2c@894000 {
> +				compatible = "qcom,geni-i2c";
> +				reg = <0x0 0x00894000 0x0 0x4000>;
> +				interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
> +				status = "disabled";
> +			};
> +
> +			spi19: spi@894000 {
> +				compatible = "qcom,geni-spi";
> +				reg = <0x0 0x00894000 0x0 0x4000>;
> +				interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
> +				status = "disabled";
> +			};
> +
> +			uart19: serial@894000 {
> +				compatible = "qcom,geni-uart";
> +				reg = <0x0 0x00894000 0x0 0x4000>;
> +				interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
> +				status = "disabled";
> +			};

[Severity: Medium]
Should uart19 use GIC_SPI 587 instead of GIC_SPI 584 to match i2c19 and
spi19 at 0x894000?  GIC_SPI 584 belongs to the serial engine at 0x888000
(i2c16, spi16, and uart16), so enabling uart19 will leave it without its
hardware interrupt and conflict with SE2 devices.

[ ... ]

> +		watchdog@17826000 {
> +			compatible = "qcom,kpss-wdt";
> +			reg = <0x0 0x17826000 0x0 0x1000>;
> +			clocks = <&sleep_clk>;
> +			interrupts = <GIC_ESPI 848 IRQ_TYPE_EDGE_RISING>;
> +		};

[Severity: Low]
Should watchdog@17826000 include an SoC-specific compatible string such as
"qcom,apss-wdt-seca" before "qcom,kpss-wdt"?  Using "qcom,kpss-wdt" alone
is deprecated in Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
and causes a dtbs_check warning.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1795517711.git.yadu.mg@oss.qualcomm.com?part=2

  reply	other threads:[~2026-11-24 11:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 10:55 [PATCH 0/3] arm64: dts: qcom: Add Qualcomm Seca SoC and Seca Ride board Yadu M G
2026-11-24 10:55 ` [PATCH 1/3] dt-bindings: arm: qcom: Add " Yadu M G
2026-11-24 10:55 ` [PATCH 2/3] arm64: dts: qcom: Introduce Seca SoC Yadu M G
2026-11-24 11:13   ` sashiko-bot [this message]
2026-11-24 10:55 ` [PATCH 3/3] arm64: dts: qcom: seca: Enable Seca Ride board support Yadu M G
2026-11-24 11:14   ` 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=sashiko-outbox-231023@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=yadu.mg@oss.qualcomm.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