From 435d307415f56fb1df0b80ee6a064e5f8939cfe2 Mon Sep 17 00:00:00 2001 From: Nicola Corna Date: Wed, 22 Feb 2017 16:52:29 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/18464 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens --- src/mainboard/lenovo/l520/acpi/platform.asl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainboard/lenovo/l520') diff --git a/src/mainboard/lenovo/l520/acpi/platform.asl b/src/mainboard/lenovo/l520/acpi/platform.asl index 432ed23587..c7aea622b2 100644 --- a/src/mainboard/lenovo/l520/acpi/platform.asl +++ b/src/mainboard/lenovo/l520/acpi/platform.asl @@ -24,5 +24,7 @@ Method(_WAK,1) Method(_PTS,1) { + \_SB.PCI0.LPCB.EC.MUTE(1) + \_SB.PCI0.LPCB.EC.USBP(0) \_SB.PCI0.LPCB.EC.RADI(0) } -- cgit v1.2.3