diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-02-20 21:26:42 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-03-07 12:08:31 +0100 |
commit | 772cbba5a877eb7c528f3659415373c40e48a057 (patch) | |
tree | 139d993f30961310588bfa0d0957f3e7d813320b /drivers/platform/x86/Kconfig | |
parent | e2200d3f26dac108a519f014fb42a0a034105394 (diff) | |
download | lwn-772cbba5a877eb7c528f3659415373c40e48a057.tar.gz lwn-772cbba5a877eb7c528f3659415373c40e48a057.zip |
platform/x86: x86-android-tablets: Add support for the Dolby button on Peaq C1010
The Peaq C1010 tablet has a special "Dolby" button. This button has
a WMI interface, but this is broken in several ways:
1. It only supports polling
2. The value read on polling goes from 0 -> 1 for one poll on both edges
of the button, with no way to tell which edge causes the poll to
return 1.
3. It uses a non unique GUID (it uses the Microsoft docs WMI example GUID).
There currently is a WMI driver for this, but it uses several kludges
to work around these issues and is not entirely reliable due to 2.
Replace the unreliable WMI driver by using the x86-android-tablets code
to instantiate a gpio_keys device for this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230301092331.7038-11-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform/x86/Kconfig')
-rw-r--r-- | drivers/platform/x86/Kconfig | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 46d9e3130ebb..d2619e7025c7 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -84,13 +84,6 @@ config MXM_WMI MXM is a standard for laptop graphics cards, the WMI interface is required for switchable nvidia graphics machines -config PEAQ_WMI - tristate "PEAQ 2-in-1 WMI hotkey driver" - depends on ACPI_WMI - depends on INPUT - help - Say Y here if you want to support WMI-based hotkeys on PEAQ 2-in-1s. - config NVIDIA_WMI_EC_BACKLIGHT tristate "EC Backlight Driver for Hybrid Graphics Notebook Systems" depends on ACPI_VIDEO |