Skip to content

Commit

Permalink
misc: surface_sam: Update based on module
Browse files Browse the repository at this point in the history
Update Surface System Aggregator Module driver based on module.

Changes:
 - Add support for Surface Laptop Go

Links:
 - SAM: linux-surface/surface-aggregator-module@c6dd4e7
  • Loading branch information
qzed committed Dec 26, 2020
1 parent 489ca4d commit 69ae20e
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,15 @@ static const struct software_node *ssam_node_group_sl3[] = {
NULL,
};

static const struct software_node *ssam_node_group_slg1[] = {
&ssam_node_root,
&ssam_node_hub_main,
&ssam_node_tmp_perf,
&ssam_node_bat_ac,
&ssam_node_bat_main,
NULL,
};

static const struct software_node *ssam_node_group_sp5[] = {
&ssam_node_root,
&ssam_node_hub_main,
Expand Down Expand Up @@ -544,6 +553,9 @@ static const struct acpi_device_id ssam_platform_hub_match[] = {
/* Surface Laptop 3 (15", AMD) */
{ "MSHW0110", (unsigned long)ssam_node_group_sl3 },

/* Surface Laptop Go 1 */
{ "MSHW0118", (unsigned long)ssam_node_group_slg1 },

{ },
};
MODULE_DEVICE_TABLE(acpi, ssam_platform_hub_match);
Expand Down

0 comments on commit 69ae20e

Please sign in to comment.