]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: alienware-wmi-wmax: Extend support to more laptops
authorKurt Borja <kuurtb@gmail.com>
Fri, 11 Apr 2025 14:14:36 +0000 (11:14 -0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 15 Apr 2025 14:02:37 +0000 (17:02 +0300)
Extend thermal control support to:

 - Alienware Area-51m R2
 - Alienware m16 R1
 - Alienware m16 R2
 - Dell G16 7630
 - Dell G5 5505 SE

Cc: stable@vger.kernel.org
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20250411-awcc-support-v1-2-09a130ec4560@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/dell/alienware-wmi-wmax.c

index 5b6a0c866be220aacef795491d4f64d575740e20..0c3be03385f899b1b1f678a9d111eb610cedda0a 100644 (file)
@@ -61,6 +61,22 @@ static struct awcc_quirks generic_quirks = {
 static struct awcc_quirks empty_quirks;
 
 static const struct dmi_system_id awcc_dmi_table[] __initconst = {
+       {
+               .ident = "Alienware Area-51m R2",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Alienware Area-51m R2"),
+               },
+               .driver_data = &generic_quirks,
+       },
+       {
+               .ident = "Alienware m16 R1",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R1"),
+               },
+               .driver_data = &g_series_quirks,
+       },
        {
                .ident = "Alienware m16 R1 AMD",
                .matches = {
@@ -69,6 +85,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
                },
                .driver_data = &g_series_quirks,
        },
+       {
+               .ident = "Alienware m16 R2",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R2"),
+               },
+               .driver_data = &generic_quirks,
+       },
        {
                .ident = "Alienware m17 R5",
                .matches = {
@@ -93,6 +117,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
                },
                .driver_data = &generic_quirks,
        },
+       {
+               .ident = "Alienware x15 R2",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Alienware x15 R2"),
+               },
+               .driver_data = &generic_quirks,
+       },
        {
                .ident = "Alienware x17 R2",
                .matches = {
@@ -125,6 +157,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
                },
                .driver_data = &g_series_quirks,
        },
+       {
+               .ident = "Dell Inc. G16 7630",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell G16 7630"),
+               },
+               .driver_data = &g_series_quirks,
+       },
        {
                .ident = "Dell Inc. G3 3500",
                .matches = {
@@ -149,6 +189,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
                },
                .driver_data = &g_series_quirks,
        },
+       {
+               .ident = "Dell Inc. G5 5505",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
+               },
+               .driver_data = &g_series_quirks,
+       },
 };
 
 enum WMAX_THERMAL_INFORMATION_OPERATIONS {