Input: soc_button_array - add support for newer surface devices
authorMaximilian Luz <luzmaximilian@gmail.com>
Sat, 27 Jul 2019 08:25:38 +0000 (11:25 +0300)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 28 Jul 2019 09:58:43 +0000 (12:58 +0300)
commitc394159310d02defcfe63c617f13b0c2974725c5
treefe53a96a64812c7c0961375e697ddb2ea3d7ad48
parent64dd243d735655d1ff6bc7450dd5203cf57c9dfb
Input: soc_button_array - add support for newer surface devices

Power and volume button support for 5th and 6th generation Microsoft
Surface devices via soc_button_array.

Note that these devices use the same MSHW0040 device as on the Surface
Pro 4, however the implementation is different (GPIOs vs. ACPI
notifications). Thus some checking is required to ensure we only load
this driver on the correct devices.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/Kconfig
drivers/input/misc/soc_button_array.c