linux/drivers/platform/x86/uniwill/Kconfig
Armin Wolf d050479693
platform/x86: Add Uniwill laptop driver
Add a new driver for Uniwill laptops. The driver uses a ACPI
interface to talk with the embedded controller, but relies on a
ACPI WMI interface for receiving event notifications.

The driver is reverse-engineered based on the following information:
- OEM software from intel
- https://github.com/pobrn/qc71_laptop
- https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers
- https://github.com/tuxedocomputers/tuxedo-control-center

The underlying EC supports various features, including hwmon sensors,
battery charge limiting, a RGB lightbar and keyboard-related controls.

Reported-by: cyear <chumuzero@gmail.com>
Closes: https://github.com/lm-sensors/lm-sensors/issues/508
Closes: https://github.com/Wer-Wolf/uniwill-laptop/issues/3
Tested-by: Werner Sembach <wse@tuxedocomputers.com>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/20251102172942.17879-2-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2025-11-10 12:04:34 +02:00

39 lines
1.0 KiB
Plaintext

# SPDX-License-Identifier: GPL-2.0-or-later
#
# Uniwill X86 Platform Specific Drivers
#
menuconfig X86_PLATFORM_DRIVERS_UNIWILL
bool "Uniwill X86 Platform Specific Device Drivers"
depends on X86_PLATFORM_DEVICES
help
Say Y here to see options for device drivers for various
Uniwill x86 platforms, including many OEM laptops originally
manufactured by Uniwill.
This option alone does not add any kernel code.
If you say N, all options in this submenu will be skipped and disabled.
if X86_PLATFORM_DRIVERS_UNIWILL
config UNIWILL_LAPTOP
tristate "Uniwill Laptop Extras"
default m
depends on ACPI
depends on ACPI_WMI
depends on ACPI_BATTERY
depends on HWMON
depends on INPUT
depends on LEDS_CLASS_MULTICOLOR
depends on DMI
select REGMAP
select INPUT_SPARSEKMAP
help
This driver adds support for various extra features found on Uniwill laptops,
like the lightbar, hwmon sensors and hotkeys. It also supports many OEM laptops
originally manufactured by Uniwill.
If you have such a laptop, say Y or M here.
endif