]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/surface: aggregator_registry: Add Support for Surface Pro 10
authorMaximilian Luz <luzmaximilian@gmail.com>
Sun, 11 Aug 2024 13:19:44 +0000 (15:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Sep 2024 17:24:06 +0000 (19:24 +0200)
[ Upstream commit 9c8e022567bbec53bee8ae75c44b3d6cd2080d42 ]

Add SAM client device nodes for the Surface Pro 10. It seems to use the
same SAM client devices as the Surface Pro 9, so re-use its node group.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20240811131948.261806-2-luzmaximilian@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/surface/surface_aggregator_registry.c

index 0fe5be53965252223e94b12db4ed96e03b2eb6d2..c2651599685e2828feb476261b1553d7d52caddd 100644 (file)
@@ -298,7 +298,7 @@ static const struct software_node *ssam_node_group_sp8[] = {
        NULL,
 };
 
-/* Devices for Surface Pro 9 */
+/* Devices for Surface Pro 9 and 10 */
 static const struct software_node *ssam_node_group_sp9[] = {
        &ssam_node_root,
        &ssam_node_hub_kip,
@@ -337,6 +337,9 @@ static const struct acpi_device_id ssam_platform_hub_match[] = {
        /* Surface Pro 9 */
        { "MSHW0343", (unsigned long)ssam_node_group_sp9 },
 
+       /* Surface Pro 10 */
+       { "MSHW0510", (unsigned long)ssam_node_group_sp9 },
+
        /* Surface Book 2 */
        { "MSHW0107", (unsigned long)ssam_node_group_gen5 },