coreboot/src/mainboard
Nicola Corna 5846d19bf9 UPSTREAM: 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.

BUG=none
BRANCH=none
TEST=none

Change-Id: Iab4aff2c38ee494a5db3b0804f154ecbd4955f75
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 435d307415
Original-Change-Id: If0431b1315fffef2e372e7023f830a66bb7fddae
Original-Signed-off-by: Nicola Corna <nicola@corna.info>
Original-Reviewed-on: https://review.coreboot.org/18464
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-on: https://chromium-review.googlesource.com/449818
2017-03-06 07:04:29 -08:00
..
a-trend UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
aaeon UPSTREAM: AMD boards: Fix romstage main() declaration 2016-06-21 17:13:32 -07:00
abit UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
adi UPSTREAM: cpu/x86/msr.h: Drop excessive includes 2016-12-08 12:31:26 -08:00
adlink kconfig: automatically include mainboards 2015-04-18 08:31:08 +02:00
advansus UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
amd UPSTREAM: ddr3 spd: move accessor code into lib/spd_bin.c 2017-02-13 10:01:11 -08:00
aopen UPSTREAM: aopen/dxplplusu: Switch to 2MiB flash 2017-01-13 18:41:57 -08:00
apple UPSTREAM: mb/apple/macbook21: Remove unused cmos parameters 2017-02-27 14:07:46 -08:00
artecgroup UPSTREAM: mainboard/artecgroup/dbe61/mainboard.c: Use tab for indents 2016-12-01 03:34:35 -08:00
asrock UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
asus UPSTREAM: asus/f2a85-m_le: Activate IOMMU support 2017-02-03 17:52:17 -08:00
avalue UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
azza UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
bachmann UPSTREAM: mainboard: Clean up boot_option/reboot_bits in cmos.layout 2016-08-17 12:49:03 -07:00
bap UPSTREAM: ddr3 spd: move accessor code into lib/spd_bin.c 2017-02-13 10:01:11 -08:00
bcom UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
bifferos rdc/r8610: Move to src/soc 2016-05-05 20:08:58 +02:00
biostar UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
broadcom UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
compaq UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
cubietech UPSTREAM: Remove non-ascii & unprintable characters 2016-08-05 11:45:20 -07:00
digitallogic UPSTREAM: src/mainboard/digitallogic: Add license headers to all files 2017-02-27 10:15:55 -08:00
dmp UPSTREAM: dmp/vortex86ex: Drop excessive include 2016-06-21 17:13:29 -07:00
ecs UPSTREAM: mainboard/*/*/irq_tables.c: Use tabs for indents 2016-09-26 16:52:44 -07:00
elmex UPSTREAM: amd-based mainboards: Fix whitespace in _PTS comments 2017-01-05 11:00:11 -08:00
emulation UPSTREAM: mb/emulation/*-riscv: Don't select ARCH_BOOTBLOCK_RISCV 2017-02-27 14:07:50 -08:00
esd UPSTREAM: cpu/x86/msr.h: Drop excessive includes 2016-12-08 12:31:26 -08:00
getac UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
gigabyte UPSTREAM: nb/intel/x4x: Implement resume from S3 suspend 2017-02-21 06:44:24 -08:00
gizmosphere UPSTREAM: ddr3 spd: move accessor code into lib/spd_bin.c 2017-02-13 10:01:11 -08:00
google Rowan: gpio: update RAM ID pins for Rowan 2017-03-02 23:46:17 -08:00
hp UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
ibase UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
iei UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
intel UPSTREAM: mainboard/intel/leafhill: Clean up 2017-02-27 14:07:53 -08:00
iwave UPSTREAM: cpu/x86/msr.h: Drop excessive includes 2016-12-08 12:31:26 -08:00
iwill UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
jetway UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
kontron UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
lanner UPSTREAM: mainboard/lanner/em8510: Use tabs for indents 2016-09-30 18:03:19 -07:00
lenovo UPSTREAM: mainboard/lenovo: Power off USB and mute audio before entering S3 2017-03-06 07:04:29 -08:00
linutop kconfig: automatically include mainboards 2015-04-18 08:31:08 +02:00
lippert UPSTREAM: amd-based mainboards: Fix whitespace in _PTS comments 2017-01-05 11:00:11 -08:00
lowrisc UPSTREAM: mb/lowrisc/nexys4ddr: Read RAM information from the config string 2016-12-08 12:31:00 -08:00
mitac UPSTREAM: intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-22 10:40:45 -07:00
msi UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
nec UPSTREAM: intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-22 10:40:45 -07:00
nokia UPSTREAM: intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-22 10:40:45 -07:00
nvidia UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
packardbell UPSTREAM: intel/nehalem: Use romstage_handoff for S3 2016-12-13 17:49:12 -08:00
pcengines UPSTREAM: ddr3 spd: move accessor code into lib/spd_bin.c 2017-02-13 10:01:11 -08:00
purism UPSTREAM: purism/librem13: Set system type to laptop 2017-02-27 12:03:16 -08:00
rca UPSTREAM: mainboard/rca/rm4100: transition away from device_t 2016-11-10 18:32:33 -08:00
roda UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
samsung UPSTREAM: cpu/x86/msr.h: Drop excessive includes 2016-12-08 12:31:26 -08:00
siemens UPSTREAM: siemens/mc_apl1: Set MAC address for all available i210 MACs 2017-02-21 06:44:29 -08:00
soyo UPSTREAM: intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-22 10:40:45 -07:00
sunw UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
supermicro UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
technexion UPSTREAM: amd-based mainboards: Fix whitespace in _PTS comments 2017-01-05 11:00:11 -08:00
thomson UPSTREAM: mainboard/thomson/ip1000: transition away from device_t 2016-11-10 18:32:44 -08:00
ti UPSTREAM: beaglebone: Update bootblock.c to use new structs/code 2016-06-22 10:40:52 -07:00
traverse UPSTREAM: mainboard: Clean up boot_option/reboot_bits in cmos.layout 2016-08-17 12:49:03 -07:00
tyan UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
via UPSTREAM: mainboard/via/vt8454c: transition away from device_t 2016-11-16 07:08:07 -08:00
winent UPSTREAM: Kconfig: Update default hex values to start with 0x 2016-10-04 00:32:40 -07:00
wyse UPSTREAM: mainboard/*/*/irq_tables.c: Use tabs for indents 2016-09-26 16:52:44 -07:00
Kconfig UPSTREAM: Kconfig: Remind users to delete .config when switching boards 2017-01-13 15:21:43 -08:00