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>
This commit is contained in:
Patrick Rudolph 2017-11-08 19:52:51 +01:00 committed by Patrick Georgi
parent 71ae582f71
commit 92433c2878
4 changed files with 14 additions and 0 deletions

View File

@ -19,6 +19,11 @@ Method(_WAK,1)
/* ME may not be up yet. */ /* ME may not be up yet. */
Store (0, \_TZ.MEB1) Store (0, \_TZ.MEB1)
Store (0, \_TZ.MEB2) Store (0, \_TZ.MEB2)
/* Wake the HKEY to init BT/WWAN */
\_SB.PCI0.LPCB.EC.HKEY.WAKE (Arg0)
/* Not implemented. */
Return(Package(){0,0}) Return(Package(){0,0})
} }

View File

@ -32,6 +32,9 @@ Method(_WAK,1)
Store (0, \_TZ.MEB1) Store (0, \_TZ.MEB1)
Store (0, \_TZ.MEB2) Store (0, \_TZ.MEB2)
/* Wake the HKEY to init BT/WWAN */
\_SB.PCI0.LPCB.EC.HKEY.WAKE (Arg0)
/* Not implemented. */ /* Not implemented. */
Return(Package(){0,0}) Return(Package(){0,0})
} }

View File

@ -32,6 +32,9 @@ Method(_WAK,1)
Store (0, \_TZ.MEB1) Store (0, \_TZ.MEB1)
Store (0, \_TZ.MEB2) Store (0, \_TZ.MEB2)
/* Wake the HKEY to init BT/WWAN */
\_SB.PCI0.LPCB.EC.HKEY.WAKE (Arg0)
/* Not implemented. */ /* Not implemented. */
Return(Package(){0,0}) Return(Package(){0,0})
} }

View File

@ -29,6 +29,9 @@ Method(_PTS,1)
Method(_WAK,1) Method(_WAK,1)
{ {
/* Wake the HKEY to init BT/WWAN */
\_SB.PCI0.LPCB.EC.HKEY.WAKE (Arg0)
// CPU specific part // CPU specific part
// Notify PCI Express slots in case a card // Notify PCI Express slots in case a card