summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Hui <buurin@gmail.com>2020-04-22 01:12:44 -0400
committerAngel Pons <th3fanbus@gmail.com>2020-06-16 20:17:26 +0000
commit02c565b35aa4fe686f81b62927e33b4cd5f2d735 (patch)
tree796569cf034eda6118d56bfc59038d03cd35dc53
parentaac79e0b8f4777f8a912ccdfc483755b7a4da52c (diff)
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 <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41096 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/superio/winbond/w83977tf/acpi/superio.asl8
1 files changed, 7 insertions, 1 deletions
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