This adds a driver for extra function keys on certain Xiaomi laptops.
Unlike the existing xiaomi-wmi driver where each key has its own WMI
GUID, this machine delivers all keys through a single event GUID
(B74AF83F-...), encoding the event type and keycode in the event buffer.
I was unsure whether this should be merged into the existing xiaomi-wmi.c
or kept separate due to the different mechanism. I chose a separate file
for clarity; happy to merge if preferred.
Tested on Xiaomi Mi Gaming Laptop (8th gen Intel).
Lucy Wong (1):
platform/x86: add Xiaomi WMI key driver
MAINTAINERS | 6 ++
drivers/platform/x86/Kconfig | 11 ++
drivers/platform/x86/Makefile | 1 +
drivers/platform/x86/xiaomi-wmi-keys.c | 139 +++++++++++++++++++++++++
4 files changed, 157 insertions(+)
create mode 100644 drivers/platform/x86/xiaomi-wmi-keys.c
--
2.54.0