From: Peter Barada <peter.barada@logicpd.com>
To: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: linux-3.0: system suspend leaves usbhost clocks enabled
Date: Mon, 19 Dec 2011 17:02:00 -0500 [thread overview]
Message-ID: <4EEFB458.1050100@logicpd.com> (raw)
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
reply other threads:[~2011-12-19 22:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EEFB458.1050100@logicpd.com \
--to=peter.barada@logicpd.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).