From 09370df845d12d18a178ac95d60bf5a742cfc84b Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 5 Aug 2019 17:10:55 +0530 Subject: mb/google/helios: Set SPKR_PA_EN PIN high for boot beep This patch makes SPKR_PA_EN PIN output and high for boot beep to work in pre-os environment. BUG=b:135104721 BRANCH=NONE TEST=Boot Beep is working with required ALC1011 depthcharge code changes. Change-Id: I012462f93e9e2bcafe5f18ce7d04e3fcd1db9ffa Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/34705 Tested-by: build bot (Jenkins) Reviewed-by: Usha P Reviewed-by: V Sowmya Reviewed-by: Meera Ravindranath Reviewed-by: Tim Wawrzynczak Reviewed-by: Sathya Prakash M R --- src/mainboard/google/hatch/variants/helios/gpio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainboard/google/hatch/variants/helios/gpio.c b/src/mainboard/google/hatch/variants/helios/gpio.c index ecb13f3a7a..257b020065 100644 --- a/src/mainboard/google/hatch/variants/helios/gpio.c +++ b/src/mainboard/google/hatch/variants/helios/gpio.c @@ -85,6 +85,8 @@ static const struct pad_config gpio_table[] = { PAD_NC(GPP_G5, NONE), /* G6 : GPP_G6 ==> NC */ PAD_NC(GPP_G6, NONE), + /* H3 : SPKR_PA_EN */ + PAD_CFG_GPO(GPP_H3, 1, DEEP), /* H4 : I2C2_SDA ==> NC */ PAD_NC(GPP_H4, NONE), /* H5 : I2C2_SCL ==> NC */ -- cgit v1.2.3