All of lore.kernel.org
 help / color / mirror / Atom feed
From: lost.distance@yahoo.com (Paul Parsons)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] gpio: pxa: Set PXA GPIO irq_chip IRQCHIP_SKIP_SET_WAKE flag
Date: Wed, 18 Apr 2012 02:04:18 +0100 (BST)	[thread overview]
Message-ID: <1334711058.19852.YahooMailClassic@web29008.mail.ird.yahoo.com> (raw)
In-Reply-To: <87lilum4jr.fsf@free.fr>

Hello Robert,

--- On Tue, 17/4/12, Robert Jarzmik <robert.jarzmik@free.fr> wrote:
> >> The PXA GPIO irq_chip structure
> >> (pxa_muxed_gpio_chip) sets neither:
> >> 1. The irq_set_wake() handler.
> >> 2. The IRQCHIP_SKIP_SET_WAKE flag.
> 
> Hi Paul and others,
> 
> I tried the v3.4-rc2 today, and it _seems_ gpio button
> wakeups don't work
> anymore (ie. wakeup set up by gpio-keys driver). More
> specifically, the GPIO0
> (power button) doesn't wakeup my board from "echo mem >
> /proc/power/state".

Which board are you using?

> 
> I haven't investigated much, but tracing PWER register on
> suspend,
> while GPIO0 (power button) was set as a wakeup source gives
> 0x80100000, which
> lacks the bit0 setting (ie. GPIO0 as a wakeup source).

PWER bit 0 (WE0) has a reset value of 1 on the PXA250/PXA270.
If your WE0 is 0 then presumably either your bootloader or kernel
has cleared it.

> 
> I don't know it this is a recent or known issue, or if I'm
> have missed a change in
> pxa/gpio-keys driver.

I can only comment on the hx4700 platform, which has 4 pending
patches for suspend/resume, plus 1 more still to be submitted.
These fix hx4700 suspend/resume, which has never worked.
None of the patches touch the gpio-keys driver, however.

> 
> Would anyone have an idea what's happening or should I look
> for the issue myself ?

If you are using the hx4700 then I can point you towards the
pending patches.

Regards,
Paul

  reply	other threads:[~2012-04-18  1:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 14:06 [PATCH] gpio: pxa: Set PXA GPIO irq_chip IRQCHIP_SKIP_SET_WAKE flag Paul Parsons
2012-04-12 18:07 ` Paul Parsons
2012-04-17 21:28   ` Robert Jarzmik
2012-04-18  1:04     ` Paul Parsons [this message]
2012-04-18 10:58       ` Paul Parsons
2012-04-18 18:21         ` Robert Jarzmik
2012-04-18 19:34           ` Paul Parsons
2012-04-18 20:59             ` Robert Jarzmik
2012-04-18 22:40               ` Paul Parsons
2012-04-19 19:40                 ` Robert Jarzmik
2012-04-20  0:55                   ` Haojian Zhuang
2012-04-22 11:37                     ` [PATCH] arm/pxa: fix gpio wakeup setting Robert Jarzmik
2012-04-24 17:46                       ` Robert Jarzmik
2012-04-27  2:52                         ` Haojian Zhuang

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=1334711058.19852.YahooMailClassic@web29008.mail.ird.yahoo.com \
    --to=lost.distance@yahoo.com \
    --cc=linux-arm-kernel@lists.infradead.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.