]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit936ed9c29aa63ee3f707aaa949b0e6e3d4a2e605
treefe53a96a64812c7c0961375e697ddb2ea3d7ad48
parenta713fa34e583959fdf4976ab6b8d2f87afb6aa6d
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