mb/google/dedede: Default spk_en gpio to low

The max98357a_platform_driver will turn on/off the speaker enable gpio
based on use, so configure it low to save power.

BUG=None
TEST=Built dedede and tested speaker playback working.
We are seeing a power saving of ~10mW.

Change-Id: I070679457b06cb82633c1197b893a5d89c8b2cf0
Signed-off-by: Usha P <usha.p@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41853
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com>
This commit is contained in:
Usha P 2020-05-29 12:13:26 +05:30 committed by Tim Wawrzynczak
parent a2c045bd40
commit 3e241f54d2
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ static const struct pad_config gpio_table[] = {
/* D16 : HP_INT_ODL */
PAD_CFG_GPI_INT(GPP_D16, NONE, PLTRST, EDGE_BOTH),
/* D17 : EN_SPK */
PAD_CFG_GPO(GPP_D17, 1, PLTRST),
PAD_CFG_GPO(GPP_D17, 0, PLTRST),
/* D18 : I2S_MCLK */
PAD_CFG_NF(GPP_D18, NONE, DEEP, NF1),
/* D19 : WWAN_WLAN_COEX1 */