* USB: OMAP: questions on patch "Implement runtime idling and remote wakeup for OMAP EHCI controller"
@ 2014-04-09 4:12 Chao Xu
2014-04-09 8:01 ` Roger Quadros
0 siblings, 1 reply; 2+ messages in thread
From: Chao Xu @ 2014-04-09 4:12 UTC (permalink / raw)
To: linux-kernel@vger.kernel.org, rogerq, stern
Hi,
I have two questions about this patch series. Any help is appreciated.
1. in the cover letter(https://lkml.org/lkml/2013/7/10/355), it states
"the series implements suspend/resume for the OMAP EHCI host
controller during runtime idle". I don't understand when is the EHCI
host controller "runtime idle"? Does "runtime idle" refers to when all
attached USB devices are suspended? or does it refer to whenever there
is no tx/rx ongoing in the EHCI host controller?
2. I think the purpose of the patch is to allow the USB power domain
(namely, L3INIT power domain) to enter low power state. So assuming
the power domain is now in RETENTION state, will the EHCI host be able
to detect remote wakeup in this case? i.e. will the ULPI DATA0, DATA1
and DATA3 reflect the Linestate and Interrupt when the L3INIT power
domain is in RETENTION? Put it in another way, when the power domain
in is a low power state defined in OMAP spec, is the USB host and PHY
in "low power mode" defined in USB spec?
Thank you!
Regards,
Chao Xu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: USB: OMAP: questions on patch "Implement runtime idling and remote wakeup for OMAP EHCI controller"
2014-04-09 4:12 USB: OMAP: questions on patch "Implement runtime idling and remote wakeup for OMAP EHCI controller" Chao Xu
@ 2014-04-09 8:01 ` Roger Quadros
0 siblings, 0 replies; 2+ messages in thread
From: Roger Quadros @ 2014-04-09 8:01 UTC (permalink / raw)
To: Chao Xu, linux-kernel@vger.kernel.org, stern
Hi,
On 04/09/2014 07:12 AM, Chao Xu wrote:
> Hi,
>
> I have two questions about this patch series. Any help is appreciated.
> 1. in the cover letter(https://lkml.org/lkml/2013/7/10/355), it states
> "the series implements suspend/resume for the OMAP EHCI host
> controller during runtime idle". I don't understand when is the EHCI
> host controller "runtime idle"? Does "runtime idle" refers to when all
> attached USB devices are suspended? or does it refer to whenever there
> is no tx/rx ongoing in the EHCI host controller?
It refers to when all USB devices are auto-suspended.
>
> 2. I think the purpose of the patch is to allow the USB power domain
> (namely, L3INIT power domain) to enter low power state. So assuming
Right.
> the power domain is now in RETENTION state, will the EHCI host be able
> to detect remote wakeup in this case? i.e. will the ULPI DATA0, DATA1
> and DATA3 reflect the Linestate and Interrupt when the L3INIT power
> domain is in RETENTION? Put it in another way, when the power domain
> in is a low power state defined in OMAP spec, is the USB host and PHY
> in "low power mode" defined in USB spec?
The OMAP EHCI controller is not running and the OMAP USB_HS module is
idle as well and so it can't detect any changes on the ULPI lines.
The PHY is in low power state and should reflect the line status on the DAT0-1
lines.
During the suspended state, we use the IOring mechanism to detect a changed on DAT lines
and wake up the controller/system.
cheers,
-roger
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-09 8:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-09 4:12 USB: OMAP: questions on patch "Implement runtime idling and remote wakeup for OMAP EHCI controller" Chao Xu
2014-04-09 8:01 ` Roger Quadros
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.