summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x1_carbon_gen1
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-11-08 19:52:51 +0100
committerFelix Held <felix-coreboot@felixheld.de>2018-07-19 16:49:18 +0000
commit31fb846c59be4b24fe621b67012e57de90c75ad5 (patch)
tree81523c287b8ffcfb5db634d59aeaf9f3bdd17af6 /src/mainboard/lenovo/x1_carbon_gen1
parentf281b6d175905e625f481bf8b8a2b7b10d037582 (diff)
ec/lenovo/h8/acpi: Apply state on wake
Implement ACPI S3 resume control to restore the state before entering sleep. * Store the requested state wake state for bluetooth and WWAN. * Add new methods to init the state and apply the requested state on wake. * Call the new method on all devices. Change-Id: I13c08b8c6b1bf0f3deb25a464b26880d8469c005 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/22377 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/lenovo/x1_carbon_gen1')
-rw-r--r--src/mainboard/lenovo/x1_carbon_gen1/acpi/platform.asl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x1_carbon_gen1/acpi/platform.asl b/src/mainboard/lenovo/x1_carbon_gen1/acpi/platform.asl
index 3e9225cd34..b63c91c641 100644
--- a/src/mainboard/lenovo/x1_carbon_gen1/acpi/platform.asl
+++ b/src/mainboard/lenovo/x1_carbon_gen1/acpi/platform.asl
@@ -30,6 +30,9 @@ Method(_WAK,1)
Store (0, \_TZ.MEB1)
Store (0, \_TZ.MEB2)
+ /* Wake the HKEY to init BT/WWAN */
+ \_SB.PCI0.LPCB.EC.HKEY.WAKE (Arg0)
+
/* Not implemented. */
Return(Package(){0,0})
}