2022-08-10 14:19:35

by Maximilian Luz

[permalink] [raw]
Subject: [PATCH] platform/surface: aggregator_registry: Add support for Surface Laptop Go 2

The Surface Laptop Go 2 seems to have the same SAM client devices as the
Surface Laptop Go 1, so re-use its node group.

Signed-off-by: Maximilian Luz <[email protected]>
---
drivers/platform/surface/surface_aggregator_registry.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c
index ce2bd88feeaa..08019c6ccc9c 100644
--- a/drivers/platform/surface/surface_aggregator_registry.c
+++ b/drivers/platform/surface/surface_aggregator_registry.c
@@ -556,6 +556,9 @@ static const struct acpi_device_id ssam_platform_hub_match[] = {
/* Surface Laptop Go 1 */
{ "MSHW0118", (unsigned long)ssam_node_group_slg1 },

+ /* Surface Laptop Go 2 */
+ { "MSHW0290", (unsigned long)ssam_node_group_slg1 },
+
/* Surface Laptop Studio */
{ "MSHW0123", (unsigned long)ssam_node_group_sls },

--
2.37.1


2022-08-11 19:06:36

by Hans de Goede

[permalink] [raw]
Subject: Re: [PATCH] platform/surface: aggregator_registry: Add support for Surface Laptop Go 2

Hi,

On 8/10/22 16:01, Maximilian Luz wrote:
> The Surface Laptop Go 2 seems to have the same SAM client devices as the
> Surface Laptop Go 1, so re-use its node group.
>
> Signed-off-by: Maximilian Luz <[email protected]>

Thank you for your patch, I've applied this patch to my review-hans
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my
local branch there, which might take a while.

Patches which are added to review-hans now are intended for
the next rc1. This branch will get rebased to the next rc1 when
it is out and after the rebasing the contents of review-hans
will be pushed to the platform-drivers-x86/for-next branch.

Regards,

Hans


> ---
> drivers/platform/surface/surface_aggregator_registry.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c
> index ce2bd88feeaa..08019c6ccc9c 100644
> --- a/drivers/platform/surface/surface_aggregator_registry.c
> +++ b/drivers/platform/surface/surface_aggregator_registry.c
> @@ -556,6 +556,9 @@ static const struct acpi_device_id ssam_platform_hub_match[] = {
> /* Surface Laptop Go 1 */
> { "MSHW0118", (unsigned long)ssam_node_group_slg1 },
>
> + /* Surface Laptop Go 2 */
> + { "MSHW0290", (unsigned long)ssam_node_group_slg1 },
> +
> /* Surface Laptop Studio */
> { "MSHW0123", (unsigned long)ssam_node_group_sls },
>