summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2020-10-22 00:23:32 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-10-26 06:55:09 +0000
commitb11b731e80344a6460fb36010bb3785fd0ab59ca (patch)
tree62cae93c4efc90380284d9f38148a5850f4d9e84 /src/mainboard/google/dedede
parent7c80de63287f0f0c61e2326da2b59509b9eef704 (diff)
Revert "mb/google/dedede: Add mainboard acpi support for GPIO PM configuration"
This reverts commit 214c719eed83967b8f0564feca65eebb3d83f5bc. CB:45857 overrides the GPIO PM configuration if Cr50 does not support long interrupt pulse width. More recent Cr50 Firmware versions support long pulse width and hence the GPIO PM can take the default configuration. BUG=None TEST=Build and boot Drawlat to OS. Ensured that 200 iterations of suspend/resume sequence, warm and cold reboot cycles each are successful. Change-Id: I8e3be42cd82fd3ae919d23d6f19c84a90b9c737a Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46652 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Justin TerAvest <teravest@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Evan Green <evgreen@chromium.org>
Diffstat (limited to 'src/mainboard/google/dedede')
-rw-r--r--src/mainboard/google/dedede/acpi/mainboard.asl45
-rw-r--r--src/mainboard/google/dedede/dsdt.asl7
2 files changed, 0 insertions, 52 deletions
diff --git a/src/mainboard/google/dedede/acpi/mainboard.asl b/src/mainboard/google/dedede/acpi/mainboard.asl
deleted file mode 100644
index 0fa27da0a5..0000000000
--- a/src/mainboard/google/dedede/acpi/mainboard.asl
+++ /dev/null
@@ -1,45 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-
-#include <intelblocks/gpio.h>
-#include <soc/gpio_soc_defs.h>
-
-Method (PGPM, 1, Serialized)
-{
- For (Local0 = 0, Local0 < TOTAL_GPIO_COMM, Local0++)
- {
- \_SB.PCI0.CGPM (Local0, Arg0)
- }
-}
-
-/*
- * Method called from _PTS prior to system sleep state entry
- * Enables dynamic clock gating for all 5 GPIO communities
- */
-Method (MPTS, 1, Serialized)
-{
- PGPM (MISCCFG_ENABLE_GPIO_PM_CONFIG)
-}
-
-/*
- * Method called from _WAK prior to system sleep state wakeup
- * Disables dynamic clock gating for all 5 GPIO communities
- */
-Method (MWAK, 1, Serialized)
-{
- PGPM (0)
-}
-
-/*
- * S0ix Entry/Exit Notifications
- * Called from \_SB.LPID._DSM
- */
-Method (MS0X, 1, Serialized)
-{
- If (Arg0 == 1) {
- /* S0ix Entry */
- PGPM (MISCCFG_ENABLE_GPIO_PM_CONFIG)
- } Else {
- /* S0ix Exit */
- PGPM (0)
- }
-}
diff --git a/src/mainboard/google/dedede/dsdt.asl b/src/mainboard/google/dedede/dsdt.asl
index 1698c881f1..39cc25e156 100644
--- a/src/mainboard/google/dedede/dsdt.asl
+++ b/src/mainboard/google/dedede/dsdt.asl
@@ -27,9 +27,6 @@ DefinitionBlock(
#include <soc/intel/common/block/acpi/acpi/northbridge.asl>
#include <soc/intel/jasperlake/acpi/southbridge.asl>
}
-
- /* Mainboard hooks */
- #include "acpi/mainboard.asl"
}
#if CONFIG(VARIANT_HAS_CAMERA_ACPI)
@@ -37,10 +34,6 @@ DefinitionBlock(
#include <variant/acpi/camera.asl>
#endif
- /* Include Low power idle table for a short term workaround to enable
- S0ix. Once cr50 pulse width is fixed, this can be removed. */
- #include <soc/intel/common/acpi/lpit.asl>
-
/* Chrome OS specific */
#include <vendorcode/google/chromeos/acpi/chromeos.asl>