summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-11-08 19:52:51 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-10-17 12:06:22 +0000
commit92433c287862d2b4484de812ab4505c794ddcc5c (patch)
treec3ca2164767c47beafd60c24c5d0989a3d77aa29 /src
parent71ae582f71818f9107b943479899c5548f763975 (diff)
downloadcoreboot-92433c287862d2b4484de812ab4505c794ddcc5c.tar.xz
mb/lenovo/*/acpi: Store the requested state wake state for bluetooth and WWAN
L520 and T420 should also use it - platforms are very similar to t420s and t530. Z61t is based on T60/X60, X131e is based on X230 so commit with Change-Id I13c08b8c6b1bf0f3deb25a464b26880d8469c005 should be applied as well. All four platforms are using ec/lenovo/h8 embedded controller. Change-Id: Ib177f024871e82979dd430da86f1551aef14d446 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://review.coreboot.org/29064 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/lenovo/l520/acpi/platform.asl5
-rw-r--r--src/mainboard/lenovo/t420/acpi/platform.asl3
-rw-r--r--src/mainboard/lenovo/x131e/acpi/platform.asl3
-rw-r--r--src/mainboard/lenovo/z61t/acpi/platform.asl3
4 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/l520/acpi/platform.asl b/src/mainboard/lenovo/l520/acpi/platform.asl
index c7aea622b2..2d016faa9d 100644
--- a/src/mainboard/lenovo/l520/acpi/platform.asl
+++ b/src/mainboard/lenovo/l520/acpi/platform.asl
@@ -19,6 +19,11 @@ Method(_WAK,1)
/* ME may not be up yet. */
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})
}
diff --git a/src/mainboard/lenovo/t420/acpi/platform.asl b/src/mainboard/lenovo/t420/acpi/platform.asl
index 6f26c5a56f..e4c8a24f78 100644
--- a/src/mainboard/lenovo/t420/acpi/platform.asl
+++ b/src/mainboard/lenovo/t420/acpi/platform.asl
@@ -32,6 +32,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})
}
diff --git a/src/mainboard/lenovo/x131e/acpi/platform.asl b/src/mainboard/lenovo/x131e/acpi/platform.asl
index 9cd327a765..bf686f444f 100644
--- a/src/mainboard/lenovo/x131e/acpi/platform.asl
+++ b/src/mainboard/lenovo/x131e/acpi/platform.asl
@@ -32,6 +32,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})
}
diff --git a/src/mainboard/lenovo/z61t/acpi/platform.asl b/src/mainboard/lenovo/z61t/acpi/platform.asl
index 006b6f0ba2..f9e991b984 100644
--- a/src/mainboard/lenovo/z61t/acpi/platform.asl
+++ b/src/mainboard/lenovo/z61t/acpi/platform.asl
@@ -29,6 +29,9 @@ Method(_PTS,1)
Method(_WAK,1)
{
+ /* Wake the HKEY to init BT/WWAN */
+ \_SB.PCI0.LPCB.EC.HKEY.WAKE (Arg0)
+
// CPU specific part
// Notify PCI Express slots in case a card