diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c index e0c20a4355a8..5caa704921c9 100644 --- a/drivers/platform/surface/surface_aggregator_registry.c +++ b/drivers/platform/surface/surface_aggregator_registry.c @@ -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, @@ -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, @@ -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, }; @@ -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, @@ -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 },