Hello Martin Roth,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/41639
to review the following change.
Change subject: ec/google/chromeec/acpi/superio: Add PS/2 Mouse ACPI entry ......................................................................
ec/google/chromeec/acpi/superio: Add PS/2 Mouse ACPI entry
The PNP ID Means: PNP0F13 PS/2 Port for PS/2-style Mice
BUG=b:145575366 BRANCH=none TEST=Verified mouse was initialized
Signed-off-by: Raul E Rangel rrangel@chromium.org Change-Id: I2a4f071ad54730ea75f75ebf1633a4a08f7f2dd0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+... Tested-by: Martin Roth martinroth@google.com Reviewed-by: Martin Roth martinroth@google.com Commit-Queue: Martin Roth martinroth@google.com --- M src/ec/google/chromeec/acpi/superio.asl 1 file changed, 27 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/41639/1
diff --git a/src/ec/google/chromeec/acpi/superio.asl b/src/ec/google/chromeec/acpi/superio.asl index cc91aba..05310be 100644 --- a/src/ec/google/chromeec/acpi/superio.asl +++ b/src/ec/google/chromeec/acpi/superio.asl @@ -157,3 +157,30 @@ } } #endif + +#ifdef SIO_EC_ENABLE_PS2M +Scope (_SB.PCI0) +{ + Device (PS2M) // Mouse + { + Name (_UID, 0) + Name (_HID, "GOOG0015") + Name (_CID, Package() { EISAID("PNP0F13") } ) + + Method (_STA, 0, NotSerialized) { + Return (0x0F) + } + + Name (_CRS, ResourceTemplate() + { + IO (Decode16, 0x60, 0x60, 0x01, 0x01) + IO (Decode16, 0x64, 0x64, 0x01, 0x01) +#ifdef SIO_EC_PS2M_IRQ + SIO_EC_PS2M_IRQ +#else + IRQ (Edge, ActiveHigh, Exclusive) {12} +#endif + }) + } +} +#endif