platform/x86: intel-hid: Add support for SW_TABLET_MODE
authorElia Devito <eliadevito@gmail.com>
Fri, 4 Dec 2020 16:01:22 +0000 (17:01 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 7 Dec 2020 16:40:33 +0000 (17:40 +0100)
commit537b0dd4729e7f5c5b3e8321954d3b8a2d0dd7a8
treeaf93a355b688d86b6c0f62b12513f58aca805683
parenta4327979a19e8734ddefbd8bcbb73bd9905b69cd
platform/x86: intel-hid: Add support for SW_TABLET_MODE

Some convertible use the intel-hid ACPI interface to report SW_TABLET_MODE,
implement this with DMI based allow-list to be sure to activate support
only on models that effectively have it.

Signed-off-by: Elia Devito <eliadevito@gmail.com>
Link: https://lore.kernel.org/r/20201204160121.36703-1-elia@xvalue.it
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel-hid.c