aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/gameport/gameport.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-03-17 14:03:54 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-03-17 14:09:23 -0700
commit4c3362f44980aba8e1e69cd6970effbd9f17dc69 (patch)
tree23c22d79a8007913bb53da71121f095b45f41f84 /drivers/input/gameport/gameport.c
parentInput: soc_button_array - get rid of MAX_NBUTTONS (diff)
downloadlinux-dev-4c3362f44980aba8e1e69cd6970effbd9f17dc69.tar.xz
linux-dev-4c3362f44980aba8e1e69cd6970effbd9f17dc69.zip
Input: soc_button_array - add support for ACPI 6.0 Generic Button Device
Windows 10 tablets with gpio buttons will typically use the ACPI 6.0 Generic Button Device with a HID of ACPI0011 for these buttons. The ACPI description for these in the ACPI0011 devices _DSD object uses something resembling HID descriptors, except that instead of indicating a bit index into a HID input report, the index indicates the _CRS index for the GPIO. The use of 1 interrupt per button, some of which need to be wakeup sources, instead of using input reports makes it impossible to use the HID subsystem for this. This really is just another gpio-keys input device with the platform data described in ACPI, so this commit adds parsing for this new way to describe gpio-keys to the soc_button_array driver. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/gameport/gameport.c')
0 files changed, 0 insertions, 0 deletions