platform/surface: aggregator_registry: Add support for Surface Pro 7+
authorMaximilian Luz <luzmaximilian@gmail.com>
Tue, 9 Mar 2021 16:25:50 +0000 (17:25 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 17 Mar 2021 17:41:36 +0000 (18:41 +0100)
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 <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20210309162550.302161-1-luzmaximilian@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/surface/surface_aggregator_registry.c

index 86cff5fce3cd2d8c52c858b0f15cea379684f35a..eccb9d1007cd61710ee81053368f50125eb5bf3a 100644 (file)
@@ -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 },