platform/surface: aggregator_registry: Add HID devices for sensors and UCSI client...
authorMaximilian Luz <luzmaximilian@gmail.com>
Wed, 10 Aug 2022 14:41:17 +0000 (16:41 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 25 Aug 2022 14:23:53 +0000 (16:23 +0200)
Add software nodes for the HID sensor collection and the UCM UCSI HID
client to the Surface Pro 8. In contrast to the type-cover devices,
these devices are directly attached to the SAM controller, without any
hub.

This enables support for HID-based sensors, including the ones used for
automatic screen rotation, on the Surface Pro 8.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20220810144117.493710-4-luzmaximilian@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/surface/surface_aggregator_registry.c

index 9970f89b14110bd40c792c8d95a579f7416264f2..585911020cea076229a853f49888a7047b851e98 100644 (file)
@@ -279,6 +279,8 @@ static const struct software_node *ssam_node_group_sp8[] = {
        &ssam_node_hid_kip_penstash,
        &ssam_node_hid_kip_touchpad,
        &ssam_node_hid_kip_fwupd,
+       &ssam_node_hid_sam_sensors,
+       &ssam_node_hid_sam_ucm_ucsi,
        NULL,
 };