linux-yocto/drivers/acpi/x86
Hans de Goede 35c1834dd6 ACPI: x86: Extend Lenovo Yoga Tab 3 quirk with skip GPIO event-handlers
commit 2fa87c71d2 upstream.

Depending on the secureboot signature on EFI\BOOT\BOOTX86.EFI the
Lenovo Yoga Tab 3 UEFI will switch its OSID ACPI variable between
1 (Windows) and 4 (Android(GMIN)).

In Windows mode a GPIO event handler gets installed for GPO1 pin 5,
causing Linux' x86-android-tables code which deals with the general
brokenness of this device's ACPI tables to fail to probe with:

[   17.853705] x86_android_tablets: error -16 getting GPIO INT33FF:01 5
[   17.859623] x86_android_tablets x86_android_tablets: probe with driver

which renders sound, the touchscreen, charging-management,
battery-monitoring and more non functional.

Add ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS to the existing quirks for this
device to fix this.

Reported-by: Agoston Lorincz <pipacsba@gmail.com>
Closes: https://lore.kernel.org/platform-driver-x86/CAMEzqD+DNXrAvUOHviB2O2bjtcbmo3xH=kunKr4nubuMLbb_0A@mail.gmail.com/
Cc: All applicable <stable@kernel.org>
Fixes: fe820db352 ("ACPI: x86: Add skip i2c clients quirk for Lenovo Yoga Tab 3 Pro (YT3-X90F)")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/20250325210450.358506-1-hdegoede@redhat.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-04-10 14:39:37 +02:00
..
apple.c ACPI: property: Support strings in Apple _DSM props 2023-04-27 18:50:26 +02:00
blacklist.c ACPI: x86: Move blacklist to x86 folder 2024-04-08 16:39:24 +02:00
cmos_rtc.c ACPI: x86: Move acpi_cmos_rtc to x86 folder 2024-04-08 16:39:24 +02:00
lpss.c ACPI: LPSS: Switch to new Intel CPU model defines 2024-06-07 20:28:07 +02:00
Makefile ACPI: x86: Move LPSS to x86 folder 2024-04-08 16:39:24 +02:00
s2idle.c ACPI: PM: s2idle: Evaluate all Low-Power S0 Idle _DSM functions 2024-04-23 21:50:15 +02:00
utils.c ACPI: x86: Extend Lenovo Yoga Tab 3 quirk with skip GPIO event-handlers 2025-04-10 14:39:37 +02:00