summaryrefslogtreecommitdiff
path: root/src/mainboard/google/eve/mainboard.c
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2017-03-02 10:15:23 -0800
committerDuncan Laurie <dlaurie@chromium.org>2017-03-15 18:32:40 +0100
commit2661a9f517dd2abe72728f21feaacca99b5089cc (patch)
tree5102d2c40b3560deb9084df3bc03108a1257e310 /src/mainboard/google/eve/mainboard.c
parent4a75a66d67ee465749eafe8a5128e0c54675c708 (diff)
google/eve: Use rt5514 instead of 4ch DMIC
On this platform the DMICs are connected to the rt5514 DSP instead of directly connected to the SOC. Use the new rt5514 NHLT blob instead of the 4ch DMIC blob and add the required I2C and SPI entries in devicetree so this can get probed properly. BUG=b:35585307 BRANCH=none TEST=build and boot on Eve P1 and check for rt5514 driver enumerated by the kernel Change-Id: I0f2cb532771ee1857df7f33c52a96acf96dc1f54 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/18817 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/eve/mainboard.c')
-rw-r--r--src/mainboard/google/eve/mainboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/eve/mainboard.c b/src/mainboard/google/eve/mainboard.c
index 2b1010182c..dda0cfacfd 100644
--- a/src/mainboard/google/eve/mainboard.c
+++ b/src/mainboard/google/eve/mainboard.c
@@ -46,9 +46,9 @@ static unsigned long mainboard_write_acpi_tables(
if (!nhlt)
return start_addr;
- /* 4 Channel DMIC array. */
- if (nhlt_soc_add_dmic_array(nhlt, 4))
- printk(BIOS_ERR, "Couldn't add 4CH DMIC arrays.\n");
+ /* 4 Channel DMIC array */
+ if (nhlt_soc_add_rt5514(nhlt, AUDIO_LINK_SSP0, 4))
+ printk(BIOS_ERR, "Couldn't add rt5514.\n");
/* RT5663 Headset codec */
if (nhlt_soc_add_rt5663(nhlt, AUDIO_LINK_SSP1))