summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTerry Chen <terry_chen@wistron.corp-partner.google.com>2022-05-16 21:18:07 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-05-20 11:19:52 +0000
commitbf2e0a781ae2cbc319313b58f115d5f23164586d (patch)
tree0ae3a70e788fccb1ad790418350d10703e7e5a06 /src
parent7e63dfad5a9ecee956a85a7289b5e4d4d4c97bd9 (diff)
mb/google/brya/variants/crota: Configure audio codec IRQ type
The audio codec used by crota has a level-sensitive interrupt, therefore configure the GPIO pad as level-sensitive. BUG=b:230418589 TEST=emerge-brya coreboot and verified pass Signed-off-by: Terry Chen <terry_chen@wistron.corp-partner.google.com> Change-Id: I588c21e44b9bb17cd5a48bf5f22465ec328496e8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64394 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/crota/gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/crota/gpio.c b/src/mainboard/google/brya/variants/crota/gpio.c
index a7def69aaf..618c6accc9 100644
--- a/src/mainboard/google/brya/variants/crota/gpio.c
+++ b/src/mainboard/google/brya/variants/crota/gpio.c
@@ -17,6 +17,8 @@ static const struct pad_config override_gpio_table[] = {
PAD_NC(GPP_A21, NONE),
/* A22 : DDPC_CTRLDATA ==> NC */
PAD_NC(GPP_A22, NONE),
+ /* A23 : ESPI_CS1# ==> AUD_HP_INT_L */
+ PAD_CFG_GPI_APIC(GPP_A23, NONE, PLTRST, LEVEL, INVERT),
/* B2 : VRALERT# ==> NC */
PAD_NC(GPP_B2, NONE),