Sean Rhodes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60165 )
Change subject: ec/starlabs/merlin: Apply EC settings when suspending ......................................................................
ec/starlabs/merlin: Apply EC settings when suspending
Signed-off-by: Sean Rhodes sean@starlabs.systems Change-Id: I998d5509cd5e95736468f88663a1423217cf6ddf --- M src/ec/starlabs/merlin/acpi/suspend.asl 1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/60165/1
diff --git a/src/ec/starlabs/merlin/acpi/suspend.asl b/src/ec/starlabs/merlin/acpi/suspend.asl index 7c8f2b1..56805f3 100644 --- a/src/ec/starlabs/merlin/acpi/suspend.asl +++ b/src/ec/starlabs/merlin/acpi/suspend.asl @@ -10,10 +10,17 @@ _SB.PCI0.LPCB.EC.TPLA = _SB.PCI0.LPCB.TPLS _SB.PCI0.LPCB.EC.FLKA = _SB.PCI0.LPCB.FLKS _SB.PCI0.LPCB.EC.KLBE = _SB.PCI0.LPCB.KLBC + _SB.PCI0.LPCB.EC.KLSE = _SB.PCI0.LPCB.KLSC } }
Method (RWAK, 1, Serialized) { _SB.PCI0.LPCB.EC.OSFG = 0x01 + + /* Restore settings from CMOS */ + _SB.PCI0.LPCB.TPLS = _SB.PCI0.LPCB.EC.TPLA + _SB.PCI0.LPCB.FLKS = _SB.PCI0.LPCB.EC.FLKA + _SB.PCI0.LPCB.KLBC = _SB.PCI0.LPCB.EC.KLBE + _SB.PCI0.LPCB.KLSC = _SB.PCI0.LPCB.EC.KLSE }