diff options
author | Jonathon Hall <jonathon.hall@puri.sm> | 2023-07-14 15:32:28 -0400 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-10-02 16:22:23 +0000 |
commit | 89aee538a950a64b96a6470df07f04c08a05c450 (patch) | |
tree | a1c26d60ad674bf916b4f299dd99807d44670f39 /src/drivers/pc80/pc/ps2_mouse.asl | |
parent | 614568ec5876372e0acb0120e5f397074b0115c8 (diff) |
drivers/pc80/pc: Split up PS/2 keyboard/mouse ACPI definitions
Separate these so a mainboard can describe a PS/2 keyboard without a
PS/2 mouse or vice-versa.
Librem 11 has a PS/2 keyboard for the volume keys, but does not have a
PS/2 mouse, and the presence of a mouse device can cause the cursor to
appear on the desktop incorrectly.
ps2_controller.asl remains since many boards include it, it now just
includes the two new files.
Change-Id: I13a4c2caf8dc9e5004b775dc0a9ac2488e39f184
Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78096
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/pc80/pc/ps2_mouse.asl')
-rw-r--r-- | src/drivers/pc80/pc/ps2_mouse.asl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/drivers/pc80/pc/ps2_mouse.asl b/src/drivers/pc80/pc/ps2_mouse.asl new file mode 100644 index 0000000000..f9ac4159b2 --- /dev/null +++ b/src/drivers/pc80/pc/ps2_mouse.asl @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + Device (PS2M) // Mouse + { + Name(_HID, EISAID(CONFIG_PS2M_EISAID)) + Name(_CID, EISAID("PNP0F13")) + Name(_CRS, ResourceTemplate() + { + IRQ (Edge, ActiveHigh, Exclusive) { 0x0c } // IRQ 12 + }) + + Method(_STA, 0) + { + Return (0xf) + } + } |