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>
Mon, 15 Aug 2022 13:04:51 +0000 (15:04 +0200)
commit6b2caaafc5df5f9d8a41679c3ec1bdad3b8fbe14
tree7db4ee61604f8407e13b5aefaf795cd8fc2613ef
parent06964552928f6e111c2c29a8352ece8345e9cb18
platform/surface: aggregator_registry: Add HID devices for sensors and UCSI client to SP8

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