aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/surface_aggregator_registry.c
diff options
context:
space:
mode:
authorMaximilian Luz <[email protected]>2024-08-11 13:19:44 +0000
committerIlpo Järvinen <[email protected]>2024-08-13 08:01:11 +0000
commit9c8e022567bbec53bee8ae75c44b3d6cd2080d42 (patch)
tree43f8899bca0c2803d71c57edd34aabb2a4082c40 /drivers/platform/surface/surface_aggregator_registry.c
parentplatform/x86: asus-wmi: Add quirk for ROG Ally X (diff)
downloadkernel-9c8e022567bbec53bee8ae75c44b3d6cd2080d42.tar.gz
kernel-9c8e022567bbec53bee8ae75c44b3d6cd2080d42.zip
platform/surface: aggregator_registry: Add Support for Surface Pro 10
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/surface/surface_aggregator_registry.c')
-rw-r--r--drivers/platform/surface/surface_aggregator_registry.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c
index 1c4d74db08c9..fa5b896e5f4e 100644
--- a/drivers/platform/surface/surface_aggregator_registry.c
+++ b/drivers/platform/surface/surface_aggregator_registry.c
@@ -324,7 +324,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,
@@ -365,6 +365,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 },