platform/surface: aggregator_registry: Add thermal sensors and fan to Surface Pro 8
Subsystems (3)
PATCH 1/1 platform/surface: aggregator_registry: Add thermal sensors and fan to Surface Pro 8
The Surface Pro 8 device group lists the performance profile target but neither the sensor subfunction of that target nor the fan speed target, so surface_temp and surface_fan have nothing to bind to and the EC skin temperatures and the fan speed stay invisible to userspace.
Verified on a Surface Pro 8 (i7-1185G7): all 11 sensors read back between 34.9 and 50.6 degrees Celsius, including the three I_VTS channels used for skin temperature, and the fan reports 4592 RPM.
Signed-off-by Emfox Zhou <[email protected]>
--- drivers/platform/surface/surface_aggregator_registry.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/platform/surface/surface_aggregator_registry.c +2 -0
@@ -359,6 +359,8 @@ static const struct software_node *ssam_node_group_sp8[] = { &ssam_node_bat_ac, &ssam_node_bat_main, &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,