Francesco VIRLINZI | 8 Sep 08:15
Favicon

Info on EHCI/OHCI vs PM

Hi all.
I need an help on USB vs PM.
I'm working on a embedded platform with USB Host Controller.
There is an EHCI with a Companion OHCI and both work fine.
Now I would add the PM support.
Until now both the host controller are on the 'platform_bus' therefore 
they seem
 independent.

Is this configuration ok or I have to declare a kind of relationship
 between the host controller (and if so which one)?

Regards
 Francesco
Dasgupta, Romit | 8 Sep 09:25
Favicon

Re: Info on EHCI/OHCI vs PM

You need to define the appropriate functions for 
platform_driver.suspend
platform_driver.resume

and 
hc_driver.bus_suspend
hc_driver.bus_resume routines

You may look at
drivers/usb/host/ohci-at91.c (Not sure if that is working though).

Thanks,
-Romit

>-----Original Message-----
>From: linux-pm-bounces <at> lists.linux-foundation.org [mailto:linux-pm-
>bounces <at> lists.linux-foundation.org] On Behalf Of Francesco VIRLINZI
>Sent: Monday, September 08, 2008 11:49 AM
>To: linux-pm <at> lists.linux-foundation.org
>Subject: [linux-pm] Info on EHCI/OHCI vs PM
>
>Hi all.
>I need an help on USB vs PM.
>I'm working on a embedded platform with USB Host Controller.
>There is an EHCI with a Companion OHCI and both work fine.
>Now I would add the PM support.
>Until now both the host controller are on the 'platform_bus' therefore
>they seem
> independent.
>
(Continue reading)


Gmane