Skip to contentSkip to conversation

Info on EHCI/OHCI vs PM

DISCUSSION Francesco VIRLINZI 2 participants 2 messages Sep 8, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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

Quoted 25 lines

-----Original Message-----
From: [email protected] [mailto:linux-pm- [email protected]] On Behalf Of Francesco VIRLINZI
Sent: Monday, September 08, 2008 11:49 AM
To: [email protected]
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.

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

Regards
Francesco
_______________________________________________
linux-pm mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/linux-pm