linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-3.0: system suspend leaves usbhost clocks enabled
@ 2011-12-19 22:02 Peter Barada
  0 siblings, 0 replies; only message in thread
From: Peter Barada @ 2011-12-19 22:02 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

I'm working with linux-3.0 (I know its not the latest), and I have the
USB host working.

However when I try to suspend, the usbhost power domain doesn't go into
suspend.  I've added code to capture the PRCM registers in SRAM just
before the WFI is executed and dump them after it resumes.  For usbhost
I'm seeing:

48005400 CM_FCLKEN_USBHOST    00000003 != 00000000
48005410 CM_ICLKEN_USBHOST    00000001 != 00000000
48005420 CM_IDLEST_USBHOST    00000000 != 00000003

Which means that the usbhost interface/function clocks are not
disabled.  I also noticed in the core/peripheral domain that a lot of
interface clocks are enabled (compared to the older 2.6.32 kernel I was
working on), even for devices that I don't have any platform_device
for(so the device's probe will fail).

As far as I can tell, the only place the usbhost f/i clocks are enabled
is in omap_hsusb_enable(), and  disabled in omap_hsusb_disable().  I see
omap_hsusb_eneable() called on startup, but never see
omap_hsusb_disable() called during system suspend.

Any ideas how I can get the usbhost clocks disabled across a board suspend?

-- 
Peter Barada
peter.barada@logicpd.com


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-19 22:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-19 22:02 linux-3.0: system suspend leaves usbhost clocks enabled Peter Barada

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).