[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1558968964.git.2pi@mok.nu>
Date: Mon, 27 May 2019 18:21:28 +0200
From: Mattias Jacobsson <2pi@....nu>
To: <dvhart@...radead.org>, <andy@...radead.org>,
<mario.limonciello@...l.com>, <mjg59@...f.ucam.org>,
<pali.rohar@...il.com>
CC: <2pi@....nu>, <platform-driver-x86@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 0/3] platform/x86: wmi: add Xiaomi WMI key driver
This patchset adds a WMI key driver for Xiaomi notebooks. To be able to
do this while using the struct wmi_driver a context field has been added
to struct wmi_device_id.
[PATCH 1/3]: Add field to struct wmi_device_id and add a helper function
[PATCH 2/3]: Add new parameter to the probe function
[PATCH 3/3]: Add new driver
Mattias Jacobsson (3):
platform/x86: wmi: add context pointer field to struct wmi_device_id
platform/x86: wmi: add context argument to the probe function
platform/x86: wmi: add Xiaomi WMI key driver
drivers/platform/x86/Kconfig | 10 +++
drivers/platform/x86/Makefile | 1 +
drivers/platform/x86/dell-smbios-wmi.c | 2 +-
drivers/platform/x86/dell-wmi-descriptor.c | 3 +-
drivers/platform/x86/dell-wmi.c | 2 +-
drivers/platform/x86/huawei-wmi.c | 2 +-
drivers/platform/x86/intel-wmi-thunderbolt.c | 3 +-
drivers/platform/x86/wmi-bmof.c | 2 +-
drivers/platform/x86/wmi.c | 25 +++++-
drivers/platform/x86/xiaomi-wmi.c | 94 ++++++++++++++++++++
include/linux/mod_devicetable.h | 1 +
include/linux/wmi.h | 2 +-
12 files changed, 139 insertions(+), 8 deletions(-)
create mode 100644 drivers/platform/x86/xiaomi-wmi.c
--
2.21.0
Powered by blists - more mailing lists