summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rex/variants/kanix/gpio.c
diff options
context:
space:
mode:
authorTyler Wang <tyler.wang@quanta.corp-partner.google.com>2024-11-07 19:51:45 +0800
committerSubrata Banik <subratabanik@google.com>2024-11-18 06:54:55 +0000
commit55f0592ec27c993b3072a0bc67cf35d68dd1ec3f (patch)
tree851675e80ab1aaf974924ebabead489b3dc196b8 /src/mainboard/google/rex/variants/kanix/gpio.c
parent6821aff65501422be3d0cec95c6583db4c8761c0 (diff)
mb/google/rex/var/kanix: Add audio codec/amp support
Add support for Realtek audio codec ALC5682I-VS and Realtek audio amp ALC1019. BUG=b:366291025 TEST=emerge-rex coreboot pass Change-Id: I0cac934004b0b1b72feaacea99a602fffd2f1457 Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85100 Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/rex/variants/kanix/gpio.c')
-rw-r--r--src/mainboard/google/rex/variants/kanix/gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/rex/variants/kanix/gpio.c b/src/mainboard/google/rex/variants/kanix/gpio.c
index 0bc8f3d7f9..b512c196da 100644
--- a/src/mainboard/google/rex/variants/kanix/gpio.c
+++ b/src/mainboard/google/rex/variants/kanix/gpio.c
@@ -146,8 +146,8 @@ static const struct pad_config gpio_table[] = {
PAD_NC(GPP_D00, NONE),
/* GPP_D01 : Not Connected */
PAD_NC(GPP_D01, NONE),
- /* GPP_D04 : Not Connected. */
- PAD_NC(GPP_D04, NONE),
+ /* GPP_D04 : [] ==> EN_SPKR */
+ PAD_CFG_GPO(GPP_D04, 1, DEEP),
/* GPP_D05 : net NC. Test pad. */
PAD_NC(GPP_D05, NONE),
/* GPP_D06 : net NC. Test pad.*/