soc/amd/cezanne: Add DPTC support

Add support for DPTC by calling SB.DPTC() as part of PNOT().

Change-Id: I29d7177c96217bf03eaea818cfc1f944f4e640a6
Signed-off-by: Ana Carolina Cabral <ana.cpmelo95@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87218
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Ana Carolina Cabral 2025-03-31 13:56:40 -03:00 committed by Matt DeVillier
commit 7fd815dffe

View file

@ -36,6 +36,9 @@ Scope(\_SB) {
#include <soc/amd/common/acpi/dptc.asl>
#endif
/* Enable DPTC interface with AMD ALIB */
External(\_SB.DPTC, MethodObj)
#include "rtc_workaround.asl"
/*
@ -47,4 +50,8 @@ Method (PNOT)
{
/* Report AC/DC state to ALIB using WAL1() */
\WAL1 ()
If (CondRefOf (\_SB.DPTC)) {
\_SB.DPTC()
}
}