Skip to content

Commit caa1999

Browse files
iwandersReillyBrogan
authored andcommitted
platform/surface: aggregator_registry: add entry for fan speed
Add an entry for the fan speed function. Add this new entry to the Surface Pro 9 group. Signed-off-by: Ivor Wanders <ivor@iwanders.net> Link: linux-surface/kernel#144 Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com> Patchset: surface-sam
1 parent d002f53 commit caa1999

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/platform/surface/surface_aggregator_registry.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ static const struct software_node ssam_node_tmp_pprof = {
7474
.parent = &ssam_node_root,
7575
};
7676

77+
/* Fan speed function. */
78+
static const struct software_node ssam_node_fan_speed = {
79+
.name = "ssam:01:05:01:01:01",
80+
.parent = &ssam_node_root,
81+
};
82+
7783
/* Tablet-mode switch via KIP subsystem. */
7884
static const struct software_node ssam_node_kip_tablet_switch = {
7985
.name = "ssam:01:0e:01:00:01",
@@ -319,6 +325,7 @@ static const struct software_node *ssam_node_group_sp9[] = {
319325
&ssam_node_bat_ac,
320326
&ssam_node_bat_main,
321327
&ssam_node_tmp_pprof,
328+
&ssam_node_fan_speed,
322329
&ssam_node_pos_tablet_switch,
323330
&ssam_node_hid_kip_keyboard,
324331
&ssam_node_hid_kip_penstash,

0 commit comments

Comments
 (0)