From 2ff25f517974d51f01bfeb4abc10fe413d382f68 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Mon, 18 Dec 2017 16:57:21 +0800 Subject: mb/hp/xxx0p: set ACPI and SLPT bit in _WAK and _PTS ACPI bit is not set after an S3 resume, so set it in _WAK. Setting SLPT bit can make the power LED blink in S3. Change-Id: I2badc69510275df57938cb8607b3c4e0df50f028 Signed-off-by: Iru Cai Reviewed-on: https://review.coreboot.org/22929 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/mainboard/hp/2570p/acpi/platform.asl | 4 ++++ src/mainboard/hp/2760p/acpi/platform.asl | 4 ++++ src/mainboard/hp/8460p/acpi/platform.asl | 4 ++++ src/mainboard/hp/8470p/acpi/platform.asl | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/src/mainboard/hp/2570p/acpi/platform.asl b/src/mainboard/hp/2570p/acpi/platform.asl index 79eddcb55d..fe0f936a61 100644 --- a/src/mainboard/hp/2570p/acpi/platform.asl +++ b/src/mainboard/hp/2570p/acpi/platform.asl @@ -15,9 +15,13 @@ Method(_WAK,1) { + \_SB.PCI0.LPCB.EC0.ACPI = 1 + \_SB.PCI0.LPCB.EC0.SLPT = 0 + Return(Package(){0,0}) } Method(_PTS,1) { + \_SB.PCI0.LPCB.EC0.SLPT = Arg0 } diff --git a/src/mainboard/hp/2760p/acpi/platform.asl b/src/mainboard/hp/2760p/acpi/platform.asl index 79eddcb55d..fe0f936a61 100644 --- a/src/mainboard/hp/2760p/acpi/platform.asl +++ b/src/mainboard/hp/2760p/acpi/platform.asl @@ -15,9 +15,13 @@ Method(_WAK,1) { + \_SB.PCI0.LPCB.EC0.ACPI = 1 + \_SB.PCI0.LPCB.EC0.SLPT = 0 + Return(Package(){0,0}) } Method(_PTS,1) { + \_SB.PCI0.LPCB.EC0.SLPT = Arg0 } diff --git a/src/mainboard/hp/8460p/acpi/platform.asl b/src/mainboard/hp/8460p/acpi/platform.asl index 79eddcb55d..fe0f936a61 100644 --- a/src/mainboard/hp/8460p/acpi/platform.asl +++ b/src/mainboard/hp/8460p/acpi/platform.asl @@ -15,9 +15,13 @@ Method(_WAK,1) { + \_SB.PCI0.LPCB.EC0.ACPI = 1 + \_SB.PCI0.LPCB.EC0.SLPT = 0 + Return(Package(){0,0}) } Method(_PTS,1) { + \_SB.PCI0.LPCB.EC0.SLPT = Arg0 } diff --git a/src/mainboard/hp/8470p/acpi/platform.asl b/src/mainboard/hp/8470p/acpi/platform.asl index 79eddcb55d..fe0f936a61 100644 --- a/src/mainboard/hp/8470p/acpi/platform.asl +++ b/src/mainboard/hp/8470p/acpi/platform.asl @@ -15,9 +15,13 @@ Method(_WAK,1) { + \_SB.PCI0.LPCB.EC0.ACPI = 1 + \_SB.PCI0.LPCB.EC0.SLPT = 0 + Return(Package(){0,0}) } Method(_PTS,1) { + \_SB.PCI0.LPCB.EC0.SLPT = Arg0 } -- cgit v1.2.3