]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
platform/surface: aggregator_registry: Add fan and thermal sensor support for Surface...
authorMaximilian Luz <luzmaximilian@gmail.com>
Sun, 11 Aug 2024 13:19:47 +0000 (15:19 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 13 Aug 2024 08:01:18 +0000 (11:01 +0300)
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>
drivers/platform/surface/surface_aggregator_registry.c

index 892ba9549f6a9df04af679a799dd616f0c119591..4d3f5b3111bae3d8515632d6e86bed0f399ed097 100644 (file)
@@ -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,