android_kernel_msm-6.1_noth.../drivers/platform/surface
Maximilian Luz ec2e12b14a platform/surface: aggregator_tabletsw: Add support for book mode in KIP subsystem
[ Upstream commit 9bed667033e66083d363a11e9414ad401ecc242c ]

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:0e:01:00:01: unknown KIP cover state: 6

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

Fixes: 9f794056db ("platform/surface: Add KIP/POS tablet-mode switch driver")
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20230525213218.2797480-2-luzmaximilian@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-14 11:15:15 +02:00
..
aggregator platform/surface: aggregator: Allow completion work-items to be executed in parallel 2023-06-14 11:15:15 +02:00
Kconfig
Makefile
surface3-wmi.c
surface3_power.c
surface_acpi_notify.c
surface_aggregator_cdev.c
surface_aggregator_hub.c
surface_aggregator_registry.c
surface_aggregator_tabletsw.c platform/surface: aggregator_tabletsw: Add support for book mode in KIP subsystem 2023-06-14 11:15:15 +02:00
surface_dtx.c
surface_gpe.c
surface_hotplug.c
surface_platform_profile.c
surfacepro3_button.c