[PATCH 05/10] usb: chipidea: msm: support the HSIC asynchronous wakeup interrupt

Konrad Dybcio konrad.dybcio at oss.qualcomm.com
Tue Aug 18 03:36:30 PDT 2026


On 8/10/26 5:42 PM, Dmitry Baryshkov wrote:
> The HSIC instances of the chipidea controller runtime-suspend with
> their clocks gated whenever the bus is empty. HSIC has no VBUS-style
> connect detection: a device (such as an onboard hub coming out of
> reset) signals a single connect event, and if the controller is
> suspended at that moment the connect is never noticed and the device
> never enumerates.

[...]

> +	/*
> +	 * The optional second interrupt is the asynchronous wakeup interrupt
> +	 * of the HSIC instances: without it a bus connect arriving while the
> +	 * runtime-suspended controller has its clocks gated is never seen.
> +	 */
> +	wake_irq = platform_get_irq_optional(pdev, 1);
> +	if (wake_irq > 0) {
> +		device_init_wakeup(&plat_ci->dev, true);
> +		ret = dev_pm_set_dedicated_wake_irq(&plat_ci->dev, wake_irq);

devm_pm_set_wake_irq()?

Konrad



More information about the linux-phy mailing list