mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 08:15:07 -04:00
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>
This commit is contained in:
committed by
Ilpo Järvinen
parent
e76799915b
commit
efd0636aae
@@ -2822,7 +2822,28 @@ 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 = {
|
||||
|
||||
Reference in New Issue
Block a user