From: sashiko-bot@kernel.org
To: "Pratham Pratap" <pratham.pratap@oss.qualcomm.com>
Cc: olteanv@gmail.com, linux-phy@lists.infradead.org,
devicetree@vger.kernel.org, vkoul@kernel.org, robh@kernel.org,
conor+dt@kernel.org, neil.armstrong@linaro.org
Subject: Re: [PATCH v3 4/4] phy: qcom: qmp-usbc: Add support for "phy" reset used on Shikra
Date: Tue, 26 May 2026 19:52:38 +0000 [thread overview]
Message-ID: <20260526195238.7621B1F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260526184401.3959717-5-pratham.pratap@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Critical] Unconditionally adding the 'phy' reset to `usb3dpphy_reset_l` breaks the driver probe for existing QCS615 platforms.
--
commit c8024a0d34e805ada6e128fcb57e931ef7692038
Author: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
phy: qcom: qmp-usbc: Add support for "phy" reset used on Shikra
This patch adds the "phy" reset to the usb3dpphy_reset_l array. This extra
reset is needed for the operation of the QMP Phy on the Shikra platform.
> diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
> index c342479a37980..067e7f6e56424 100644
> --- a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
> +++ b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
[ ... ]
> static const char * const usb3dpphy_reset_l[] = {
> - "phy_phy", "dp_phy",
> + "phy_phy", "dp_phy", "phy",
[Severity: Critical]
Will adding this reset unconditionally cause a probe failure for existing
QCS615 platforms?
The length of the usb3dpphy_reset_l array is used by ARRAY_SIZE() to define
the num_resets value for the configuration. Since qmp_usbc_reset_init()
fetches these resets using devm_reset_control_bulk_get_exclusive(), it
strictly requires all requested resets to be present in the device tree.
If an older device tree only defines the two original resets, phy_phy and
dp_phy, won't the driver fail to find the third reset and return -ENOENT,
causing the probe to abort?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260526184401.3959717-1-pratham.pratap@oss.qualcomm.com?part=4
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2026-05-26 19:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-26 18:43 [PATCH v3 0/4] Add USB Phy driver and binding changes for Qualcomm Shikra SoC Pratham Pratap
2026-05-26 18:43 ` [PATCH v3 1/4] dt-bindings: phy: qcom,qusb2: Document QUSB2 Phy for Shikra Pratham Pratap
2026-05-26 18:43 ` [PATCH v3 2/4] dt-bindings: phy: qcom,qcs615-qmp-usb3-dp-phy: Add support " Pratham Pratap
2026-05-26 19:13 ` sashiko-bot
2026-05-27 9:46 ` Krzysztof Kozlowski
2026-06-15 19:02 ` Krishna Kurapati
2026-06-16 5:07 ` Krzysztof Kozlowski
2026-05-26 18:44 ` [PATCH v3 3/4] phy: qcom-qusb2: " Pratham Pratap
2026-05-26 18:44 ` [PATCH v3 4/4] phy: qcom: qmp-usbc: Add support for "phy" reset used on Shikra Pratham Pratap
2026-05-26 19:52 ` sashiko-bot [this message]
2026-05-27 6:27 ` Xiangxu Yin
2026-06-15 19:03 ` Krishna Kurapati
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=20260526195238.7621B1F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=neil.armstrong@linaro.org \
--cc=olteanv@gmail.com \
--cc=pratham.pratap@oss.qualcomm.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vkoul@kernel.org \
/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