summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2017-09-11 17:01:25 -0500
committerFelix Held <felix-coreboot@felixheld.de>2023-05-13 18:36:33 +0000
commit8203752e8981bbfb6fe26599e73678bf556ce0d2 (patch)
tree3afb37d416abad2d906218bcac201041a0bbef1c /src/mainboard
parent23232827783e84aad794c525533edacc8d8750e6 (diff)
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/stout/acpi/superio.asl25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/mainboard/google/stout/acpi/superio.asl b/src/mainboard/google/stout/acpi/superio.asl
index 967da18be7..32ed70a978 100644
--- a/src/mainboard/google/stout/acpi/superio.asl
+++ b/src/mainboard/google/stout/acpi/superio.asl
@@ -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}
+ })
+ }
+}