0006-surface-sam.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. From 1528e0fe127f03118f593fc1db51a4d4b5a20341 Mon Sep 17 00:00:00 2001
  2. From: Maximilian Luz <luzmaximilian@gmail.com>
  3. Date: Sun, 22 Oct 2023 14:57:11 +0200
  4. Subject: [PATCH] platform/surface: aggregator_registry: Add support for
  5. Surface Laptop Go 3
  6. Add SAM client device nodes for the Surface Laptop Go 3. It seems to use
  7. the same SAM client devices as the Surface Laptop Go 1 and 2, so re-use
  8. their node group.
  9. Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
  10. Patchset: surface-sam
  11. ---
  12. drivers/platform/surface/surface_aggregator_registry.c | 3 +++
  13. 1 file changed, 3 insertions(+)
  14. diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c
  15. index 0fe5be539652..0d8c8395c588 100644
  16. --- a/drivers/platform/surface/surface_aggregator_registry.c
  17. +++ b/drivers/platform/surface/surface_aggregator_registry.c
  18. @@ -367,6 +367,9 @@ static const struct acpi_device_id ssam_platform_hub_match[] = {
  19. /* Surface Laptop Go 2 */
  20. { "MSHW0290", (unsigned long)ssam_node_group_slg1 },
  21. + /* Surface Laptop Go 3 */
  22. + { "MSHW0440", (unsigned long)ssam_node_group_slg1 },
  23. +
  24. /* Surface Laptop Studio */
  25. { "MSHW0123", (unsigned long)ssam_node_group_sls },
  26. --
  27. 2.42.0