platform/surface: aggregator_registry: Add initial support for Surface Pro 8
authorMaximilian Luz <luzmaximilian@gmail.com>
Thu, 28 Oct 2021 01:28:45 +0000 (03:28 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 28 Oct 2021 09:21:17 +0000 (11:21 +0200)
commit025a2fbd8ddc5fe6479bb5d2b0252ad9e789805f
tree746c87fc59ec957e789405a3f16e6bf9961bbfea
parent4616e54795cc8183ecf2a6cef6c7a9091cb1ae56
platform/surface: aggregator_registry: Add initial support for Surface Pro 8

Add preliminary support for the Surface Pro 8 to the Surface Aggregator
registry. This includes battery/charger status and platform profile
support.

In contrast to earlier Surface Pro generations, the keyboard cover is
now also connected via the Surface Aggregator Module (whereas it was
previously connected via USB or HID-over-I2C). To properly support the
HID devices of that cover, however, more changes regarding hot-removal
of Surface Aggregator client devices as well as a new device hub driver
are required. We will address those things in a follow-up series, so do
not add any HID device IDs just yet.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20211028012845.1887219-1-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