From 057ae1f37e02537e6ee9358ea376aaf77e7772ae Mon Sep 17 00:00:00 2001 From: Yuchao Tang Date: Sat, 21 Nov 2026 00:58:25 +0800 Subject: [PATCH] platform/surface: aggregator_registry: Add thermal sensors and fan speed for Surface Laptop Go The Surface Laptop Go EC provides the same thermal sensor and fan speed interfaces as newer Surface models, but ssam_node_group_slg1 does not register them yet. Add both nodes so that surface_temp and surface_fan can bind. On the Surface Laptop Go 1, the separate fan profile command has no effect, so keep ssam_node_tmp_perf_profile without the has_fan property. ssam_node_group_slg1 is shared by the Surface Laptop Go 1, 2, and 3. This change has only been tested on a Surface Laptop Go 1, where surface_temp exposes the 11 EC thermal channels and surface_fan reports the fan speed; the Go 2 and Go 3 have not been tested on hardware. Signed-off-by: Yuchao Tang --- drivers/platform/surface/surface_aggregator_registry.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c index e0c20a4355a8..fa7e11ddab6f 100644 --- a/drivers/platform/surface/surface_aggregator_registry.c +++ b/drivers/platform/surface/surface_aggregator_registry.c @@ -399,6 +399,8 @@ static const struct software_node *ssam_node_group_slg1[] = { &ssam_node_bat_ac_dptf, &ssam_node_bat_main_dptf, &ssam_node_tmp_perf_profile, + &ssam_node_tmp_sensors, + &ssam_node_fan_speed, NULL, };