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 3/3] arm64: dts: qcom: seca: Enable Seca Ride board support
Date: Tue, 24 Nov 2026 11:14:34 +0000	[thread overview]
Message-ID: <sashiko-outbox-231025@kernel.org> (raw)
In-Reply-To: <73f8ad18d65b6a6c5ad22d8a9730d7213f03627d.1795517711.git.yadu.mg@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [Medium] arm64: dts: qcom: undocumented qcom,secaau-* compatibles in
  seca-gearvm.dtsi
- [Medium] arm64: dts: qcom: wrong GIC_SPI 584 interrupt on uart19 in
  seca.dtsi
- [Low] arm64: dts: qcom: unreferenced scmi0 and redundant status in
  seca-ride.dts
--

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

arm64: dts: qcom: seca: Enable Seca Ride board support

This commit adds the Seca GearVM SoC devicetree include (seca-gearvm.dtsi)
with SCMI channel and peripheral domain descriptions, along with the
initial devicetree for the Seca Ride board (seca-ride.dts).

> diff --git a/arch/arm64/boot/dts/qcom/seca-gearvm.dtsi b/arch/arm64/boot/dts/qcom/seca-gearvm.dtsi
> new file mode 100644
> index 0000000000000..68cffd920afad
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/seca-gearvm.dtsi

[ ... ]

> +&i2c0 {
> +	compatible = "qcom,secaau-geni-i2c",
> +		     "qcom,sa8255p-geni-i2c";
> +	power-domains = <&scmi9_pd 0>,
> +			<&scmi9_dvfs 0>;
> +	power-domain-names = "power",
> +			     "perf";
> +};

[ ... ]

> +&qupv3_0 {
> +	compatible = "qcom,secaau-geni-se-qup",
> +		     "qcom,sa8255p-geni-se-qup";
> +};

[ ... ]

> +&spi0 {
> +	compatible = "qcom,secaau-geni-spi",
> +		     "qcom,sa8255p-geni-spi";
> +	power-domains = <&scmi10_pd 0>,
> +			<&scmi10_dvfs 0>;
> +	power-domain-names = "power",
> +			     "perf";
> +};

[ ... ]

> +&uart0 {
> +	compatible = "qcom,secaau-geni-uart",
> +		     "qcom,sa8255p-geni-uart";
> +	power-domains = <&scmi11_pd 0>,
> +			<&scmi11_dvfs 0>;
> +	power-domain-names = "power",
> +			     "perf";
> +};

[ ... ]

> +&uart14 {
> +	compatible = "qcom,secaau-geni-debug-uart",
> +		     "qcom,sa8255p-geni-debug-uart";
> +	power-domains = <&scmi11_pd 14>,
> +			<&scmi11_dvfs 14>;
> +	power-domain-names = "power",
> +			     "perf";
> +};

[ ... ]

> +&uart19 {
> +	compatible = "qcom,secaau-geni-uart",
> +		     "qcom,sa8255p-geni-uart";
> +	power-domains = <&scmi11_pd 19>,
> +			<&scmi11_dvfs 19>;
> +	power-domain-names = "power",
> +			     "perf";
> +};

[Severity: Medium]
Should uart19 in arch/arm64/boot/dts/qcom/seca.dtsi use GIC_SPI 587 instead
of GIC_SPI 584?

In seca.dtsi, uart19 at 0x894000 is assigned GIC_SPI 584, which belongs to
serial engine 16 at 0x888000 (where spi16 is enabled on seca-ride) rather
than GIC_SPI 587 used by its sibling nodes at 0x894000:

arch/arm64/boot/dts/qcom/seca.dtsi:
			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";
			};

If a board or overlay enables uart19, it will request serial engine 16's
interrupt line, conflicting with spi16 and never receiving its own UART
interrupts.

[ ... ]

> +&ufs_mem_hc {
> +	compatible = "qcom,secaau-ufshc",
> +		     "qcom,sa8255p-ufshc";
> +	power-domains = <&scmi3_pd 0>;
> +};

[Severity: Medium]
Are the qcom,secaau-geni-i2c, qcom,secaau-geni-se-qup,
qcom,secaau-geni-spi, qcom,secaau-geni-uart, qcom,secaau-geni-debug-uart,
and qcom,secaau-ufshc compatible strings documented in the devicetree
bindings?

None of these compatibles appear in the corresponding binding schemas
(qcom,sa8255p-geni-i2c.yaml, qcom,sa8255p-geni-se-qup.yaml,
qcom,sa8255p-geni-spi.yaml, qcom,sa8255p-geni-uart.yaml, and
qcom,sa8255p-ufshc.yaml), which only list qcom,sa8255p-* and
qcom,sa8797p-*, so running dtbs_check on seca-ride.dtb fails validation
across all 63 overridden nodes.

> diff --git a/arch/arm64/boot/dts/qcom/seca-ride.dts b/arch/arm64/boot/dts/qcom/seca-ride.dts
> new file mode 100644
> index 0000000000000..ddcdc3bb6197a
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/seca-ride.dts

[ ... ]

> +&pdp_scmi {
> +	status = "okay";
> +};
> +
> +&qupv3_2 {
> +	status = "okay";
> +};
> +
> +&scmi0 {
> +	status = "okay";
> +};

[Severity: Low]
Should scmi0 remain disabled in seca-ride.dts?

Its protocol@11, protocol@13, and protocol@16 child nodes in
seca-gearvm.dtsi have no phandle labels and no consumers, so enabling scmi0
causes the SCMI SMC transport to map shmem0, request GIC_SPI 963, and
instantiate unused protocol devices at boot.  Also, pdp_scmi and qupv3_2
are not disabled in seca.dtsi or seca-gearvm.dtsi, so setting status =
"okay" on them here is redundant.

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

      reply	other threads:[~2026-11-24 11:14 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
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 [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=sashiko-outbox-231025@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