[PATCH v3 4/4] usb: dwc3: imx8mp: Set out of band wakeup for i.MX95

Xu Yang xu.yang_2 at nxp.com
Tue Sep 2 01:56:02 PDT 2025


On Tue, Sep 02, 2025 at 11:33:03AM +0800, Peng Fan wrote:
> i.MX95 DWC3 inside HSIOMIX could still wakeup Linux, even if HSIOMIX
> power domain(Digital logic) is off. There is still always on logic
> have the wakeup capability which is out band wakeup capbility.
> 
> So use device_set_out_band_wakeup for i.MX95 to make sure DWC3 could
> wakeup system even if HSIOMIX power domain is in off state.
> 
> Acked-by: Thinh Nguyen <Thinh.Nguyen at synopsys.com>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>

Tested-by: Xu Yang <xu.yang_2 at nxp.com>
Reviewed-by: Xu Yang <xu.yang_2 at nxp.com>

> ---
>  drivers/usb/dwc3/dwc3-imx8mp.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/usb/dwc3/dwc3-imx8mp.c b/drivers/usb/dwc3/dwc3-imx8mp.c
> index bce6af82f54c24423c1e1fcc46913c8456b6f035..fde158d1f6e3d89d261ed3689a17d703878c7e37 100644
> --- a/drivers/usb/dwc3/dwc3-imx8mp.c
> +++ b/drivers/usb/dwc3/dwc3-imx8mp.c
> @@ -248,6 +248,10 @@ static int dwc3_imx8mp_probe(struct platform_device *pdev)
>  	}
>  
>  	device_set_wakeup_capable(dev, true);
> +
> +	if (device_is_compatible(dev, "fsl,imx95-dwc3"))
> +		device_set_out_band_wakeup(dev, true);
> +
>  	pm_runtime_put(dev);
>  
>  	return 0;
> 
> -- 
> 2.37.1
> 



More information about the linux-arm-kernel mailing list