intel_mid_powerbtn: add power button driver for Medfield platform (#3)
authorHong Liu <hong.liu@intel.com>
Mon, 7 Feb 2011 19:45:55 +0000 (14:45 -0500)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:05:21 +0000 (06:05 -0400)
commit8eec8a1167b5912c19fec2cdad5b968dd0f8690d
treea0e360fc06db7bcae291fb262c1d7adb9908e6f1
parente2d3d44b9a6efe4f3968252d4b680397a9640268
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>
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/intel_mid_powerbtn.c [new file with mode: 0644]