Re: [PATCH v3] platform/x86: add Xiaomi WMI key driver

From: Ilpo Järvinen

Date: Thu Nov 19 2026 - 11:03:27 EST


On Tue, 03 Nov 2026 04:46:11 +0800, Lucy Wong wrote:

> Certain Xiaomi laptops expose extra function keys through a single WMI
> event GUID (B74AF83F-8B2F-4069-ACAC-36D176F62FC0). Unlike the existing
> xiaomi-wmi driver where each key has its own GUID, here all keys share
> one GUID and the event buffer encodes both an event type and a keycode:
>
> buffer[1] = event type
> 0x01: keyboard backlight level (EC handled)
> 0x02: press/release keys (5 keys with abstract icons)
> 0x03: firmware-handled toggles (touchpad, Fn lock)
> buffer[2] = keycode within that type
>
> [...]

Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.

The list of commits applied:
[1/1] platform/x86: add Xiaomi WMI key driver
commit: 9a48682bdf4eac3286bad27d6e0cd6a5ab80255d

--
i.