summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Lai <ericr_lai@compal.corp-partner.google.com>2019-10-22 12:17:05 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-10-31 10:37:38 +0000
commitf185779a89b04e95c019e1f92e8e9e269a6af9ca (patch)
tree167431dbfc3e8629447f88b64ee1927456bf1641
parent1966b5c800319dff48995e19c6f6624c23295602 (diff)
downloadcoreboot-f185779a89b04e95c019e1f92e8e9e269a6af9ca.tar.xz
mb/google/drallion: Turn off HDMI power when enter s0ix and S5
Turn off HDMI power when enter s0ix and S5. BUG=b:143057255 BRANCH=N/A TEST=Measure the power on GPP_E16 under s0ix and S5 Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: I580e6094d48663d5c208fd82c7744485d899bcc1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/36224 Reviewed-by: Mathew King <mathewk@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/drallion/variants/drallion/include/variant/acpi/mainboard.asl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/drallion/variants/drallion/include/variant/acpi/mainboard.asl b/src/mainboard/google/drallion/variants/drallion/include/variant/acpi/mainboard.asl
index 41121d28fe..dbe487e8ac 100644
--- a/src/mainboard/google/drallion/variants/drallion/include/variant/acpi/mainboard.asl
+++ b/src/mainboard/google/drallion/variants/drallion/include/variant/acpi/mainboard.asl
@@ -15,6 +15,7 @@
#define CAM_EN GPP_B11 /* Active low */
#define TS_PD GPP_E7
+#define HDMI_PD GPP_E16
/* Method called from LPIT prior to enter s0ix state */
Method (MS0X, 1)
@@ -22,9 +23,13 @@ Method (MS0X, 1)
If (Arg0) {
/* Turn off camera power */
\_SB.PCI0.STXS (CAM_EN)
+ /* Turn off HDMI power */
+ \_SB.PCI0.CTXS (HDMI_PD)
} Else {
/* Turn on camera power */
\_SB.PCI0.CTXS (CAM_EN)
+ /* Turn on HDMI power */
+ \_SB.PCI0.STXS (HDMI_PD)
}
}
@@ -35,6 +40,8 @@ Method (MPTS, 1)
/* Clear touch screen pd pin to avoid leakage */
\_SB.PCI0.CTXS (TS_PD)
+ /* Clear HDMI power to avoid leakage */
+ \_SB.PCI0.CTXS (HDMI_PD)
}
/* Method called from _WAK prior to wakeup */