This change addresses an issue in the touch driver where the ACPI _PRW method was added unconditionally. The ACPI _PRW method should only be generated when an Interrupt() resource is used in the _CRS method. When a GpioInt() resource is used instead, the _PRW method is not required. The ACPI generation code has been updated to conditionally add the _PRW method based on whether the wake source is a GPIO interrupt or an IRQ interrupt. Now, the _PRW method is only added when an IRQ pin is specified, which is consistent with ACPI requirements. BUG=none TEST=Configure the DRIVERS_INTEL_TOUCH option on a motherboard that has the necessary touch configurations with wake support. Verify that the THC ACPI tables are correctly generated in the SSDT. If wake_gpio (i.e. GpioInt()) is used for wake, no _PRW is generated for the device. Signed-off-by: Cliff Huang <cliff.huang@intel.com> Change-Id: I56fc8486c7494ff37c1d580d57838fee286128a6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/87085 Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> |
||
|---|---|---|
| .. | ||
| acpi/thermal_zone | ||
| amd | ||
| ams | ||
| analogix/anx7625 | ||
| asmedia | ||
| aspeed | ||
| broadcom | ||
| camera | ||
| crb | ||
| efi | ||
| elog | ||
| emulation/qemu | ||
| generic | ||
| genesyslogic | ||
| gfx/generic | ||
| i2c | ||
| intel | ||
| ipmi | ||
| lenovo | ||
| maxim | ||
| mipi | ||
| mrc_cache | ||
| net | ||
| nxp/uwb | ||
| ocp | ||
| option | ||
| parade | ||
| pc80 | ||
| pcie | ||
| ricoh/rce822 | ||
| secunet/dmi | ||
| siemens/nc_fpga | ||
| sil/3114 | ||
| smbus | ||
| smmstore | ||
| sof | ||
| soundwire | ||
| spi | ||
| ti | ||
| tpm | ||
| uart | ||
| usb | ||
| vpd | ||
| wifi/generic | ||
| wwan/fm | ||