summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/Kconfig
diff options
context:
space:
mode:
authorMattias Jacobsson <2pi@mok.nu>2019-05-27 18:21:31 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-06-29 14:56:36 +0200
commitedb73f4f02472b92dc2473c74211d22807d482e4 (patch)
tree2fb26e3a5b3eba5c13487e269eda4be6f0a35e42 /drivers/platform/x86/Kconfig
parentplatform/x86: wmi: add context argument to the probe function (diff)
downloadlinux-edb73f4f02472b92dc2473c74211d22807d482e4.tar.xz
linux-edb73f4f02472b92dc2473c74211d22807d482e4.zip
platform/x86: wmi: add Xiaomi WMI key driver
Some function keys on the built in keyboard on Xiaomi's notebooks does not produce any key events when pressed in combination with the function key. Some of these keys do report that they are being pressed via WMI events. This driver reports key events for Fn+F7 and double tap on Fn. Other WMI events that are reported by the hardware but not utilized by this driver are Caps Lock(which already work) and Fn lock/unlock. Signed-off-by: Mattias Jacobsson <2pi@mok.nu> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/Kconfig')
-rw-r--r--drivers/platform/x86/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index ae1e74d5e888..58494a12a9b0 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -780,6 +780,16 @@ config INTEL_WMI_THUNDERBOLT
To compile this driver as a module, choose M here: the module will
be called intel-wmi-thunderbolt.
+config XIAOMI_WMI
+ tristate "Xiaomi WMI key driver"
+ depends on ACPI_WMI
+ depends on INPUT
+ help
+ Say Y here if you want to support WMI-based keys on Xiaomi notebooks.
+
+ To compile this driver as a module, choose M here: the module will
+ be called xiaomi-wmi.
+
config MSI_WMI
tristate "MSI WMI extras"
depends on ACPI_WMI