diff options
author | Yauhen Kharuzhy <jekhor@gmail.com> | 2021-11-28 20:00:30 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-12-07 12:21:00 +0100 |
commit | c0549b72d99df4616632b6b7dd0e82c6bf49b021 (patch) | |
tree | f71b8a62bfbcff1541ffa3b5c4ca7b8450d91398 /drivers/platform/x86/Makefile | |
parent | platform/x86: wmi: Add no_notify_data flag to struct wmi_driver (diff) | |
download | linux-c0549b72d99df4616632b6b7dd0e82c6bf49b021.tar.gz linux-c0549b72d99df4616632b6b7dd0e82c6bf49b021.tar.bz2 linux-c0549b72d99df4616632b6b7dd0e82c6bf49b021.zip |
platform/x86: lenovo-yogabook-wmi: Add driver for Lenovo Yoga Book
Add driver to handle WMI events, control the keyboard backlight and
bind/unbind the keyboard-touch / digitizer driver so that only one
is active at a time.
It may seem a bit weird to handle the toggling of the modes in the
kernel, but the hw actually expects only 1 device to be active
at a time.
Changes by Hans de Goede:
- Whole bunch of cleanups
- Make the kernel do the driver bind/unbind itself instead of
sending events to userspace and requiring a special userspace
daemon to deal with this
Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
Co-developed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211128190031.405620-4-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform/x86/Makefile')
-rw-r--r-- | drivers/platform/x86/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile index 219478061683..dfb7ca88f012 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile @@ -15,6 +15,7 @@ obj-$(CONFIG_NVIDIA_WMI_EC_BACKLIGHT) += nvidia-wmi-ec-backlight.o obj-$(CONFIG_PEAQ_WMI) += peaq-wmi.o obj-$(CONFIG_XIAOMI_WMI) += xiaomi-wmi.o obj-$(CONFIG_GIGABYTE_WMI) += gigabyte-wmi.o +obj-$(CONFIG_YOGABOOK_WMI) += lenovo-yogabook-wmi.o # Acer obj-$(CONFIG_ACERHDF) += acerhdf.o |