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 734db2d commit d684c2c
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ static const struct ssam_hub_cell ssam_devices_sl3[] = {
{ SSAM_DUID_HID_IID5 },
};

static const struct ssam_hub_cell ssam_devices_slg1[] = {
{ SSAM_DUID_TMP_PERF },
{ SSAM_DUID_BAT_AC },
{ SSAM_DUID_BAT_MAIN },
};

static const struct ssam_hub_cell ssam_devices_sp5[] = {
{ SSAM_DUID_TMP_PERF },
};
Expand All @@ -153,6 +159,7 @@ SSAM_DEFINE_PLATFORM_HUB_WITH_BASE(sb3);
SSAM_DEFINE_PLATFORM_HUB(sl1);
SSAM_DEFINE_PLATFORM_HUB(sl2);
SSAM_DEFINE_PLATFORM_HUB(sl3);
SSAM_DEFINE_PLATFORM_HUB(slg1);
SSAM_DEFINE_PLATFORM_HUB(sp5);
SSAM_DEFINE_PLATFORM_HUB(sp6);
SSAM_DEFINE_PLATFORM_HUB(sp7);
Expand Down Expand Up @@ -519,6 +526,9 @@ static const struct acpi_device_id ssam_platform_hub_match[] = {
/* Surface Laptop 3 (15", AMD) */
{ "MSHW0110", (unsigned long)&ssam_platform_hub_sl3 },

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

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

0 comments on commit d684c2c

Please sign in to comment.