Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Ajit Singh" <blfizzyy@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 1/1] arm64: dts: qcom: lemans: Add Vicharak Axon Pro
Date: Thu, 26 Nov 2026 09:20:40 +0000	[thread overview]
Message-ID: <sashiko-outbox-235115@kernel.org> (raw)
In-Reply-To: <20261126090928.73637-2-blfizzyy@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: qcom: lemans: misplaced pcie1 GPIOs and wrong
  WAKE# polarity
--

commit b99c8adc648ceea0d68c162149cad6f93cd36e09
Author: Ajit Singh <blfizzyy@gmail.com>

arm64: dts: qcom: lemans: Add Vicharak Axon Pro

This commit adds initial device tree support for the Vicharak Axon Pro
SBC based on the Qualcomm QCS9075 SoC.

> diff --git a/arch/arm64/boot/dts/qcom/lemans-vicharak-axon-pro.dts b/arch/arm64/boot/dts/qcom/lemans-vicharak-axon-pro.dts
> new file mode 100644
> index 0000000000000..f81aa2ebbdcca
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/lemans-vicharak-axon-pro.dts

[ ... ]

> +&pcie1 {
> +	perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
> +	wake-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
> +	vddpe-3v3-supply = <&vcc_pcie1_en>;
> +
> +	pinctrl-0 = <&pcie1_default_state>;
> +	pinctrl-names = "default";
> +
> +	status = "okay";
> +};

[Severity: Medium]
Should perst-gpios and wake-gpios be defined as reset-gpios and
wake-gpios on the &pcie1_port0 root port node instead, with wake-gpios
set to GPIO_ACTIVE_LOW?

Because lemans.dtsi defines the child root port node pcie1_port0 under
&pcie1, placing perst-gpios on the host bridge node triggers a runtime
warning in qcom_pcie_parse_perst() ("Reusing PERST# from Root Complex
node. DT needs to be fixed!"), and pci_configure_of_wake_gpio() only
looks up wake-gpios on the root port node, so PCIe wakeup is never
configured.  In addition, PCIe WAKE# is an open-drain active-low signal
(matching the bias-pull-up on gpio5 in pcie1_default_state), whereas
GPIO_ACTIVE_HIGH causes pci_configure_wake_irq() to select
IRQ_TYPE_LEVEL_HIGH.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261126090928.73637-1-blfizzyy@gmail.com?part=1

      reply	other threads:[~2026-11-26  9:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  9:09 [PATCH v3 0/1] arm64: dts: qcom: Add Vicharak Axon Pro Ajit Singh
2026-11-26  9:09 ` [PATCH v3 1/1] arm64: dts: qcom: lemans: " Ajit Singh
2026-11-26  9:20   ` 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-235115@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=blfizzyy@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --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