Skip to content

Commit e6abe8f

Browse files
qzedjwrdegoede
authored andcommitted
platform/surface: gpe: Add support for 13" Intel version of Surface Laptop 4
The 13" Intel version of the Surface Laptop 4 uses the same GPE as the Surface Laptop Studio for wakeups via the lid. Set it up accordingly. Signed-off-by: Maximilian Luz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
1 parent 40ec787 commit e6abe8f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/platform/surface/surface_gpe.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,18 @@ static const struct dmi_system_id dmi_lid_device_table[] = {
171171
},
172172
.driver_data = (void *)lid_device_props_l4D,
173173
},
174+
{
175+
.ident = "Surface Laptop 4 (Intel 13\")",
176+
.matches = {
177+
/*
178+
* We match for SKU here due to different variants: The
179+
* AMD (15") version does not rely on GPEs.
180+
*/
181+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
182+
DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "Surface_Laptop_4_1950:1951"),
183+
},
184+
.driver_data = (void *)lid_device_props_l4B,
185+
},
174186
{
175187
.ident = "Surface Laptop Studio",
176188
.matches = {

0 commit comments

Comments
 (0)