summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x220
diff options
context:
space:
mode:
authorNicola Corna <nicola@corna.info>2017-02-22 16:52:29 +0100
committerAlexander Couzens <lynxis@fe80.eu>2017-02-28 15:56:06 +0100
commit435d307415f56fb1df0b80ee6a064e5f8939cfe2 (patch)
tree6c4c89a55e8f5bd5e9ed2f898d3973d0d0c0d47e /src/mainboard/lenovo/x220
parentb1ffff7dab8004aa4c51f5d774f2ee75facc2ed4 (diff)
mainboard/lenovo: Power off USB and mute audio before entering S3
Currently, the USB ports are still powered during S3, so turning them off may reduce the power consumption. Note that, when the USB Always on feature is enabled, the USB ports are always powered, regardless of the USBP state. This patch also disables the audio, as it might consume some power or generate some noise. Both the USB power and the audio are reenabled by coreboot during the poweron. Change-Id: If0431b1315fffef2e372e7023f830a66bb7fddae Signed-off-by: Nicola Corna <nicola@corna.info> Reviewed-on: https://review.coreboot.org/18464 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'src/mainboard/lenovo/x220')
-rw-r--r--src/mainboard/lenovo/x220/acpi/platform.asl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x220/acpi/platform.asl b/src/mainboard/lenovo/x220/acpi/platform.asl
index 3e9225cd34..9cd327a765 100644
--- a/src/mainboard/lenovo/x220/acpi/platform.asl
+++ b/src/mainboard/lenovo/x220/acpi/platform.asl
@@ -19,6 +19,8 @@
Method(_PTS,1)
{
+ \_SB.PCI0.LPCB.EC.MUTE(1)
+ \_SB.PCI0.LPCB.EC.USBP(0)
\_SB.PCI0.LPCB.EC.RADI(0)
}