Home
last modified time | relevance | path

Searched hist:"9 bed667033e66083d363a11e9414ad401ecc242c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/platform/surface/
H A Dsurface_aggregator_tabletsw.cdiff 9bed667033e66083d363a11e9414ad401ecc242c Thu May 25 16:32:17 CDT 2023 Maximilian Luz <luzmaximilian@gmail.com> platform/surface: aggregator_tabletsw: Add support for book mode in KIP 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:0e:01:00:01: unknown KIP cover state: 6

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

Fixes: 9f794056db5b ("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>