Skip to content

Commit 202a861

Browse files
kuu-rtij-intel
authored andcommitted
platform/x86: alienware-wmi-wmax: Extend support to more laptops
Extend thermal control support to: - Alienware Area-51m R2 - Alienware m16 R1 - Alienware m16 R2 - Dell G16 7630 - Dell G5 5505 SE Cc: [email protected] Signed-off-by: Kurt Borja <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent 5ff79ca commit 202a861

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,22 @@ static struct awcc_quirks generic_quirks = {
6161
static struct awcc_quirks empty_quirks;
6262

6363
static const struct dmi_system_id awcc_dmi_table[] __initconst = {
64+
{
65+
.ident = "Alienware Area-51m R2",
66+
.matches = {
67+
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
68+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware Area-51m R2"),
69+
},
70+
.driver_data = &generic_quirks,
71+
},
72+
{
73+
.ident = "Alienware m16 R1",
74+
.matches = {
75+
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
76+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R1"),
77+
},
78+
.driver_data = &g_series_quirks,
79+
},
6480
{
6581
.ident = "Alienware m16 R1 AMD",
6682
.matches = {
@@ -69,6 +85,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
6985
},
7086
.driver_data = &g_series_quirks,
7187
},
88+
{
89+
.ident = "Alienware m16 R2",
90+
.matches = {
91+
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
92+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R2"),
93+
},
94+
.driver_data = &generic_quirks,
95+
},
7296
{
7397
.ident = "Alienware m17 R5",
7498
.matches = {
@@ -93,6 +117,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
93117
},
94118
.driver_data = &generic_quirks,
95119
},
120+
{
121+
.ident = "Alienware x15 R2",
122+
.matches = {
123+
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
124+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware x15 R2"),
125+
},
126+
.driver_data = &generic_quirks,
127+
},
96128
{
97129
.ident = "Alienware x17 R2",
98130
.matches = {
@@ -125,6 +157,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
125157
},
126158
.driver_data = &g_series_quirks,
127159
},
160+
{
161+
.ident = "Dell Inc. G16 7630",
162+
.matches = {
163+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
164+
DMI_MATCH(DMI_PRODUCT_NAME, "Dell G16 7630"),
165+
},
166+
.driver_data = &g_series_quirks,
167+
},
128168
{
129169
.ident = "Dell Inc. G3 3500",
130170
.matches = {
@@ -149,6 +189,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
149189
},
150190
.driver_data = &g_series_quirks,
151191
},
192+
{
193+
.ident = "Dell Inc. G5 5505",
194+
.matches = {
195+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
196+
DMI_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
197+
},
198+
.driver_data = &g_series_quirks,
199+
},
152200
};
153201

154202
enum WMAX_THERMAL_INFORMATION_OPERATIONS {

0 commit comments

Comments
 (0)