summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorMaximilian Luz <luzmaximilian@gmail.com>2024-08-11 15:19:47 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-08-13 10:01:18 +0200
commit002adda09bc1c983c75c82a7e12285c7423aec31 (patch)
tree9c0285b645aa625bb83fc98978661407b0cd5bbd /drivers/platform
parentplatform/surface: aggregator_registry: Add support for Surface Laptop Studio 2 (diff)
downloadlinux-002adda09bc1c983c75c82a7e12285c7423aec31.tar.xz
linux-002adda09bc1c983c75c82a7e12285c7423aec31.zip
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 <luzmaximilian@gmail.com> Link: https://lore.kernel.org/r/20240811131948.261806-5-luzmaximilian@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/surface/surface_aggregator_registry.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c
index 892ba9549f6a..4d3f5b3111ba 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,