linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* pxa:spitz_pm.c: commit b6eede11 breaks spitz resume under certain conditions.
@ 2012-09-20 19:29 Marko Katić
  2012-09-21  2:13 ` Eric Miao
  0 siblings, 1 reply; 8+ messages in thread
From: Marko Katić @ 2012-09-20 19:29 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Eric,

========================================================
commit b6eede112673678f8a7a1680d6ad12245443829d
Author: Eric Miao <eric.y.miao@gmail.com>
Date:   Mon Jan 11 16:17:25 2010 +0800

    [ARM] pxa/spitz: use generic GPIO API and remove pxa_gpio_mode()

    REVISIT: change to GPIO18 is ugly, need to make sure whether that's
    really necessary - GPIO18_RDY as an VLIO input signal - we don't
    normally need to do such kind of trick during low power mode.

=========================================================

This GPIO18 change breaks spitz resume.
Spitz will fail to resume from STR under these conditions:

1) If the AC plug is powered and plugged in, and if you suspend the machine,
    the machine will not be able to resume if you remove the AC plug while the
   device is suspended.

2) If you connect the machine to a powered AC plug while the device is
suspended,
    the machine will not be able to resume.

If i comment out the call to pxa2xx_mfp_config in spitz_postsuspend(),
my machine will
properly resume under abovementioned conditions.

If i understand correctly, spitz_postsuspend () configures GPIO 18
to alternate mode 1 - RDY. However, I have no idea what RDY means or
what this GPIO is used for.

Eric can you please explain what's happening here?

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-10-24  3:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-20 19:29 pxa:spitz_pm.c: commit b6eede11 breaks spitz resume under certain conditions Marko Katić
2012-09-21  2:13 ` Eric Miao
     [not found]   ` <CAHod+Gc1L0pPZhnPL6Q2rx0KT=-VqdWaTd1FJt2aA9hTMZyeDg@mail.gmail.com>
2012-09-28  9:22     ` Marko Katić
     [not found]     ` <CAMPhdO8duNqisVL+FLc_0zgFTP+13r83XtRD0YbpdkzMuJov3Q@mail.gmail.com>
     [not found]       ` <CAHod+Gd=aLbntWsX_S_26_XSUtG9DQYkki1Y+drq0+8GdnHfaw@mail.gmail.com>
2012-10-18  9:28         ` Marko Katić
2012-10-19 11:37           ` Marko Katić
2012-10-23  3:10             ` Eric Miao
2012-10-23 12:53               ` Marko Katić
2012-10-24  3:31                 ` Eric Miao

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