summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/mendocino/acpi/soc.asl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/amd/mendocino/acpi/soc.asl b/src/soc/amd/mendocino/acpi/soc.asl
index 91b1444c1d..5af6d8c533 100644
--- a/src/soc/amd/mendocino/acpi/soc.asl
+++ b/src/soc/amd/mendocino/acpi/soc.asl
@@ -35,6 +35,9 @@ Scope(\_SB) {
#include "rtc_workaround.asl"
+/* Enable DPTC interface with AMD ALIB */
+External(\_SB.DPTC, MethodObj)
+
/*
* Platform Notify
*
@@ -44,4 +47,8 @@ Method (PNOT)
{
/* Report AC/DC state to ALIB using WAL1() */
\WAL1 ()
+
+ If (CondRefOf (\_SB.DPTC)) {
+ \_SB.DPTC()
+ }
}