[PATCH v3 4/4] usb: dwc3: imx8mp: Set out of band wakeup for i.MX95
Ulf Hansson
ulf.hansson at linaro.org
Thu Sep 18 08:15:32 PDT 2025
On Tue, 2 Sept 2025 at 05:33, Peng Fan <peng.fan at nxp.com> 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>
> ---
> 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);
> +
Similar comment as for patch3, please set this from system suspend
callback instead.
> pm_runtime_put(dev);
>
> return 0;
>
> --
> 2.37.1
>
Kind regards
Uffe
More information about the linux-arm-kernel
mailing list