intel_mid_powerbtn: add power button driver for Medfield platform (#3)

The power button is connected to MSIC on Medfield, we will get two
interrupts from IOAPIC when pressing or releasing the power button.

Signed-off-by: Hong Liu <hong.liu@intel.com>
[Minor fixes as noted by Dmitry]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
这个提交包含在:
Hong Liu
2011-02-07 14:45:55 -05:00
提交者 Matthew Garrett
父节点 e2d3d44b9a
当前提交 8eec8a1167
修改 3 个文件,包含 157 行新增0 行删除

查看文件

@@ -616,6 +616,14 @@ config GPIO_INTEL_PMIC
Say Y here to support GPIO via the SCU IPC interface
on Intel MID platforms.
config INTEL_MID_POWER_BUTTON
tristate "power button driver for Intel MID platforms"
depends on INTEL_SCU_IPC
help
This driver handles the power button on the Intel MID platforms.
If unsure, say N.
config RAR_REGISTER
bool "Restricted Access Region Register Driver"
depends on PCI && X86_MRST