]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ARM: pxa: hx4700: Enable ASIC3 GPIO as a wakeup source
authorPaul Parsons <lost.distance@yahoo.com>
Wed, 2 May 2012 15:49:24 +0000 (16:49 +0100)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Thu, 3 May 2012 01:51:20 +0000 (09:51 +0800)
commite949f93c591352f0376fdd192b4060a38c102ba5
tree207fcd8c715847a2b38d5071faacb90bb6586d31
parent89619d44eec8ed95b3b62b2fd6ddc56aeea41a95
ARM: pxa: hx4700: Enable ASIC3 GPIO as a wakeup source

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 <lost.distance@yahoo.com>
Cc: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/hx4700.c