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)
commitc6607bcbbe5395c9eb7d556356941b3e65f11e9f
tree0125c806c7598849340f9338899c4396a3ef09ab
parent95a82322505f9e941f8fd85b751b929b055a8f17
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