Re: [PATCH v7 0/5] Modify interrupt handling for eUSB2 Phy targets

From: Krishna Kurapati

Date: Tue Oct 13 2026 - 04:40:57 EST




On 10/12/2026 7:01 PM, Manivannan Sadhasivam wrote:
On Sat, Sep 05, 2026 at 08:59:04PM +0530, Krishna Kurapati wrote:
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 support for a new phy "type" attribute to be set by eusb2 phy drivers
and be read by consumers (in this case usb controller) and act accordingly

Changes pushed on top of usb-testing branch. And v7 is only compile tested.


I believe the merge strategy is to merge all the patches through PHY tree. If
anyone feel otherwise, please yell at me.

There is one existing comment from Vinod on v8-2/5:
https://lore.kernel.org/all/3a3cf540-816f-41a3-b31d-2902e7f4cf01@xxxxxxxxxxxxxxxx/

Once it is addressed, will send v9 on top of phy next.

Regards,
Krishna,