Skip to content

Commit 2727315

Browse files
jwrdegoedelinusw
authored andcommitted
gpiolib: acpi: Add Terra Pad 1061 to the run_edge_events_on_boot_blacklist
The Terra Pad 1061 has the usual micro-USB-B id-pin handler, but instead of controlling the actual micro-USB-B it turns the 5V boost for the tablet's USB-A connector and its keyboard-cover connector off. The actual micro-USB-B connector on the tablet is wired for charging only, and its id pin is *not* connected to the GPIO which is used for the (broken) id-pin event handler in the DSDT. While at it not only add a comment why the Terra Pad 1061 is on the blacklist, but also fix the missing comment for the Minix Neo Z83-4 entry. Fixes: 61f7f7c ("gpiolib: acpi: Add gpiolib_acpi_run_edge_events_on_boot option and blacklist") Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Mika Westerberg <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 31f4f5b commit 2727315

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

drivers/gpio/gpiolib-acpi.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,11 +1304,28 @@ late_initcall_sync(acpi_gpio_handle_deferred_request_irqs);
13041304

13051305
static const struct dmi_system_id run_edge_events_on_boot_blacklist[] = {
13061306
{
1307+
/*
1308+
* The Minix Neo Z83-4 has a micro-USB-B id-pin handler for
1309+
* a non existing micro-USB-B connector which puts the HDMI
1310+
* DDC pins in GPIO mode, breaking HDMI support.
1311+
*/
13071312
.matches = {
13081313
DMI_MATCH(DMI_SYS_VENDOR, "MINIX"),
13091314
DMI_MATCH(DMI_PRODUCT_NAME, "Z83-4"),
13101315
}
13111316
},
1317+
{
1318+
/*
1319+
* The Terra Pad 1061 has a micro-USB-B id-pin handler, which
1320+
* instead of controlling the actual micro-USB-B turns the 5V
1321+
* boost for its USB-A connector off. The actual micro-USB-B
1322+
* connector is wired for charging only.
1323+
*/
1324+
.matches = {
1325+
DMI_MATCH(DMI_SYS_VENDOR, "Wortmann_AG"),
1326+
DMI_MATCH(DMI_PRODUCT_NAME, "TERRA_PAD_1061"),
1327+
}
1328+
},
13121329
{} /* Terminating entry */
13131330
};
13141331

0 commit comments

Comments
 (0)