From 4aeeb2ba4d6ff6cad6cc13f129f1a92b3f4cfce4 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Wed, 12 Oct 2022 17:11:52 -0600 Subject: [PATCH] mb/system76/adl-p: HACK: Fix S0ix on lemp11 Inform the EC to apply the PMC hack to allow the CPU to go to C10 during suspend. Change-Id: Id124b2e9249403cebf0038a172d2a324b81c433f Signed-off-by: Tim Crawford --- src/mainboard/system76/adl-p/acpi/sleep.asl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mainboard/system76/adl-p/acpi/sleep.asl b/src/mainboard/system76/adl-p/acpi/sleep.asl index 83888f3e59..efb19f9f57 100644 --- a/src/mainboard/system76/adl-p/acpi/sleep.asl +++ b/src/mainboard/system76/adl-p/acpi/sleep.asl @@ -37,6 +37,10 @@ Method (MWAK, 1, Serialized) Method (MS0X, 1, Serialized) { If (Arg0 == 1) { +#if CONFIG_BOARD_SYSTEM76_LEMP11 + /* HACK: Inform EC to apply PMC hack for S0ix issue */ + \_SB.PCI0.LPCB.EC0.PTS (0) +#endif /* S0ix Entry */ PGPM (MISCCFG_GPIO_PM_CONFIG_BITS) } Else {