From 02c565b35aa4fe686f81b62927e33b4cd5f2d735 Mon Sep 17 00:00:00 2001 From: Keith Hui Date: Wed, 22 Apr 2020 01:12:44 -0400 Subject: superio/winbond/w83977tf: Add suspend related fields Add two fields for the ACPI logical device to the ACPI code. They are used for taking asus/p3b-f board out of suspend by keyboard or mouse. Change-Id: Icaadfea6a4dce7a2d665e8d89a024359975f8b2c Signed-off-by: Keith Hui Reviewed-on: https://review.coreboot.org/c/coreboot/+/41096 Reviewed-by: Felix Held Reviewed-by: Angel Pons Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/superio/winbond/w83977tf/acpi/superio.asl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/superio/winbond/w83977tf/acpi') diff --git a/src/superio/winbond/w83977tf/acpi/superio.asl b/src/superio/winbond/w83977tf/acpi/superio.asl index bd085e10cd..36d7681561 100644 --- a/src/superio/winbond/w83977tf/acpi/superio.asl +++ b/src/superio/winbond/w83977tf/acpi/superio.asl @@ -62,8 +62,14 @@ IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve) PNP_IRQ1, 8, Offset (0x74), PNP_DMA0, 8, + /* MSWK and KBWK are for ACPI logical device, LDN 0xA */ + Offset (0xE0), + MSWK, 8, + Offset (0xE4), + KBWK, 8, Offset (0xF0), - OPT1, 8 + OPT1, 8, + OPT2, 8 } #define PNP_ENTER_MAGIC_1ST 0x87 -- cgit v1.2.3