From f185779a89b04e95c019e1f92e8e9e269a6af9ca Mon Sep 17 00:00:00 2001 From: Eric Lai Date: Tue, 22 Oct 2019 12:17:05 +0800 Subject: 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 Change-Id: I580e6094d48663d5c208fd82c7744485d899bcc1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/36224 Reviewed-by: Mathew King Tested-by: build bot (Jenkins) --- .../drallion/variants/drallion/include/variant/acpi/mainboard.asl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mainboard/google/drallion') 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 */ -- cgit v1.2.3