aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-03-07 07:28:47 +0000
committerFelix Held <felix-coreboot@felixheld.de>2022-03-14 15:57:16 +0000
commit13f49ce754cf8c7d341432836a1e13e6cab1b71e (patch)
treee2e2c5edbcc7575b8105269ead0c276fc5bd1b99 /src
parent06fe5d565d78067bd50066a8caf51ed412b31b0a (diff)
mb/starlabs/labtop: Pull SSD Pin to low when entering S3
Pull GPP_D16 to low when suspending, otherwise it will remain active and use power. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I2cbe7caf66e8d8c27414aca3b74416c2b8115ea1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62636 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/starlabs/labtop/acpi/sleep.asl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/labtop/acpi/sleep.asl b/src/mainboard/starlabs/labtop/acpi/sleep.asl
index 7ed74e3514..78a2d290db 100644
--- a/src/mainboard/starlabs/labtop/acpi/sleep.asl
+++ b/src/mainboard/starlabs/labtop/acpi/sleep.asl
@@ -2,6 +2,12 @@
Method (MPTS, 1, NotSerialized)
{
+#if CONFIG(BOARD_STARLABS_STARBOOK_TGL)
+ If (Arg0 == 0x03) {
+ \_SB.PCI0.CTXS (GPP_D16)
+ }
+#endif
+
RPTS (Arg0)
}