Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions drivers/platform/surface/surface_aggregator_registry.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ static const struct software_node *ssam_node_group_sl3[] = {
NULL,
};

/* Devices for Surface Laptop 3 (15", AMD) and 4 (13", Intel; 15", AMD), with DPTF. */
/* Devices for Surface Laptop 3 (15", AMD) and 4 (15", AMD), with DPTF. */
static const struct software_node *ssam_node_group_sl3_dptf[] = {
&ssam_node_root,
&ssam_node_bat_ac_dptf,
Expand All @@ -320,6 +320,20 @@ static const struct software_node *ssam_node_group_sl3_dptf[] = {
NULL,
};

/* Devices for Surface Laptop 4 (13", 15", Intel). */
static const struct software_node *ssam_node_group_sl4[] = {
&ssam_node_root,
&ssam_node_bat_ac_dptf,
&ssam_node_bat_main_dptf,
&ssam_node_tmp_perf_profile,
&ssam_node_tmp_sensors,
&ssam_node_fan_speed,
&ssam_node_hid_main_keyboard,
&ssam_node_hid_main_touchpad,
&ssam_node_hid_main_iid5,
NULL,
};

/* Devices for Surface Laptop 5. */
static const struct software_node *ssam_node_group_sl5[] = {
&ssam_node_root,
Expand Down Expand Up @@ -417,6 +431,8 @@ static const struct software_node *ssam_node_group_sp7_dptf[] = {
&ssam_node_bat_ac_dptf,
&ssam_node_bat_main_dptf,
&ssam_node_tmp_perf_profile,
&ssam_node_tmp_sensors,
&ssam_node_fan_speed,
NULL,
};

Expand All @@ -427,6 +443,8 @@ static const struct software_node *ssam_node_group_sp8[] = {
&ssam_node_bat_ac_dptf,
&ssam_node_bat_main_dptf,
&ssam_node_tmp_perf_profile,
&ssam_node_tmp_sensors,
&ssam_node_fan_speed,
&ssam_node_kip_tablet_switch,
&ssam_node_hid_kip_keyboard,
&ssam_node_hid_kip_penstash,
Expand Down Expand Up @@ -568,8 +586,8 @@ static const struct acpi_device_id ssam_platform_hub_acpi_match[] = {
/* Surface Laptop 3 (15", AMD) and 4 (15", AMD) */
{ "MSHW0110", (unsigned long)ssam_node_group_sl3_dptf },

/* Surface Laptop 4 (13", Intel) */
{ "MSHW0250", (unsigned long)ssam_node_group_sl3_dptf },
/* Surface Laptop 4 (13", 15", Intel) */
{ "MSHW0250", (unsigned long)ssam_node_group_sl4 },

/* Surface Laptop 5 */
{ "MSHW0350", (unsigned long)ssam_node_group_sl5 },
Expand Down