[coreboot-gerrit] Change in coreboot[master]: google/eve: pass virtual slot numbers for nhlt config

HARSHAPRIYA N (Code Review) gerrit at coreboot.org
Wed May 16 02:21:32 CEST 2018


HARSHAPRIYA N has uploaded this change for review. ( https://review.coreboot.org/26308


Change subject: google/eve: pass virtual slot numbers for nhlt config
......................................................................

google/eve: pass virtual slot numbers for nhlt config

This patch passes the vitual slot numbers for rt5514 and max98927
to be used for playback and feedback.

Change-Id: Ifb8a7e2bbc4af9b3678e3f1ca06cba741a040df7
Signed-off-by: Harsha Priya <harshapriya.n at intel.com>
---
M src/mainboard/google/eve/mainboard.c
1 file changed, 3 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/08/26308/1

diff --git a/src/mainboard/google/eve/mainboard.c b/src/mainboard/google/eve/mainboard.c
index 6a28e7d..d1cd95a 100644
--- a/src/mainboard/google/eve/mainboard.c
+++ b/src/mainboard/google/eve/mainboard.c
@@ -47,7 +47,7 @@
 	nhlt->subsystem_id = SUBSYSTEM_ID;
 
 	/* 4 Channel DMIC array */
-	if (nhlt_soc_add_rt5514(nhlt, AUDIO_LINK_SSP0, 4))
+	if (nhlt_soc_add_rt5514(nhlt, AUDIO_LINK_SSP0, 4, 1))
 		printk(BIOS_ERR, "Couldn't add rt5514.\n");
 
 	/* RT5663 Headset codec */
@@ -55,7 +55,8 @@
 		printk(BIOS_ERR, "Couldn't add headset codec.\n");
 
 	/* MAXIM98927 Smart Amps for left and right channel */
-	if (nhlt_soc_add_max98927(nhlt, AUDIO_LINK_SSP0))
+	/* Render time_slot is 0 and feedback time_slot is 2 */
+	if (nhlt_soc_add_max98927(nhlt, AUDIO_LINK_SSP0, 0, 2))
 		printk(BIOS_ERR, "Couldn't add max98927\n");
 
 	end_addr = nhlt_soc_serialize_oem_overrides(nhlt, start_addr,

-- 
To view, visit https://review.coreboot.org/26308
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb8a7e2bbc4af9b3678e3f1ca06cba741a040df7
Gerrit-Change-Number: 26308
Gerrit-PatchSet: 1
Gerrit-Owner: HARSHAPRIYA N <harshapriya.n at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180516/39438b7b/attachment.html>


More information about the coreboot-gerrit mailing list