summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef
diff options
context:
space:
mode:
authorVaibhav Shankar <vaibhav.shankar@intel.com>2017-01-16 14:54:29 -0800
committerMartin Roth <martinroth@google.com>2017-01-19 22:59:35 +0100
commitc0eae6112f9c5449b312d6768b618b9f7fde23c9 (patch)
treeadbeaa1ff179673b29f2d42b496c37cd9cb8046c /src/mainboard/google/reef
parentd8e34b2c44605d2eb6ed1a955148ac24b9d0cd2e (diff)
downloadcoreboot-c0eae6112f9c5449b312d6768b618b9f7fde23c9.tar.xz
mainboard/google/reef: Ignore Audio DMIC IOSSTATE
Audio DMIC PLL needs to be ON in S0ix to support Wake on Voice. This requires GPIO_79 and GPIO_80 to be configured as IGNORE IOSSTATE. So DMIC CLKs will be ON in S0ix. Change-Id: If91045a8664ce853366b670b9db38d620818fbab Signed-off-by: Vaibhav Shankar <vaibhav.shankar@intel.com> Reviewed-on: https://review.coreboot.org/18155 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/reef')
-rw-r--r--src/mainboard/google/reef/variants/baseboard/gpio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/google/reef/variants/baseboard/gpio.c b/src/mainboard/google/reef/variants/baseboard/gpio.c
index 0c5975aec3..a764b466e1 100644
--- a/src/mainboard/google/reef/variants/baseboard/gpio.c
+++ b/src/mainboard/google/reef/variants/baseboard/gpio.c
@@ -218,8 +218,10 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPI(GPIO_78, UP_20K, DEEP), /* I2S1_SDO */
/* DMIC or I2S4 */
- PAD_CFG_NF(GPIO_79, NATIVE, DEEP, NF1), /* AVS_DMIC_CLK_A1 */
- PAD_CFG_NF(GPIO_80, NATIVE, DEEP, NF1), /* AVS_DMIC_CLK_B1 */
+ /* AVS_DMIC_CLK_A1 */
+ PAD_CFG_NF_IOSSTATE(GPIO_79, NATIVE, DEEP, NF1, IGNORE),
+ /* AVS_DMIC_CLK_B1 */
+ PAD_CFG_NF_IOSSTATE(GPIO_80, NATIVE, DEEP, NF1, IGNORE),
PAD_CFG_NF(GPIO_81, NATIVE, DEEP, NF1), /* AVS_DMIC_DATA_1 */
PAD_CFG_GPI(GPIO_82, DN_20K, DEEP), /* unused -- strap */
PAD_CFG_NF(GPIO_83, NATIVE, DEEP, NF1), /* AVS_DMIC_DATA_2 */