From: Fabio Estevam <fabio.estevam@freescale.com>
To: Hector Palacios <hector.palacios@digi.com>, linux-gpio@vger.kernel.org
Cc: linus.walleij@linaro.org, festevam@gmail.com, zonque@gmail.com,
"shawn.guo@linaro.org" <shawn.guo@linaro.org>
Subject: Re: mxs gpios as wakeup interrupts and irq_set_wake() hook
Date: Thu, 21 Nov 2013 14:35:23 -0200 [thread overview]
Message-ID: <528E364B.2070309@freescale.com> (raw)
In-Reply-To: <528DDE30.4090509@digi.com>
Hi Hector,
On 11/21/2013 08:19 AM, Hector Palacios wrote:
> Hello,
>
> I was trying to have GPIOs be able to wake up my ARM i.MX28 system from
> suspend but noticed that the existing hook irq_set_wake() in the driver
>
> ct->chip.irq_set_wake = mxs_gpio_set_wake_irq;
>
> was never called when I enabled a gpio as wakeup via the sysfs:
>
> echo enabled > /sys/class/gpio/gpio107/device/power/wakeup
Does the existing code work if you pass 'gpio-key,wakeup' in the .dts file?
Regards,
Fabio Estevam
next prev parent reply other threads:[~2013-11-21 16:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-21 10:19 mxs gpios as wakeup interrupts and irq_set_wake() hook Hector Palacios
2013-11-21 16:35 ` Fabio Estevam [this message]
2013-11-21 17:32 ` Hector Palacios
2013-11-21 17:45 ` Fabio Estevam
2013-11-27 14:00 ` Linus Walleij
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=528E364B.2070309@freescale.com \
--to=fabio.estevam@freescale.com \
--cc=festevam@gmail.com \
--cc=hector.palacios@digi.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=shawn.guo@linaro.org \
--cc=zonque@gmail.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.