All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shubhrajyoti <shubhrajyoti@ti.com>
To: "Shilimkar, Santosh" <santosh.shilimkar@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>,
	linux-omap@vger.kernel.org, khilman@ti.com,
	govindraj.raja@ti.com, Felipe Balbi <balbi@ti.com>
Subject: Re: v3.5-rc4 doesn't wake from dynamic idle on 3530ES3 Beagle
Date: Mon, 02 Jul 2012 15:52:34 +0530	[thread overview]
Message-ID: <4FF1766A.5060605@ti.com> (raw)
In-Reply-To: <CAMQu2gztSV1qtgea9rL46orqTFR-vQkES5fen4GCqEfBh046-Q@mail.gmail.com>

On Thursday 28 June 2012 11:45 AM, Shilimkar, Santosh wrote:
> + Shubro, Felipe,
>
> On Thu, Jun 28, 2012 at 12:57 AM, Paul Walmsley <paul@pwsan.com> wrote:
>> On Wed, 27 Jun 2012, Paul Walmsley wrote:
>>
>>> Looks like something broke between v3.5-rc3 and v3.5-rc4 with dynamic
>>> idle on 3530ES3 Beagle.  37xx EVM doesn't seem to be affected.
>>>
>>> Taking a closer look now.
>> Reverting commit 91930652a23de0873a157aa1d9962cb878d64451 ("OMAP2+: UART:
>> Add mechanism to probe uart pins and configure rx wakeup") makes wakeup
>> from dynamic retention idle work again.
>>
> I suspected this.
> This could be because, all the board are now expected to setup the pin
> configurations.
I do not have access to a 3530 Beagle

Just tried on 3630 beagle that seems to be fine.
let me see if I can reproduce in other onap3 boards that I have.

Hi Paul,

On my beaglexm 3630

This is with the following steps:
1. merge your 32k timer fix branch
2. disable USB host: set CONFIG_MFD_OMAP_USB_HOST=n

Let me know if I missed anything.

# echo 3000 > /sys/devices/platform/omap_uart.0/power/autosuspend_delay_ms
# echo 3000 > /sys/devices/platform/omap_uart.1/power/autosuspend_delay_ms
# echo 3000 > /sys/devices/platform/omap_uart.2/power/autosuspend_delay_ms
#
# mount -t debugfs debugfs /debug/
# cat /debug/pm_debug/count | grep per_pwrdm
per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0
per_clkdm->per_pwrdm (17)
# echo 1 > /debug/pm_debug/enable_off_mode
# echo enabled > /sys/devices/platform/omap_uart.2/tty/ttyO2/power/wakeup
# echo mem > /sys/power/state
[   12.404083] PM: Syncing filesystems ... done.
[   12.426055] Freezing user space processes ... (elapsed 0.01 seconds)
done.
[   12.452728] Freezing remaining freezable tasks ... (elapsed 0.02
seconds) done.
[   12.483795] Suspending console(s) (use no_console_suspend to debug)
[   12.609039] PM: suspend of devices complete after 115.564 msecs
[   12.611511] PM: late suspend of devices complete after 2.471 msecs
[   12.615966] PM: noirq suspend of devices complete after 4.424 msecs
[   12.616027] Disabling non-boot CPUs ...
[   13.203704] Successfully put all powerdomains to target state
[   13.206115] PM: noirq resume of devices complete after 2.135 msecs
[   13.209228] PM: early resume of devices complete after 1.708 msecs
[   13.585815] PM: resume of devices complete after 376.464 msecs
[   13.637603] Restarting tasks ... done.
#
# cat /debug/pm_debug/count | grep per_pwrdm
per_pwrdm (ON),OFF:1,RET:0,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0
per_clkdm->per_pwrdm (17)
#





>
> Regards
> Santosh


  reply	other threads:[~2012-07-02 10:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27 17:03 v3.5-rc4 doesn't wake from dynamic idle on 3530ES3 Beagle Paul Walmsley
2012-06-27 18:26 ` Kevin Hilman
2012-06-27 19:27 ` Paul Walmsley
2012-06-28  6:15   ` Shilimkar, Santosh
2012-07-02 10:22     ` Shubhrajyoti [this message]
2012-07-03 11:40       ` Datta, Shubhrajyoti
2012-07-04  3:06       ` Paul Walmsley

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=4FF1766A.5060605@ti.com \
    --to=shubhrajyoti@ti.com \
    --cc=balbi@ti.com \
    --cc=govindraj.raja@ti.com \
    --cc=khilman@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=santosh.shilimkar@ti.com \
    /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.