From: Maximilian Luz Date: Tue, 9 Mar 2021 16:25:50 +0000 (+0100) Subject: platform/surface: aggregator_registry: Add support for Surface Pro 7+ X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fa3134262eb87d0020c8aa9069073ffb9a9fc74d;p=linux.git platform/surface: aggregator_registry: Add support for Surface Pro 7+ The Surface Pro 7+ is essentially a refresh of the Surface Pro 7 with updated hardware and a new WSID identifier. Signed-off-by: Maximilian Luz Link: https://lore.kernel.org/r/20210309162550.302161-1-luzmaximilian@gmail.com Signed-off-by: Hans de Goede --- diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c index 86cff5fce3cd2..eccb9d1007cd6 100644 --- a/drivers/platform/surface/surface_aggregator_registry.c +++ b/drivers/platform/surface/surface_aggregator_registry.c @@ -191,7 +191,7 @@ static const struct software_node *ssam_node_group_sp6[] = { NULL, }; -/* Devices for Surface Pro 7. */ +/* Devices for Surface Pro 7 and Surface Pro 7+. */ static const struct software_node *ssam_node_group_sp7[] = { &ssam_node_root, &ssam_node_bat_ac, @@ -521,6 +521,9 @@ static const struct acpi_device_id ssam_platform_hub_match[] = { /* Surface Pro 7 */ { "MSHW0116", (unsigned long)ssam_node_group_sp7 }, + /* Surface Pro 7+ */ + { "MSHW0119", (unsigned long)ssam_node_group_sp7 }, + /* Surface Book 2 */ { "MSHW0107", (unsigned long)ssam_node_group_sb2 },