mb/intel/tglrvp: Set gpio GPP_H1 for soundcard detection

This patch sets the GPP_H1 to PAD_CFG_GPO which is general
purpose output with no pullup/down. We need this GPIO for
the detection of soundcard in TGL RVP's.

BUG=none
BRANCH=none
TEST=Build and boot tglrvp successfully. From "aplay -l"
output check that soundcards are listed properly.

Change-Id: Ic0ef33079af7940360c986efacabd6d367aad516
Signed-off-by: Shaunak Saha <shaunak.saha@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41811
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
This commit is contained in:
Shaunak Saha 2020-05-27 23:23:32 -07:00 committed by Nick Vaccaro
parent 1d69099115
commit e7ef6c380d
2 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,8 @@ static const struct pad_config gpio_table[] = {
/* EC_SYNC_IRQ */
PAD_CFG_GPI_APIC(GPP_A15, NONE, PLTRST, LEVEL, INVERT), /* MECC_HPD2 */
PAD_CFG_GPO(GPP_H1, 1, DEEP), /* AUDIO_PWREN */
};
/* Early pad configuration in bootblock */

View File

@ -53,6 +53,8 @@ static const struct pad_config gpio_table[] = {
/* EC_SYNC_IRQ */
PAD_CFG_GPI_APIC(GPP_A15, NONE, PLTRST, LEVEL, INVERT), /* MECC_HPD2 */
PAD_CFG_GPO(GPP_H1, 1, DEEP), /* AUDIO_PWREN */
};
/* Early pad configuration in bootblock */