]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d5233ff89b5b843ab26104bbe0512882d66fd96
tree4ad660084434e190150dab67170d3b65cf2e8a3a
parent4eec25e460f660df0df9ab70118ab6555e6d1c19
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