[coreboot-gerrit] Change in coreboot[master]: intel/skylake: nhlt: Add capture config for echo ref stream

Sathyanarayana Nujella (Code Review) gerrit at coreboot.org
Fri Jun 22 01:50:14 CEST 2018


Sathyanarayana Nujella has uploaded this change for review. ( https://review.coreboot.org/27182


Change subject: intel/skylake: nhlt: Add capture config for echo ref stream
......................................................................

intel/skylake: nhlt: Add capture config for echo ref stream

During Speaker playback, quad Channel I/V feedback data is
captured from SSP0 Rx. Out of these 4-channels, Stereo V-Sense data
needs to be given as echo ref stream.
So, adding stereo capture config to max98373_capture_formats.

BUG=b:110074225
TEST='Audio playback and Capture Stereo echo ref data'

Change-Id: I6fe619ece94d5011caffe37ef10b48f956938db9
Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella at intel.com>
---
M src/soc/intel/skylake/nhlt/max98373.c
1 file changed, 10 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/27182/1

diff --git a/src/soc/intel/skylake/nhlt/max98373.c b/src/soc/intel/skylake/nhlt/max98373.c
index 7d01b92..beb4558 100644
--- a/src/soc/intel/skylake/nhlt/max98373.c
+++ b/src/soc/intel/skylake/nhlt/max98373.c
@@ -37,7 +37,7 @@
 };
 
 static const struct nhlt_format_config max98373_capture_formats[] = {
-	/* 48 KHz 16-bits per sample. */
+	/* 48 KHz 16-bits per sample - Quad Channel. */
 	{
 		.num_channels = 4,
 		.sample_freq_khz = 48,
@@ -46,6 +46,15 @@
 		.speaker_mask = SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT,
 		.settings_file = "max98373-render-2ch-48khz-16b.bin",
 	},
+	/* 48 KHz 16-bits per sample - Stereo Channel */
+	{
+		.num_channels = 2,
+		.sample_freq_khz = 48,
+		.container_bits_per_sample = 32,
+		.valid_bits_per_sample = 16,
+		.speaker_mask = SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT,
+		.settings_file = "max98373-render-2ch-48khz-16b.bin",
+	},
 };
 
 static const struct nhlt_endp_descriptor max98373_descriptors[] = {

-- 
To view, visit https://review.coreboot.org/27182
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: I6fe619ece94d5011caffe37ef10b48f956938db9
Gerrit-Change-Number: 27182
Gerrit-PatchSet: 1
Gerrit-Owner: Sathyanarayana Nujella <sathyanarayana.nujella at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180621/3dc78c14/attachment-0001.html>


More information about the coreboot-gerrit mailing list