From 13f49ce754cf8c7d341432836a1e13e6cab1b71e Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Mon, 7 Mar 2022 07:28:47 +0000 Subject: [PATCH] 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 Change-Id: I2cbe7caf66e8d8c27414aca3b74416c2b8115ea1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62636 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/starlabs/labtop/acpi/sleep.asl | 6 ++++++ 1 file changed, 6 insertions(+) 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) }