summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2017-02-17 13:30:57 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-05-13 18:37:32 +0000
commita4eba7f09f1be92e84c8d20ebf07fbdbba56cf8f (patch)
treed6798b735c67309585d25144415abe4ad7b9a633
parent8203752e8981bbfb6fe26599e73678bf556ce0d2 (diff)
downloadcoreboot-a4eba7f09f1be92e84c8d20ebf07fbdbba56cf8f.tar.gz
mb/google/butterfly: Adjust touchpad ACPI for Windows drivers
Adjust the touchpad HID/CID/HRV to allow coolstar's crostouchpad Windows drivers to properly attach. Change the interrupt type from EDGE to LEVEL. TEST=build/boot google/butterfly, verify touchpad functional under both Windows 10/11 and Linux, verify Windows overlay driver correctly remaps top row keys. Change-Id: I971795becfb05fb42921ff6f40a20892f4f5654a Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75179 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/mainboard/google/butterfly/acpi/mainboard.asl10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mainboard/google/butterfly/acpi/mainboard.asl b/src/mainboard/google/butterfly/acpi/mainboard.asl
index 3552e29ad8..f96dc11b00 100644
--- a/src/mainboard/google/butterfly/acpi/mainboard.asl
+++ b/src/mainboard/google/butterfly/acpi/mainboard.asl
@@ -15,11 +15,9 @@ Scope (\_SB) {
Device (TPAD)
{
- Name (_UID, 1)
-
- // Report as a Sleep Button device so Linux will
- // automatically enable it as a wake source
- Name(_HID, EisaId("PNP0C0E"))
+ Name(_HID, "CYSM0000")
+ Name(_UID, 1)
+ Name(_HRV, 2)
// Trackpad Wake is GPIO11, wake from S3
Name(_PRW, Package() { BOARD_TRACKPAD_WAKE_GPIO, 0x03 })
@@ -27,7 +25,7 @@ Scope (\_SB) {
Name(_CRS, ResourceTemplate()
{
// PIRQG -> GSI22
- Interrupt (ResourceConsumer, EDGE, ActiveLow)
+ Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
{
BOARD_TRACKPAD_IRQ
}