From: sashiko-bot@kernel.org
To: "Krishna Chaitanya Chundru" <krishna.chundru@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/8] arm64: dts: qcom: lemans: Add t-power-on-us property for PCIe root ports
Date: Fri, 11 Sep 2026 07:03:35 +0000 [thread overview]
Message-ID: <20260911070336.6B8B81F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260911-t_pwr_on-v1-2-c9eee197d082@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Logic Error / Dead Code: The newly added `t-power-on-us` property is completely ignored
- [Low] Missing DT Binding Documentation
--
commit 821321f53e293af9b1a675f69406aacca48b199d
Author: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
arm64: dts: qcom: lemans: Add t-power-on-us property for PCIe root ports
This commit attempts to fix improper L1.2 exit behavior by programming the
T_POWER_ON value. It adds the t-power-on-us property to the PCIe root port
nodes in the lemans device tree.
> diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi
> index 695eae1b72569..615a9bfda2377 100644
> --- a/arch/arm64/boot/dts/qcom/lemans.dtsi
> +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi
> @@ -2770,6 +2770,8 @@ pcieport0: pcie@0 {
> #address-cells = <3>;
> #size-cells = <2>;
> ranges;
> +
> + t-power-on-us = <80>;
[Severity: Low]
Is this missing a corresponding update to the device tree binding
documentation? This introduces the t-power-on-us property without
documenting it in any Documentation/devicetree/bindings/ YAML file, which
will cause dtbs_check to fail.
[Severity: High]
Will this property actually be parsed by the driver as structured?
Since this child node lacks a phys property, devm_of_phy_get() will return
-ENODEV when qcom_pcie_parse_port() iterates over child nodes to parse the
port properties.
The fallback path, qcom_pcie_parse_legacy_binding(), successfully reads
the PHY from the parent node, but it appears to never parse the new
t-power-on-us property.
Does this cause the value to be completely ignored during device probe,
preventing the T_POWER_ON value from being programmed into hardware?
> };
> };
>
> @@ -2943,6 +2945,8 @@ pcie@0 {
> #address-cells = <3>;
> #size-cells = <2>;
> ranges;
> +
> + t-power-on-us = <80>;
[Severity: High]
Does this second child node also suffer from the same parsing fallback
issue? Without a phys property on this node, the driver will likely
ignore the new t-power-on-us property here as well.
> };
> };
>
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260911-t_pwr_on-v1-0-c9eee197d082@oss.qualcomm.com?part=2
next prev parent reply other threads:[~2026-09-11 7:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-11 6:50 [PATCH 0/8] arm64: dts: qcom: Add t-power-on-us property for PCIe root ports Krishna Chaitanya Chundru
2026-09-11 6:50 ` [PATCH 1/8] arm64: dts: qcom: kodiak: " Krishna Chaitanya Chundru
2026-09-11 6:50 ` [PATCH 2/8] arm64: dts: qcom: lemans: " Krishna Chaitanya Chundru
2026-09-11 7:03 ` sashiko-bot [this message]
2026-09-11 6:50 ` [PATCH 3/8] arm64: dts: qcom: monaco: " Krishna Chaitanya Chundru
2026-09-11 7:02 ` sashiko-bot
2026-09-11 6:50 ` [PATCH 4/8] arm64: dts: qcom: hamoa: " Krishna Chaitanya Chundru
2026-09-11 6:50 ` [PATCH 5/8] arm64: dts: qcom: glymur: " Krishna Chaitanya Chundru
2026-09-11 6:50 ` [PATCH 6/8] arm64: dts: qcom: talos: Add t-power-on-us property for PCIe root port Krishna Chaitanya Chundru
2026-09-11 6:50 ` [PATCH 7/8] arm64: dts: qcom: sm8750: " Krishna Chaitanya Chundru
2026-09-11 6:58 ` sashiko-bot
2026-09-11 6:50 ` [PATCH 8/8] arm64: dts: qcom: kaanapali: " Krishna Chaitanya Chundru
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=20260911070336.6B8B81F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krishna.chundru@oss.qualcomm.com \
--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 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.