x86/platform/intel-mid: Add power button support for Merrifield
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 8 Mar 2017 11:24:22 +0000 (13:24 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 13 Mar 2017 21:08:28 +0000 (22:08 +0100)
commit859bb6d59066b96341020e0991f191631cabe59d
tree9632ff62c2c82f672d58daee72706bde4f3e72aa
parentc836e5cf0d0880d6668966476c4ffe727f29f69a
x86/platform/intel-mid: Add power button support for Merrifield

Intel Merrifield platform has a Basin Cove PMIC to handle in particular
power button events. Add necessary bits to enable it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20170308112422.67533-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/platform/intel-mid/device_libs/Makefile
arch/x86/platform/intel-mid/device_libs/platform_mrfld_power_btn.c [new file with mode: 0644]