From 92433c287862d2b4484de812ab4505c794ddcc5c Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Wed, 8 Nov 2017 19:52:51 +0100 Subject: 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 Signed-off-by: Peter Lemenkov Reviewed-on: https://review.coreboot.org/29064 Tested-by: build bot (Jenkins) --- src/mainboard/lenovo/l520/acpi/platform.asl | 5 +++++ src/mainboard/lenovo/t420/acpi/platform.asl | 3 +++ src/mainboard/lenovo/x131e/acpi/platform.asl | 3 +++ src/mainboard/lenovo/z61t/acpi/platform.asl | 3 +++ 4 files changed, 14 insertions(+) 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 -- cgit v1.2.3