mb/google/stout: Use board-specific PS2M HID/CID to enable multitouch

Use board-specific ASL for PS2-attached trackpad rather than the EC/SIO
default, so that Windows installs a multitouch-capable driver rather
than the standard PS2 mouse driver.

TEST=build/boot Win11 on google/stout, verify trackpad is multitouch
capable.

Change-Id: Id93bbe53f35b1e2c35e36d8175889786b9f5de8b
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75176
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Matt DeVillier 2017-09-11 17:01:25 -05:00 committed by Felix Held
parent 2323282778
commit 8203752e89
1 changed files with 24 additions and 1 deletions

View File

@ -4,7 +4,30 @@
#include "../ec.h"
#define SIO_EC_ENABLE_PS2K // Enable PS/2 Keyboard
#define SIO_ENABLE_PS2M // Enable PS/2 Mouse
/* SIO_EC_ENABLE_PS2M is not defined in favor of custom ASL below */
/* ACPI code for EC SuperIO functions */
#include <ec/quanta/it8518/acpi/superio.asl>
/* Use multitouch trackpad */
Scope (\_SB.PCI0.LPCB.SIO)
{
Device (PS2M)
{
Name (_HID, EISAID("LEN2011"))
Name (_CID, EISAID("PNP0F13"))
Method (_STA, 0, NotSerialized)
{
Return (0x0F)
}
Name (_CRS, ResourceTemplate()
{
FixedIO (0x60, 0x01)
FixedIO (0x64, 0x01)
IRQNoFlags () {12}
})
}
}