From: Maximilian Luz Date: Sun, 11 Aug 2024 13:19:47 +0000 (+0200) Subject: platform/surface: aggregator_registry: Add fan and thermal sensor support for Surface... X-Git-Tag: v6.11-rc5~24^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=002adda09bc1c983c75c82a7e12285c7423aec31;p=thirdparty%2Flinux.git platform/surface: aggregator_registry: Add fan and thermal sensor support for Surface Laptop 5 The EC on the Surface Laptop 5 exposes the fan interface. With the recently introduced driver for it, we can now also enable it here. In addition, also enable the thermal sensor interface. Signed-off-by: Maximilian Luz Link: https://lore.kernel.org/r/20240811131948.261806-5-luzmaximilian@gmail.com Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen --- diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c index 892ba9549f6a9..4d3f5b3111bae 100644 --- a/drivers/platform/surface/surface_aggregator_registry.c +++ b/drivers/platform/surface/surface_aggregator_registry.c @@ -265,7 +265,9 @@ static const struct software_node *ssam_node_group_sl5[] = { &ssam_node_root, &ssam_node_bat_ac, &ssam_node_bat_main, - &ssam_node_tmp_perf_profile, + &ssam_node_tmp_perf_profile_with_fan, + &ssam_node_tmp_sensors, + &ssam_node_fan_speed, &ssam_node_hid_main_keyboard, &ssam_node_hid_main_touchpad, &ssam_node_hid_main_iid5,