diff options
| author | Armin Wolf <W_Armin@gmx.de> | 2026-05-30 19:08:12 +0200 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-07-06 11:27:09 +0300 |
| commit | efd0636aaedb0a42793d85c1eae3832f12fd45d2 (patch) | |
| tree | c189088bc76c765e2d180cd39816ee98a101bfc4 /drivers/platform | |
| parent | e76799915b86f0604ae7b944830e6166faa68f0f (diff) | |
| download | linux-next-efd0636aaedb0a42793d85c1eae3832f12fd45d2.tar.gz linux-next-efd0636aaedb0a42793d85c1eae3832f12fd45d2.zip | |
platform/x86: uniwill-laptop: Add support for the AiStone X4SP4NAL
A user has reported that the driver works on the AiStone X4SP4NAL.
Add the necessary device descriptor and DMI entry to allow the driver
to automatically load on this device.
Reported-by: Michael Seifert <m.seifert@digitalernachschub.de>
Closes: https://github.com/Wer-Wolf/uniwill-laptop/pull/10
Tested-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/20260530170813.10166-7-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>
Diffstat (limited to 'drivers/platform')
| -rw-r--r-- | drivers/platform/x86/uniwill/uniwill-acpi.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/platform/x86/uniwill/uniwill-acpi.c b/drivers/platform/x86/uniwill/uniwill-acpi.c index 0011c553c2cb..d688ffca3b5e 100644 --- a/drivers/platform/x86/uniwill/uniwill-acpi.c +++ b/drivers/platform/x86/uniwill/uniwill-acpi.c @@ -2822,8 +2822,29 @@ static struct uniwill_device_descriptor pf5pu1g_descriptor __initdata = { UNIWILL_FEATURE_PRIMARY_FAN, }; +static struct uniwill_device_descriptor x4sp4nal_descriptor __initdata = { + .features = UNIWILL_FEATURE_FN_LOCK | + UNIWILL_FEATURE_SUPER_KEY | + UNIWILL_FEATURE_BATTERY_CHARGE_MODES | + UNIWILL_FEATURE_CPU_TEMP | + UNIWILL_FEATURE_PRIMARY_FAN | + UNIWILL_FEATURE_SECONDARY_FAN | + UNIWILL_FEATURE_KEYBOARD_BACKLIGHT | + UNIWILL_FEATURE_AC_AUTO_BOOT | + UNIWILL_FEATURE_USB_POWERSHARE, + .kbd_led_max_brightness = 2, +}; + static const struct dmi_system_id uniwill_dmi_table[] __initconst = { { + .ident = "AiStone X4SP4NAL", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "AiStone"), + DMI_EXACT_MATCH(DMI_BOARD_NAME, "X4SP4NAL"), + }, + .driver_data = &x4sp4nal_descriptor, + }, + { .ident = "MACHENIKE L16 Pro", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "MACHENIKE"), |
