Skip to content

Commit 4aba103

Browse files
kuu-rtgregkh
authored andcommitted
platform/x86: alienware-wmi-wmax: Extend support to more laptops
commit 202a861 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4cd4e11 commit 4aba103

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

drivers/platform/x86/dell/alienware-wmi.c

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,15 @@ static int __init dmi_matched(const struct dmi_system_id *dmi)
214214
}
215215

216216
static const struct dmi_system_id alienware_quirks[] __initconst = {
217+
{
218+
.callback = dmi_matched,
219+
.ident = "Alienware Area-51m R2",
220+
.matches = {
221+
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
222+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware Area-51m R2"),
223+
},
224+
.driver_data = &quirk_x_series,
225+
},
217226
{
218227
.callback = dmi_matched,
219228
.ident = "Alienware ASM100",
@@ -241,6 +250,15 @@ static const struct dmi_system_id alienware_quirks[] __initconst = {
241250
},
242251
.driver_data = &quirk_asm201,
243252
},
253+
{
254+
.callback = dmi_matched,
255+
.ident = "Alienware m16 R1",
256+
.matches = {
257+
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
258+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R1"),
259+
},
260+
.driver_data = &quirk_g_series,
261+
},
244262
{
245263
.callback = dmi_matched,
246264
.ident = "Alienware m16 R1 AMD",
@@ -259,6 +277,15 @@ static const struct dmi_system_id alienware_quirks[] __initconst = {
259277
},
260278
.driver_data = &quirk_x_series,
261279
},
280+
{
281+
.callback = dmi_matched,
282+
.ident = "Alienware m16 R2",
283+
.matches = {
284+
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
285+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R2"),
286+
},
287+
.driver_data = &quirk_x_series,
288+
},
262289
{
263290
.callback = dmi_matched,
264291
.ident = "Alienware m18 R2",
@@ -277,6 +304,15 @@ static const struct dmi_system_id alienware_quirks[] __initconst = {
277304
},
278305
.driver_data = &quirk_x_series,
279306
},
307+
{
308+
.callback = dmi_matched,
309+
.ident = "Alienware x15 R2",
310+
.matches = {
311+
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
312+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware x15 R2"),
313+
},
314+
.driver_data = &quirk_x_series,
315+
},
280316
{
281317
.callback = dmi_matched,
282318
.ident = "Alienware x17 R2",
@@ -340,6 +376,15 @@ static const struct dmi_system_id alienware_quirks[] __initconst = {
340376
},
341377
.driver_data = &quirk_g_series,
342378
},
379+
{
380+
.callback = dmi_matched,
381+
.ident = "Dell Inc. G16 7630",
382+
.matches = {
383+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
384+
DMI_MATCH(DMI_PRODUCT_NAME, "Dell G16 7630"),
385+
},
386+
.driver_data = &quirk_g_series,
387+
},
343388
{
344389
.callback = dmi_matched,
345390
.ident = "Dell Inc. G3 3500",
@@ -367,6 +412,15 @@ static const struct dmi_system_id alienware_quirks[] __initconst = {
367412
},
368413
.driver_data = &quirk_g_series,
369414
},
415+
{
416+
.callback = dmi_matched,
417+
.ident = "Dell Inc. G5 5505",
418+
.matches = {
419+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
420+
DMI_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
421+
},
422+
.driver_data = &quirk_g_series,
423+
},
370424
{
371425
.callback = dmi_matched,
372426
.ident = "Dell Inc. Inspiron 5675",

0 commit comments

Comments
 (0)