From 95c2b5d3f81145fe084f0242c1b701ce49f020e2 Mon Sep 17 00:00:00 2001 From: Harsha Priya Date: Mon, 11 Jul 2016 13:19:02 -0700 Subject: [PATCH] UPSTREAM: intel/amenia: Update gpio config for audio This changelist updates gpio config for speaker SDMODE pin. It disables speaker by default. Audio kernel is expected to enable this when audio rendering starts. BUG=None BRANCH=None TEST=None Change-Id: Id33ad29e637bf1fe6b02e8a4b0fd9e220e8983b6 Original-Signed-off-by: Sathyanarayana Nujella Original-Reviewed-on: https://review.coreboot.org/15623 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Andrey Petrov Signed-off-by: Aaron Durbin Reviewed-on: https://chromium-review.googlesource.com/360803 Reviewed-by: Duncan Laurie --- src/mainboard/intel/amenia/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/intel/amenia/gpio.h b/src/mainboard/intel/amenia/gpio.h index d07960aa44..a3b76117be 100644 --- a/src/mainboard/intel/amenia/gpio.h +++ b/src/mainboard/intel/amenia/gpio.h @@ -176,7 +176,7 @@ static const struct pad_config gpio_table[] = { /* I2S1 */ PAD_NC(GPIO_74, DN_20K), /* I2S1_MCLK */ PAD_CFG_GPI(GPIO_75, UP_20K, DEEP), /* SPI_WP_STAT */ - PAD_NC(GPIO_76, DN_20K), /* I2S1_WS_SYNC */ + PAD_CFG_GPO(GPIO_76, 0, DEEP), /* I2S1_WS_SYNC -- SPK_PA_EN */ PAD_NC(GPIO_77, DN_20K), /* I2S1_SDI */ PAD_NC(GPIO_78, DN_20K), /* I2S1_SDO */ /* I2S4 or DMIC */