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>
This commit is contained in:
Matt DeVillier 2017-02-17 13:30:57 -06:00 committed by Felix Held
parent 8203752e89
commit a4eba7f09f

View File

@ -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
}