summaryrefslogtreecommitdiff
path: root/src/mainboard/intel
diff options
context:
space:
mode:
authorShaunak Saha <shaunak.saha@intel.com>2020-05-27 23:23:32 -0700
committerNick Vaccaro <nvaccaro@google.com>2020-08-13 21:42:41 +0000
commite7ef6c380d0878dcce434c05e00943ad51abe093 (patch)
tree34403937522e65ce8ec77fec87815273c37828d4 /src/mainboard/intel
parent1d69099115603591ed07b06b42fea5b25d5628d2 (diff)
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>
Diffstat (limited to 'src/mainboard/intel')
-rw-r--r--src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c2
-rw-r--r--src/mainboard/intel/tglrvp/variants/tglrvp_up4/gpio.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c b/src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c
index 398a185f82..49946c87d6 100644
--- a/src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c
+++ b/src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c
@@ -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 */
diff --git a/src/mainboard/intel/tglrvp/variants/tglrvp_up4/gpio.c b/src/mainboard/intel/tglrvp/variants/tglrvp_up4/gpio.c
index 6c94a1caed..91bbe933be 100644
--- a/src/mainboard/intel/tglrvp/variants/tglrvp_up4/gpio.c
+++ b/src/mainboard/intel/tglrvp/variants/tglrvp_up4/gpio.c
@@ -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 */