From: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Wesley Cheng <quic_wcheng@quicinc.com>,
Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Cc: linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Subject: [PATCH v4 0/2] Modify interrupt handling for eUSB2 Phy targets
Date: Thu, 09 Jul 2026 14:22:35 +0530 [thread overview]
Message-ID: <20260709-eusb2-interrupt-handling-v5-v4-0-d4f993925608@oss.qualcomm.com> (raw)
eUSB2 targets handle wakeup interrupts differently depending on device
speed when operating in host mode.
According to the eUSB2 specification, remote wakeup signaling in host
mode is detected via different data-line assertions based on the
connected device speed.
When a low-speed device is connected, the host repeater drives eD+ to
logic '1' upon detecting a K-state on the USB lines during remote wakeup
(eUSB2 specification, Section 5.5.14).
When a full-speed or high-speed device is connected, the host repeater
drives eD- to logic '1' upon detecting a K-state on the USB line during
remote wakeup (eUSB2 specification, Sections 5.5.15 and 5.5.18).
Since the eUSB2 PHY's "DP" and "DM" interrupt lines monitor the eD+ and
eD- line states, configure the wakeup interrupts accordingly
Add new property to dt-binding indicating that the USB controller on SoC
has eUSB2 Phys or not.
Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
---
Changes in v4:
- Moved to using binding approach as suggested by Thinh
Link to v3:
https://lore.kernel.org/all/20260511094422.3561509-1-krishna.kurapati@oss.qualcomm.com/
Changes in v3:
- Removed multiple glymur-dwc3-mp pdata entries
- Replaced use of ternary operators with if-else
Link to v2:
https://lore.kernel.org/all/20260505194242.1947891-1-krishna.kurapati@oss.qualcomm.com/
Changes in v2:
- Updated commit message
- added supported eUSB2 targets
Link to v1:
https://lore.kernel.org/all/20260502095616.666938-1-krishna.kurapati@oss.qualcomm.com/
---
Krishna Kurapati (2):
dt-bindings: qcom,snps-dwc3: Add property indicating presence of eUSB2 phy
usb: dwc3: qcom: Modify interrupt handling for eUSB2 Phy targets
.../devicetree/bindings/usb/qcom,snps-dwc3.yaml | 7 ++++
drivers/usb/dwc3/dwc3-qcom.c | 40 ++++++++++++++++------
2 files changed, 37 insertions(+), 10 deletions(-)
---
base-commit: 62481c92444386d46b3c4a9c3dbcd4917f07d138
change-id: 20260709-eusb2-interrupt-handling-v5-da49ab5d5a84
Best regards,
--
Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
next reply other threads:[~2026-07-09 8:52 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 8:52 Krishna Kurapati [this message]
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 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-13 6:26 ` Krzysztof Kozlowski
2026-07-13 7:20 ` Peter Chen
2026-07-13 23:41 ` Thinh Nguyen
2026-07-14 3:20 ` Peter Chen
2026-07-14 23:23 ` Thinh Nguyen
2026-07-15 3:37 ` Peter Chen
2026-07-16 0:09 ` Thinh Nguyen
2026-07-16 2:35 ` Peter Chen
2026-07-16 23:53 ` Thinh Nguyen
2026-07-15 5:38 ` Krishna Kurapati
2026-07-15 23:19 ` Thinh Nguyen
2026-07-16 4:12 ` Krishna Kurapati
2026-07-16 10:37 ` Peter Chen
2026-07-17 0:06 ` Thinh Nguyen
2026-07-17 1:20 ` Peter Chen
2026-07-17 1:56 ` Thinh Nguyen
2026-07-17 3:42 ` Peter Chen
2026-07-17 4:01 ` Krishna Kurapati
2026-07-17 21:34 ` Thinh Nguyen
2026-07-14 0:41 ` Thinh Nguyen
2026-07-09 8:52 ` [PATCH v4 2/2] usb: dwc3: qcom: Modify interrupt handling for eUSB2 Phy targets 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=20260709-eusb2-interrupt-handling-v5-v4-0-d4f993925608@oss.qualcomm.com \
--to=krishna.kurapati@oss.qualcomm.com \
--cc=Thinh.Nguyen@synopsys.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=quic_wcheng@quicinc.com \
--cc=robh@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