All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Shawn Guo" <shengchao.guo@oss.qualcomm.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v10 RESEND 3/6] arm64: dts: qcom: Add device tree for Nord Embedded variant
Date: Mon, 10 Aug 2026 11:55:42 +0000	[thread overview]
Message-ID: <20260810115543.02F901F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260810114313.776563-4-shengchao.guo@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] Copy-paste errors in multiple QUP0 pin configurations (SE1 and SE5) result in duplicate or incorrect pin assignments, causing mapping conflicts.
- [Low] Inconsistent node names for `opp2` and `opp3` in the `rpmhpd_opp_table`.
--

--- Patch [3]: [PATCH v10 RESEND 3/6] arm64: dts: qcom: Add device tree for Nord Embedded variant ---
commit 643aac7df3bbbfb1eafbf771684900c0a9c93646
Author: Shawn Guo <shengchao.guo@oss.qualcomm.com>

arm64: dts: qcom: Add device tree for Nord Embedded variant

Unlike the GearVM variant, Nord Embedded variant has platform resources
directly controlled by the operating system. Add a separate dtsi file
extending the existing top-level nord.dtsi with nodes representing these
peripherals as well as describing how they are wired up.

> diff --git a/arch/arm64/boot/dts/qcom/nord-embedded.dtsi b/arch/arm64/boot/dts/qcom/nord-embedded.dtsi
> new file mode 100644
> index 0000000000000..f27ccc6f56dbf
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/nord-embedded.dtsi

[ ... ]

> +				rpmhpd_opp_min_svs: opp-1 {
> +					opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
> +				};
> +
> +				rpmhpd_opp_low_svs: opp2 {

[Severity: Low]
This isn't a bug, but should this node be named opp-2 instead of opp2 to
match the opp-<number> naming convention used by the other nodes in this
table?

> +					opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
> +				};
> +
> +				rpmhpd_opp_svs: opp3 {

[Severity: Low]
Similarly, should this be named opp-3?

> +					opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
> +				};
> +
> +				rpmhpd_opp_svs_l1: opp-4 {

[ ... ]

> +	qup_i2c1_default: qup-i2c1-default-state {
> +		pins = "gpio111", "gpio112";
> +		function = "qup0_se1";

[Severity: Medium]
Should these pins be swapped for SE1? This reuses the exact layout of SE0
(gpio111, gpio112) without swapping the data/CS or TX/RX pins, which might
cause routing conflicts on the shared 4-pin block.

> +		drive-strength = <2>;
> +		bias-pull-up;
> +	};

[ ... ]

> +	qup_spi1_default: qup-spi1-default-state {
> +		data-pins {
> +			pins = "gpio109", "gpio111", "gpio112";
> +			function = "qup0_se1";

[Severity: Medium]
Do these data-pins conflict with SE0? It looks like this configuration uses
the exact same pins (gpio109, gpio111, gpio112) as qup_spi0_default without
swapping assignments for the shared 4-pin block.

> +			drive-strength = <6>;
> +			bias-disable;
> +		};

[ ... ]

> +	qup_spi5_default: qup-spi5-default-state {
> +		data-pins {
> +			pins = "gpio109", "gpio121", "gpio122";
> +			function = "qup0_se5";

[Severity: Medium]
Is it intentional to include gpio109 here? It appears to incorrectly mix
the SE0 pin (gpio109) with the dedicated SE5 pins (gpio121, gpio122).

> +			drive-strength = <6>;
> +			bias-disable;
> +		};

[ ... ]

> +	qup_uart1_default: qup-uart1-default-state {
> +		pins = "gpio109", "gpio110";
> +		function = "qup0_se1";

[Severity: Medium]
Should these pins be swapped for SE1? This reuses the exact layout of SE0
(gpio109, gpio110) without swapping the TX/RX assignments.

> +		drive-strength = <2>;
> +		bias-disable;
> +	};

[ ... ]

> +	qup_uart5_default: qup-uart5-default-state {
> +		pins = "gpio109", "gpio110";
> +		function = "qup0_se5";

[Severity: Medium]
Does this configuration incorrectly claim the SE0 pins? It seems to use
gpio109 and gpio110 instead of SE5's own dedicated pins.

> +		drive-strength = <2>;
> +		bias-disable;
> +	};

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260810114313.776563-1-shengchao.guo@oss.qualcomm.com?part=3

  reply	other threads:[~2026-08-10 11:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-10 11:43 [PATCH v10 RESEND 0/6] Add initial device trees for Nord platform Shawn Guo
2026-08-10 11:43 ` [PATCH v10 RESEND 1/6] arm64: dts: qcom: Add device tree for Nord SoC series Shawn Guo
2026-08-10 11:55   ` sashiko-bot
2026-08-10 11:43 ` [PATCH v10 RESEND 2/6] arm64: dts: qcom: Add device tree for Nord GearVM variant Shawn Guo
2026-08-10 11:43 ` [PATCH v10 RESEND 3/6] arm64: dts: qcom: Add device tree for Nord Embedded variant Shawn Guo
2026-08-10 11:55   ` sashiko-bot [this message]
2026-08-10 11:43 ` [PATCH v10 RESEND 4/6] dt-bindings: arm: qcom: Document Nord reference boards Shawn Guo
2026-08-10 11:43 ` [PATCH v10 RESEND 5/6] arm64: dts: qcom: Add device tree for Nord Ride board Shawn Guo
2026-08-10 11:43 ` [PATCH v10 RESEND 6/6] arm64: dts: qcom: Add device tree for Nord RRD board Shawn Guo

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=20260810115543.02F901F00A3A@smtp.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=shengchao.guo@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.