mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Adds lenovo-wmi-other driver which provides the Lenovo "Other Mode" WMI interface that comes on some Lenovo "Gaming Series" hardware. Provides a firmware-attributes class which enables the use of tunable knobs for SPL, SPPT, and FPPT. Reviewed-by: Alok Tiwari <alok.a.tiwari@oracle.com> Reviewed-by: Armin Wolf <W_Armin@gmx.de> Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com> Link: https://lore.kernel.org/r/20250702033826.1057762-7-derekjohn.clark@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
29 lines
1.2 KiB
Makefile
29 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for linux/drivers/platform/x86/lenovo
|
|
# Lenovo x86 Platform Specific Drivers
|
|
#
|
|
obj-$(CONFIG_IDEAPAD_LAPTOP) += ideapad-laptop.o
|
|
obj-$(CONFIG_THINKPAD_LMI) += think-lmi.o
|
|
obj-$(CONFIG_THINKPAD_ACPI) += thinkpad_acpi.o
|
|
|
|
lenovo-target-$(CONFIG_LENOVO_WMI_HOTKEY_UTILITIES) += wmi-hotkey-utilities.o
|
|
lenovo-target-$(CONFIG_LENOVO_YMC) += ymc.o
|
|
lenovo-target-$(CONFIG_YOGABOOK) += yogabook.o
|
|
lenovo-target-$(CONFIG_YT2_1380) += yoga-tab2-pro-1380-fastcharger.o
|
|
lenovo-target-$(CONFIG_LENOVO_WMI_CAMERA) += wmi-camera.o
|
|
lenovo-target-$(CONFIG_LENOVO_WMI_DATA01) += wmi-capdata01.o
|
|
lenovo-target-$(CONFIG_LENOVO_WMI_EVENTS) += wmi-events.o
|
|
lenovo-target-$(CONFIG_LENOVO_WMI_HELPERS) += wmi-helpers.o
|
|
lenovo-target-$(CONFIG_LENOVO_WMI_GAMEZONE) += wmi-gamezone.o
|
|
lenovo-target-$(CONFIG_LENOVO_WMI_TUNING) += wmi-other.o
|
|
|
|
# Add 'lenovo' prefix to each module listed in lenovo-target-*
|
|
define LENOVO_OBJ_TARGET
|
|
lenovo-$(1)-y := $(1).o
|
|
obj-$(2) += lenovo-$(1).o
|
|
endef
|
|
|
|
$(foreach target, $(basename $(lenovo-target-y)), $(eval $(call LENOVO_OBJ_TARGET,$(target),y)))
|
|
$(foreach target, $(basename $(lenovo-target-m)), $(eval $(call LENOVO_OBJ_TARGET,$(target),m)))
|