From: Baruch Siach <baruch@tkos.co.il>
To: Dinh.Nguyen@freescale.com
Cc: linux-kernel@vger.kernel.org, amit.kucheria@canonical.com,
linux@arm.linux.org.uk, s.hauer@pengutronix.de,
grant.likely@secretlab.ca, linux-arm-kernel@lists.infradead.org,
daniel@caiaq.de, u.kleine-koenig@pengutronix.de,
xiao-lizhang@freescale.com, valentin.longchamp@epfl.ch
Subject: Re: [PATCH 1/2] ARM: imx: Add wake functionality to GPIO
Date: Sat, 16 Oct 2010 20:49:20 +0200 [thread overview]
Message-ID: <20101016184919.GC6225@tarshish> (raw)
In-Reply-To: <1287173908-25758-1-git-send-email-Dinh.Nguyen@freescale.com>
Hi Dinh,
On Fri, Oct 15, 2010 at 03:18:27PM -0500, Dinh.Nguyen@freescale.com wrote:
> From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
>
> Add function definition for irq_chip.set_wake to enable GPIO to
> wake-up the system.
>
> Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
> ---
> arch/arm/plat-mxc/gpio.c | 35 +++++++++++++++++++++++++++++++++
> arch/arm/plat-mxc/include/mach/gpio.h | 3 ++
> 2 files changed, 38 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/plat-mxc/gpio.c b/arch/arm/plat-mxc/gpio.c
> index 57ec4a8..7647ba3 100644
> --- a/arch/arm/plat-mxc/gpio.c
> +++ b/arch/arm/plat-mxc/gpio.c
[snip]
> diff --git a/arch/arm/plat-mxc/include/mach/gpio.h
> b/arch/arm/plat-mxc/include/mach/gpio.h
> index af33b74..dba3768 100644
> --- a/arch/arm/plat-mxc/include/mach/gpio.h
> +++ b/arch/arm/plat-mxc/include/mach/gpio.h
> @@ -39,6 +39,9 @@ struct mxc_gpio_port {
> struct gpio_chip chip;
> u32 both_edges;
> spinlock_t lock;
> + u32 suspend_wakeup;
> + u32 saved_wakeup;
> +
Unneeded blank line.
> };
>
> int mxc_gpio_init(struct mxc_gpio_port*, int);
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next prev parent reply other threads:[~2010-10-16 18:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-15 20:18 [PATCH 1/2] ARM: imx: Add wake functionality to GPIO Dinh.Nguyen
2010-10-15 20:18 ` [PATCH 2/2] ARM: imx: Add POWER_KEY to mx51 babbage board Dinh.Nguyen
2010-10-15 21:09 ` Eric Bénard
2010-10-15 20:23 ` [PATCH 1/2] ARM: imx: Add wake functionality to GPIO Russell King - ARM Linux
2010-10-16 18:49 ` Baruch Siach [this message]
2010-10-18 7:42 ` Sascha Hauer
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=20101016184919.GC6225@tarshish \
--to=baruch@tkos.co.il \
--cc=Dinh.Nguyen@freescale.com \
--cc=amit.kucheria@canonical.com \
--cc=daniel@caiaq.de \
--cc=grant.likely@secretlab.ca \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=s.hauer@pengutronix.de \
--cc=u.kleine-koenig@pengutronix.de \
--cc=valentin.longchamp@epfl.ch \
--cc=xiao-lizhang@freescale.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox