From mboxrd@z Thu Jan 1 00:00:00 1970 From: haojian.zhuang@gmail.com (Haojian Zhuang) Date: Thu, 3 May 2012 09:50:50 +0800 Subject: [PATCH RESEND] ARM: pxa: hx4700: Enable ASIC3 GPIO as a wakeup source In-Reply-To: References: Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, May 2, 2012 at 11:49 PM, Paul Parsons wrote: > This patch enables the ASIC3 GPIO (12) as a wakeup source: > 1. Set the WAKEUP_ON_EDGE_RISE MFP config bits for GPIO12 in > hx4700_pin_config[]. > 2. Call gpio_set_wake() for GPIO12. > > With GPIO12 thus enabled, the mfd/asic3 driver can enable its own GPIOs > as wakeup sources by implementing a irq_set_wake() handler. > > Signed-off-by: Paul Parsons > Cc: Philipp Zabel > --- > ?arch/arm/mach-pxa/hx4700.c | ? ?3 ++- > ?1 files changed, 2 insertions(+), 1 deletions(-) > Applied Regards Haojian