platform/surface: aggregator_registry: Add support for Surface Laptop Studio
authorMaximilian Luz <luzmaximilian@gmail.com>
Thu, 21 Oct 2021 13:09:02 +0000 (15:09 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 21 Oct 2021 18:36:22 +0000 (20:36 +0200)
commit4f042e40199ce8bac6bc2b853e81744ee4ea759c
tree0ab19c2fb0381a861aef4bd25814d70a7ae535cc
parentef51b9a520f04875da3e5175fddbdb6980e9ab3a
platform/surface: aggregator_registry: Add support for Surface Laptop Studio

Add support for the Surface Laptop Studio.

In contrast to previous Surface Laptop models, this one has its HID
devices attached to target ID 1 (instead of 2). It also has a couple
more of them, including a new notifier for when the pen is stashed /
taken out of its place, a "Sys Control" device, and two other
unidentified HID devices with unknown usages.

Battery and performance profile interfaces remain the same.

Cc: stable@vger.kernel.org # 5.14+
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20211021130904.862610-2-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