All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] platform/x86: wmi: add Xiaomi WMI key driver
@ 2019-05-27 16:21 ` Mattias Jacobsson
  0 siblings, 0 replies; 9+ messages in thread
From: Mattias Jacobsson @ 2019-05-27 16:21 UTC (permalink / raw)
  To: dvhart, andy, mario.limonciello, mjg59, pali.rohar
  Cc: 2pi, platform-driver-x86, linux-kernel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-06-29 13:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-27 16:21 [PATCH 0/3] platform/x86: wmi: add Xiaomi WMI key driver Mattias Jacobsson
2019-05-27 16:21 ` Mattias Jacobsson
2019-05-27 16:21 ` [PATCH 1/3] platform/x86: wmi: add context pointer field to struct wmi_device_id Mattias Jacobsson
2019-05-27 16:21   ` Mattias Jacobsson
2019-05-27 16:21 ` [PATCH 2/3] platform/x86: wmi: add context argument to the probe function Mattias Jacobsson
2019-05-27 16:21   ` Mattias Jacobsson
2019-05-27 16:21 ` [PATCH 3/3] platform/x86: wmi: add Xiaomi WMI key driver Mattias Jacobsson
2019-05-27 16:21   ` Mattias Jacobsson
2019-06-29 13:15   ` Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.