* [Query]usb: dwc2: suspend/resume support for DWC2_POWER_DOWN_PARAM_NONE case
@ 2020-06-16 9:03 Jisheng Zhang
2020-06-16 13:53 ` Minas Harutyunyan
0 siblings, 1 reply; 2+ messages in thread
From: Jisheng Zhang @ 2020-06-16 9:03 UTC (permalink / raw)
To: Minas Harutyunyan, Greg Kroah-Hartman; +Cc: linux-usb, linux-kernel
Hi,
After reading current dwc2 code, I got an impression that resume from suspend
to ram isn't supported for DWC2_POWER_DOWN_PARAM_NONE case, right? In fact
we do see usb device can't resume properly with DWC2_POWER_DOWN_PARAM_NONE case.
If the impression is true, what's the proper technical direction? Add
dwc2_host_enter_suspend() as dwc2_host_enter_hibernation()
and
dwc2_host_exit_suspend() as dwc2_host_exit_hibernation()?
Thanks in advance,
Jisheng
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Query]usb: dwc2: suspend/resume support for DWC2_POWER_DOWN_PARAM_NONE case
2020-06-16 9:03 [Query]usb: dwc2: suspend/resume support for DWC2_POWER_DOWN_PARAM_NONE case Jisheng Zhang
@ 2020-06-16 13:53 ` Minas Harutyunyan
0 siblings, 0 replies; 2+ messages in thread
From: Minas Harutyunyan @ 2020-06-16 13:53 UTC (permalink / raw)
To: Jisheng Zhang, Greg Kroah-Hartman
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Hi Jisheng,
On 6/16/2020 1:03 PM, Jisheng Zhang wrote:
> Hi,
>
> After reading current dwc2 code, I got an impression that resume from suspend
> to ram isn't supported for DWC2_POWER_DOWN_PARAM_NONE case, right? In fact
'ram' Do you mean on suspend save registers in RAM?
If yes, then in case when power_down is _NONE then no any register
saving/restoring to/from RAM should be performing.
> we do see usb device can't resume properly with DWC2_POWER_DOWN_PARAM_NONE case.
>
If you see any issue on resume in mentioned case then more probably is
some another issue which can debugged.
> If the impression is true, what's the proper technical direction? Add
> dwc2_host_enter_suspend() as dwc2_host_enter_hibernation()
> and
> dwc2_host_exit_suspend() as dwc2_host_exit_hibernation()?
>
> Thanks in advance,
> Jisheng
>
Thanks,
Minas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-16 13:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-16 9:03 [Query]usb: dwc2: suspend/resume support for DWC2_POWER_DOWN_PARAM_NONE case Jisheng Zhang
2020-06-16 13:53 ` Minas Harutyunyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).