]> git.baikalelectronics.ru Git - kernel.git/commit
platform/surface: aggregator_registry: Add support for Surface Pro 9
authorMaximilian Luz <luzmaximilian@gmail.com>
Sun, 13 Nov 2022 18:59:51 +0000 (19:59 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 15 Nov 2022 16:18:55 +0000 (17:18 +0100)
commitfe5d774d0c9c5ee9f2b13cf1f07cd2c028b44da2
tree2d75a9116c9b67d02d9b84c3898effd2a935367c
parent2b51efcfe9797451730332d02845b8039d6ef2d2
platform/surface: aggregator_registry: Add support for Surface Pro 9

Add device nodes to enable support for battery and charger status, the
ACPI platform profile, as well as internal and type-cover HID devices
(including sensors, touchpad, keyboard, and other miscellaneous devices)
on the Surface Pro 9.

This does not include support for a tablet-mode switch yet, as that is
now handled via the POS subsystem (unlike the Surface Pro 8, where it is
handled via the KIP subsystem) and therefore needs further changes.

While we're at it, also add the missing comment for the Surface Pro 8.

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