From 2e2370075d24facd0f7ba0c63077f65321c8e9c9 Mon Sep 17 00:00:00 2001 From: Sathyanarayana Nujella Date: Mon, 27 Mar 2017 13:24:16 -0700 Subject: [PATCH] mainboard/google/reef: turn off DMIC_CLK_B1 in S0ix Wake On Voice stream capture configuration is mono. It is sufficient to keep DMIC_CLK_A1 on in S0ix; so, turning off DMIC_CLK_B1. Power saving should be visible in the boards which has more than one DMIC connected. BUG=None BRANCH=None TEST=WoV and quad channel DMIC capture works Change-Id: Ic46d4c7b30b945eba47a05d78386f48e4a675a03 Signed-off-by: Sathyanarayana Nujella Reviewed-on: https://review.coreboot.org/19018 Reviewed-by: Aaron Durbin Reviewed-by: Venkateswarlu V Vinjamuri Tested-by: build bot (Jenkins) --- src/mainboard/google/reef/variants/baseboard/gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mainboard/google/reef/variants/baseboard/gpio.c b/src/mainboard/google/reef/variants/baseboard/gpio.c index c572b1ebdd..a4cef029f2 100644 --- a/src/mainboard/google/reef/variants/baseboard/gpio.c +++ b/src/mainboard/google/reef/variants/baseboard/gpio.c @@ -222,8 +222,7 @@ static const struct pad_config gpio_table[] = { /* DMIC or I2S4 */ /* 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_80, NATIVE, DEEP, NF1), /* AVS_DMIC_CLK_B1 */ 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 */