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/+/2080664 Tested-by: Martin Roth <martinroth@google.com> Reviewed-by: Martin Roth <martinroth@google.com> Commit-Queue: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41639 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
2b76ee0179
commit
55c735a417
|
@ -157,3 +157,30 @@ Scope (\_SB.PCI0)
|
|||
}
|
||||
}
|
||||
#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
|
||||
|
|
Loading…
Reference in New Issue