mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 12:52:29 -04:00
platform/x86: uniwill-laptop: Add support for the MACHENIKE L16 Pro
A user has reported that the driver works on the MACHENIKE L16 Pro. Add the necessary device descriptor and DMI entry to allow the driver to automatically load on this device. Reported-by: zatrit <zatrit@gmail.com> Closes: https://github.com/Wer-Wolf/uniwill-laptop/pull/11 Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://patch.msgid.link/20260530170813.10166-6-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>
This commit is contained in:
committed by
Ilpo Järvinen
parent
e02c8d7a19
commit
e76799915b
@@ -2657,6 +2657,20 @@ static struct platform_driver uniwill_driver = {
|
||||
.shutdown = uniwill_shutdown,
|
||||
};
|
||||
|
||||
static struct uniwill_device_descriptor machenike_l16p_descriptor __initdata = {
|
||||
.features = UNIWILL_FEATURE_FN_LOCK |
|
||||
UNIWILL_FEATURE_SUPER_KEY |
|
||||
UNIWILL_FEATURE_CPU_TEMP |
|
||||
UNIWILL_FEATURE_GPU_TEMP |
|
||||
UNIWILL_FEATURE_PRIMARY_FAN |
|
||||
UNIWILL_FEATURE_SECONDARY_FAN |
|
||||
UNIWILL_FEATURE_NVIDIA_CTGP_CONTROL |
|
||||
UNIWILL_FEATURE_KEYBOARD_BACKLIGHT |
|
||||
UNIWILL_FEATURE_AC_AUTO_BOOT |
|
||||
UNIWILL_FEATURE_USB_POWERSHARE,
|
||||
.kbd_led_max_brightness = 4,
|
||||
};
|
||||
|
||||
static struct uniwill_device_descriptor lapqc71a_lapqc71b_descriptor __initdata = {
|
||||
.features = UNIWILL_FEATURE_SUPER_KEY |
|
||||
UNIWILL_FEATURE_BATTERY_CHARGE_LIMIT |
|
||||
@@ -2809,6 +2823,14 @@ static struct uniwill_device_descriptor pf5pu1g_descriptor __initdata = {
|
||||
};
|
||||
|
||||
static const struct dmi_system_id uniwill_dmi_table[] __initconst = {
|
||||
{
|
||||
.ident = "MACHENIKE L16 Pro",
|
||||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "MACHENIKE"),
|
||||
DMI_EXACT_MATCH(DMI_BOARD_NAME, "L16P"),
|
||||
},
|
||||
.driver_data = &machenike_l16p_descriptor,
|
||||
},
|
||||
{
|
||||
.ident = "XMG FUSION 15 (L19)",
|
||||
.matches = {
|
||||
|
||||
Reference in New Issue
Block a user