Skip to content

Commit 99ae7b9

Browse files
qzedij-intel
authored andcommitted
platform/surface: aggregator_registry: Add support for Surface Laptop 6
Add SAM client device nodes for the Surface Laptop Studio 6 (SL6). The SL6 is similar to the SL5, with the typical battery/AC, platform profile, and HID nodes. It also has support for the newly supported fan interface. Signed-off-by: Maximilian Luz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent 002adda commit 99ae7b9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

drivers/platform/surface/surface_aggregator_registry.c

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,22 @@ static const struct software_node *ssam_node_group_sl5[] = {
275275
NULL,
276276
};
277277

278+
/* Devices for Surface Laptop 6. */
279+
static const struct software_node *ssam_node_group_sl6[] = {
280+
&ssam_node_root,
281+
&ssam_node_bat_ac,
282+
&ssam_node_bat_main,
283+
&ssam_node_tmp_perf_profile_with_fan,
284+
&ssam_node_tmp_sensors,
285+
&ssam_node_fan_speed,
286+
&ssam_node_hid_main_keyboard,
287+
&ssam_node_hid_main_touchpad,
288+
&ssam_node_hid_main_iid5,
289+
&ssam_node_hid_sam_sensors,
290+
&ssam_node_hid_sam_ucm_ucsi,
291+
NULL,
292+
};
293+
278294
/* Devices for Surface Laptop Studio 1. */
279295
static const struct software_node *ssam_node_group_sls1[] = {
280296
&ssam_node_root,
@@ -410,6 +426,9 @@ static const struct acpi_device_id ssam_platform_hub_match[] = {
410426
/* Surface Laptop 5 */
411427
{ "MSHW0350", (unsigned long)ssam_node_group_sl5 },
412428

429+
/* Surface Laptop 6 */
430+
{ "MSHW0530", (unsigned long)ssam_node_group_sl6 },
431+
413432
/* Surface Laptop Go 1 */
414433
{ "MSHW0118", (unsigned long)ssam_node_group_slg1 },
415434

0 commit comments

Comments
 (0)