From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Andrew LeCain <alecain@google.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: dss_pwrdm & core_pwrdm not entering sleep state correctly on am37xx
Date: Wed, 7 May 2014 13:16:41 +0300 [thread overview]
Message-ID: <536A0809.3050008@ti.com> (raw)
In-Reply-To: <CABCN2StgZisw2WH=wQb_iGEDZLo1ysLJ-f8BZ4a_Yf0_Ph_zKQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1790 bytes --]
On 06/05/14 06:15, Andrew LeCain wrote:
> Hi,
>
> I'm trying to backport a display driver for an RFBI panel to 2.6.32, but
> the dss_pwrdm is complaining about not entering target state:
That is probably some custom kernel, as mainline 2.6.32 didn't even have
omapdss driver.
> root@02AA01AB381207S7# cat /sys/kernel/debug/pm_debug/count | grep dss
> dss_pwrdm (ON),OFF:0,RET:11,INA:0,ON:12
> dss_clkdm->dss_pwrdm (0)
>
> root@02AA01AB381207S7# echo -n "mem" > /sys/power/state PM: Syncing
> filesystems ... done. PM: Preparing system for mem sleep Freezing user
> space processes ... (elapsed 0.02 seconds) done. Freezing remaining
> freezable tasks ... (elapsed 0.04 seconds) done. PM: Entering mem sleep
> spidev spi2.0: ... can't suspend WLAN: Suspend call WLAN_firmware
> Suspend Wake locks are active (count: 0) Shutting Down I&F Clock
> Interface Powerdomain (core_pwrdm) didn't enter target state 0
> Powerdomain (dss_pwrdm) didn't enter target state 0 Could not enter
> target state in pm_suspend
> <snip> #no change after attempted suspend.
> root@02AA01AB381207S7# cat /sys/kernel/debug/pm_debug/count | grep dss
> dss_pwrdm (ON),OFF:0,RET:11,INA:0,ON:12
> dss_clkdm->dss_pwrdm (0)
>
>
> I was worried it might be the dss clocks not being disabled, but I
> instrumented dss_clk_(en|dis)able to print clock counts and it goes to 0
> before suspending. I don't really understand what will prevent the dss
> power domain from entering retain state or not, so any pointers would be
> useful.
Hmm. I think the "dss_clkdm->dss_pwrdm (0)" says that there are no users
with references dss_pwrdm. So it sounds to me all the clocks etc are
properly off, but the platform code does not turn the dss powerdomain
off for some reason.
Tomi
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next parent reply other threads:[~2014-05-07 10:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CABCN2StgZisw2WH=wQb_iGEDZLo1ysLJ-f8BZ4a_Yf0_Ph_zKQ@mail.gmail.com>
2014-05-07 10:16 ` Tomi Valkeinen [this message]
2014-05-07 20:13 ` dss_pwrdm & core_pwrdm not entering sleep state correctly on am37xx Andrew LeCain
2014-05-14 22:32 ` Andrew LeCain
2014-05-06 19:09 Andrew LeCain
2014-05-06 19:58 ` Tony Lindgren
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=536A0809.3050008@ti.com \
--to=tomi.valkeinen@ti.com \
--cc=alecain@google.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 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.