Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Krishna Kurapati" <krishna.kurapati@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v4 1/2] dt-bindings: qcom,snps-dwc3: Add property indicating presence of eUSB2 phy
Date: Thu, 09 Jul 2026 09:01:00 +0000	[thread overview]
Message-ID: <20260709090100.7C37D1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260709-eusb2-interrupt-handling-v5-v4-1-d4f993925608@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The `qcom,has-eusb2-phy` property introduces a redundant boolean flag that duplicates existing hardware topology information, and its description incorrectly encodes software behavior.
- [Medium] The driver implementation for the newly added device tree property is missing from the patch series, despite claims in the commit message.
--

--- Patch [1]: [PATCH v4 1/2] dt-bindings: qcom,snps-dwc3: Add property indicating presence of eUSB2 phy ---
commit 9b14e7faf16aedf430d06c05d4c7f31252c58f4c
Author: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>

dt-bindings: qcom,snps-dwc3: Add property indicating presence of eUSB2 phy

Add property "qcom,has-eusb2-phy" to indicate whether the SoC has eUSB2 phy
or not. This is used to modify dp/dm interrupts during host mode suspend.

> diff --git a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
> index 8201656b41ed7..0c6a839be82fd 100644
> --- a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
> +++ b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
> @@ -152,6 +152,13 @@ properties:
>        HS/FS/LS modes are supported.
>      type: boolean
>  
> +  qcom,has-eusb2-phy:
> +    description:
> +      If present, it indicates that the controller is working with eUSB2
> +      phy. This property is used to modify dp/dm interrupt configurations
> +      while entering suspend.
> +    type: boolean

[Severity: Medium]
Is this new property strictly necessary to describe the hardware topology?

The hardware topology appears to already be fully described. The standard
phys property points to a PHY node which has its own specific compatible
string. Could the driver deduce the PHY type by querying the linked PHY node
or by using the controller's SoC-specific compatible string, rather than
relying on a custom boolean flag?

Also, the description explicitly mentions software policy ("used to modify
dp/dm interrupt configurations while entering suspend"). Should this be
updated to describe the hardware rather than how the OS driver behaves?

[Severity: Medium]
The commit message mentions that this property "is used to modify dp/dm
interrupts during host mode suspend", but the driver implementation for this
feature seems to be missing from the patch.

Should the driver changes in drivers/usb/ that actually parse and utilize
this property be included in the same series to allow for a complete review?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260709-eusb2-interrupt-handling-v5-v4-0-d4f993925608@oss.qualcomm.com?part=1

  reply	other threads:[~2026-07-09  9:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-09  8:52 [PATCH v4 0/2] Modify interrupt handling for eUSB2 Phy targets Krishna Kurapati
2026-07-09  8:52 ` [PATCH v4 1/2] dt-bindings: qcom,snps-dwc3: Add property indicating presence of eUSB2 phy Krishna Kurapati
2026-07-09  9:01   ` sashiko-bot [this message]
2026-07-09 13:47   ` Dmitry Baryshkov
2026-07-10  1:52     ` Thinh Nguyen
2026-07-10  7:16       ` Krzysztof Kozlowski
2026-07-10  7:19         ` Krzysztof Kozlowski
2026-07-10 21:02           ` Thinh Nguyen
2026-07-09  8:52 ` [PATCH v4 2/2] usb: dwc3: qcom: Modify interrupt handling for eUSB2 Phy targets Krishna Kurapati
2026-07-09  9:07   ` sashiko-bot

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=20260709090100.7C37D1F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krishna.kurapati@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox