summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorTim Van Patten <timvp@google.com>2023-05-04 11:46:28 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-05-31 16:24:15 +0000
commit821fb21977681ec58c151deb3df461cba81af435 (patch)
tree1981438cea36ab6ab0e82bdb9a1d5bcb8b57a7bf /src/mainboard
parent4a2ce029fb9af7aaa33128ae0af2d4a01dfadd08 (diff)
mb/google/skyrim: Add common_config.acp_config
Add 'common_config.acp_config' to the device tree, so we have the correct pin configuration. BUG=b:225320579 TEST=USE=fwconsole emerge-skyrim ... ; verify 'devbeep' works in depthcharge console TEST=Boot into ChromeOS, verify YouTube sound works with internal speakers and headphone jack TEST=Boot into ChromeOS, verify microphone with Google Meet Change-Id: Ie2d79408104273d8a53214b683800fa0663c14d3 Signed-off-by: Tim Van Patten <timvp@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74962 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/skyrim/variants/baseboard/devicetree.cb7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb b/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
index d0d60bd539..835277a930 100644
--- a/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
@@ -1,6 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-or-later
chip soc/amd/mendocino
+ register "common_config.acp_config" = "{
+ .acp_pin_cfg = ACP_PINS_HDA_3SDI_PDM6_I2S,
+ .acp_i2s_wake_enable = 0,
+ .acp_pme_enable = 0,
+ .dmic_present = 1,
+ }"
+
# eSPI Configuration
register "common_config.espi_config" = "{
.std_io_decode_bitmap = ESPI_DECODE_IO_0x80_EN | ESPI_DECODE_IO_0X60_0X64_EN,