linux-stable/drivers/platform/surface
Maximilian Luz 061c228967 platform/surface: aggregator_tabletsw: Add support for book mode in POS subsystem
Devices with a type-cover have an additional "book" mode, deactivating
type-cover input and turning off its backlight. This is currently
unsupported, leading to the warning

  surface_aggregator_tablet_mode_switch 01:26:01:00:01: unknown device posture for type-cover: 6

Therefore, add support for this state and map it to enable tablet-mode.

Fixes: 37ff64cd81 ("platform/surface: aggregator_tabletsw: Add support for Type-Cover posture source")
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20230525213218.2797480-3-luzmaximilian@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2023-05-30 11:20:30 +02:00
..
aggregator platform/surface: aggregator: Allow completion work-items to be executed in parallel 2023-05-30 11:20:16 +02:00
Kconfig platform/surface: aggregator: Move subsystem hub drivers to their own module 2022-07-02 11:23:25 +02:00
Makefile platform/surface: aggregator: Move subsystem hub drivers to their own module 2022-07-02 11:23:25 +02:00
surface3-wmi.c platform/surface: surface3-wmi: Simplify resource management 2022-02-03 11:56:04 +01:00
surface3_power.c platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
surface_acpi_notify.c platform/surface: aggregator: Rename top-level request functions to avoid ambiguities 2023-02-02 22:48:20 +01:00
surface_aggregator_cdev.c platform/surface: aggregator: Rename top-level request functions to avoid ambiguities 2023-02-02 22:48:20 +01:00
surface_aggregator_hub.c platform/surface: aggregator_registry: Fix target-ID of base-hub 2023-02-02 22:48:20 +01:00
surface_aggregator_registry.c platform/surface: aggregator_registry: Add support for tablet-mode switch on Surface Pro 9 2023-03-16 14:43:34 +01:00
surface_aggregator_tabletsw.c platform/surface: aggregator_tabletsw: Add support for book mode in POS subsystem 2023-05-30 11:20:30 +02:00
surface_dtx.c platform/surface: aggregator: Enforce use of target-ID enum in device ID macros 2023-02-02 22:48:20 +01:00
surface_gpe.c platform/surface: gpe: Add support for 13" Intel version of Surface Laptop 4 2022-07-28 20:40:40 +02:00
surface_hotplug.c platform/surface: Switch to use acpi_evaluate_dsm_typed() 2023-02-02 22:48:20 +01:00
surface_platform_profile.c platform/surface: aggregator: Enforce use of target-ID enum in device ID macros 2023-02-02 22:48:20 +01:00
surfacepro3_button.c ACPI: make remove callback of ACPI driver void 2022-11-23 19:11:22 +01:00