aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer/variants/volteer2/gpio.c
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2020-10-10 00:50:32 +0000
committerDuncan Laurie <dlaurie@chromium.org>2020-11-20 00:25:05 +0000
commite1490e55edfed6acfc3e06e5117cabccd2704a11 (patch)
tree1b5161f0f07da1ad53e8d9dd4a02635cddd826ce /src/mainboard/google/volteer/variants/volteer2/gpio.c
parente997d85e3be50cda1ffdcf4d76014b713fe4951b (diff)
mb/google/volteer/variants: Enable RTD3 for the NVMe device
Enable Runtime D3 for the volteer variants that have GPIO power control of the NVMe device attached to PCIe Root Port 9. Enable the GPIO for power control for variants that do not already have it configured to allow the power to be disabled in D3 state. BUG=b:160996445 TEST=tested on delbin Change-Id: I6ebf813c6c3364fec2e489a9742f04452be92c45 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46262 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/volteer/variants/volteer2/gpio.c')
-rw-r--r--src/mainboard/google/volteer/variants/volteer2/gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/variants/volteer2/gpio.c b/src/mainboard/google/volteer/variants/volteer2/gpio.c
index 069b2f0a98..5c10ec508e 100644
--- a/src/mainboard/google/volteer/variants/volteer2/gpio.c
+++ b/src/mainboard/google/volteer/variants/volteer2/gpio.c
@@ -29,6 +29,8 @@ static const struct pad_config override_gpio_table[] = {
/* A23 : I2S1_SCLK ==> I2S1_SPKR_SCLK */
PAD_CFG_NF(GPP_A23, NONE, DEEP, NF1),
+ /* B2 : VRALERT# ==> EN_PP3300_SSD */
+ PAD_CFG_GPO(GPP_B2, 1, DEEP),
/* B3 : CPU_GP2 ==> PEN_DET_ODL */
PAD_CFG_GPI(GPP_B3, NONE, DEEP),
/* B5 : ISH_I2C0_CVF_SDA */