MFD: ucb1x00-core: add wakeup support
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 22 Jan 2012 20:05:24 +0000 (20:05 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 18 Feb 2012 23:15:43 +0000 (23:15 +0000)
commit33237616771bfc29a97f17e74efe3799bb790343
tree4ad660084434e190150dab67170d3b65cf2e8a3a
parenta3364409c4af8bae42d04def48dc11409787e503
MFD: ucb1x00-core: add wakeup support

Add genirq wakeup support for the ucb1x00 device.  This allows an
attached gpio_keys driver to wakeup the system.  Touchscreen is also
possible.

When there are no wakeup sources, ask the platform to assert the reset
signal to avoid any unexpected behaviour; this also puts the reset
signal at the right level when power is removed from the device.

Acked-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mfd/ucb1x00-core.c
include/linux/mfd/ucb1x00.h