diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2020-12-04 14:59:00 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-12-07 14:07:17 +0000 |
commit | 88e85b3de4ab29dca048251885815a29031948e5 (patch) | |
tree | 1a617c4bd6c62c5347212f83ce7f3c78b1c89ab8 /src/soc/intel/skylake/gpio.c | |
parent | 416b828f47655b6306d3f1ae49e3c3227a1296dd (diff) |
soc/intel/skl: set PEG port state to auto
Setting PegXEnable to 1, statically enables the PEG ports, which blocks
the SoC from going to deeper PC states. Instead, set the state to "auto"
(2), so the port gets disabled, when no device was detected.
Note: Currently, this only works with the AST PCI bridge disabled or the
VGA jumper set to disabled on coreboot, while it works on vendor
in any case. The reason for this is still unclear.
Test: powertop on X11SSM-F shows SoC in PC8 like on vendor firmware
instead of just PC3
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Change-Id: I3933a219b77d7234af273217df031cf627b4071f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48304
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/skylake/gpio.c')
0 files changed, 0 insertions, 0 deletions