History

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.

Maximilian Luz committed 4 years ago

Commit e6abe8f1 parent 40ec7871 file · +12 −0Browse files

Unified · Split

drivers/platform/surface/surface_gpe.c+12−0
@@ -171,6 +171,18 @@ static const struct dmi_system_id dmi_lid_device_table[] = { · 170 unmodified lines
171 },171 },
172 .driver_data = (void *)lid_device_props_l4D,172 .driver_data = (void *)lid_device_props_l4D,
173 },173 },
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 },
174 {186 {
175 .ident = "Surface Laptop Studio",187 .ident = "Surface Laptop Studio",
176 .matches = {188 .matches = {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t