Lines Matching +full:wakeup +full:- +full:pin

1 // SPDX-License-Identifier: GPL-2.0
17 #include "gpiolib-acpi.h"
19 static int run_edge_events_on_boot = -1;
22 "Run edge _AEI event-handlers at boot: 0=no, 1=yes, -1=auto");
27 "controller@pin combos on which to ignore the ACPI wake flag "
28 "ignore_wake=controller@pin[,controller@pin[,...]]");
33 "controller@pin combos on which to ignore interrupt "
34 "ignore_interrupt=controller@pin[,controller@pin[,...]]");
77 unsigned int pin; in acpi_gpio_in_ignore_list() local
98 len = pin_str - controller; in acpi_gpio_in_ignore_list()
101 pin = simple_strtoul(pin_str + 1, &endp, 10); in acpi_gpio_in_ignore_list()
105 if (pin == pin_in) in acpi_gpio_in_ignore_list()
142 * The Minix Neo Z83-4 has a micro-USB-B id-pin handler for
143 * a non existing micro-USB-B connector which puts the HDMI
148 DMI_MATCH(DMI_PRODUCT_NAME, "Z83-4"),
156 * The Terra Pad 1061 has a micro-USB-B id-pin handler, which
157 * instead of controlling the actual micro-USB-B turns the 5V
158 * boost for its USB-A connector off. The actual micro-USB-B
172 * external embedded-controller connected via I2C + an ACPI GPIO
173 * event handler on INT33FFC:02 pin 12, causing spurious wakeups.
186 * external embedded-controller connected via I2C + an ACPI GPIO
187 * event handler on INT33FF:01 pin 0, causing spurious wakeups.
192 * EC wakes breaks wakeup when opening the lid, the user needs
193 * to press the power-button to wakeup the system. The
198 DMI_MATCH(DMI_PRODUCT_NAME, "HP x2 Detachable 10-p0XX"),
207 * external embedded-controller connected via I2C + an ACPI GPIO
208 * event handler on INT33FC:02 pin 28, causing spurious wakeups.
211 DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
222 * external embedded-controller connected via I2C + an ACPI GPIO
223 * event handler on INT33FF:01 pin 0, causing spurious wakeups.
236 * Interrupt storm caused from edge triggered floating pin
250 * Spurious wakeups from TP_ATTN# pin
252 * https://gitlab.freedesktop.org/drm/amd/-/issues/1722#note_1720627
263 * Spurious wakeups from TP_ATTN# pin
265 * https://gitlab.freedesktop.org/drm/amd/-/issues/1722#note_1720627
276 * Spurious wakeups from TP_ATTN# pin
288 * On the Peaq C1010 2-in-1 INT33FC:00 pin 3 is connected to
289 * a "dolby" button. At the ACPI level an _AEI event-handler
294 * So instead the x86-android-tablets code instantiates
295 * a gpio-keys platform device for it.
296 * Ignore the _AEI handler for the pin, so that it is not busy.
308 * Spurious wakeups from TP_ATTN# pin
310 * https://gitlab.freedesktop.org/drm/amd/-/issues/3073
314 DMI_MATCH(DMI_PRODUCT_NAME, "G1619-04"),
322 * Same as G1619-04. New model.
326 DMI_MATCH(DMI_PRODUCT_NAME, "G1619-05"),
336 * https://gitlab.freedesktop.org/drm/amd/-/issues/3954
348 * Wakeup only works when keyboard backlight is turned off
349 * https://gitlab.freedesktop.org/drm/amd/-/issues/4169
361 * Spurious wakeups from TP_ATTN# pin
363 * https://gitlab.freedesktop.org/drm/amd/-/issues/4482
383 quirk = id->driver_data; in acpi_gpio_setup_params()
386 if (quirk && quirk->no_edge_events_on_boot) in acpi_gpio_setup_params()
392 if (ignore_wake == NULL && quirk && quirk->ignore_wake) in acpi_gpio_setup_params()
393 ignore_wake = quirk->ignore_wake; in acpi_gpio_setup_params()
395 if (ignore_interrupt == NULL && quirk && quirk->ignore_interrupt) in acpi_gpio_setup_params()
396 ignore_interrupt = quirk->ignore_interrupt; in acpi_gpio_setup_params()