<p>Sathyanarayana Nujella has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/27182">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">intel/skylake: nhlt: Add capture config for echo ref stream<br><br>During Speaker playback, quad Channel I/V feedback data is<br>captured from SSP0 Rx. Out of these 4-channels, Stereo V-Sense data<br>needs to be given as echo ref stream.<br>So, adding stereo capture config to max98373_capture_formats.<br><br>BUG=b:110074225<br>TEST='Audio playback and Capture Stereo echo ref data'<br><br>Change-Id: I6fe619ece94d5011caffe37ef10b48f956938db9<br>Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com><br>---<br>M src/soc/intel/skylake/nhlt/max98373.c<br>1 file changed, 10 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/27182/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/intel/skylake/nhlt/max98373.c b/src/soc/intel/skylake/nhlt/max98373.c</span><br><span>index 7d01b92..beb4558 100644</span><br><span>--- a/src/soc/intel/skylake/nhlt/max98373.c</span><br><span>+++ b/src/soc/intel/skylake/nhlt/max98373.c</span><br><span>@@ -37,7 +37,7 @@</span><br><span> };</span><br><span> </span><br><span> static const struct nhlt_format_config max98373_capture_formats[] = {</span><br><span style="color: hsl(0, 100%, 40%);">-   /* 48 KHz 16-bits per sample. */</span><br><span style="color: hsl(120, 100%, 40%);">+      /* 48 KHz 16-bits per sample - Quad Channel. */</span><br><span>      {</span><br><span>            .num_channels = 4,</span><br><span>           .sample_freq_khz = 48,</span><br><span>@@ -46,6 +46,15 @@</span><br><span>          .speaker_mask = SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT,</span><br><span>            .settings_file = "max98373-render-2ch-48khz-16b.bin",</span><br><span>      },</span><br><span style="color: hsl(120, 100%, 40%);">+    /* 48 KHz 16-bits per sample - Stereo Channel */</span><br><span style="color: hsl(120, 100%, 40%);">+      {</span><br><span style="color: hsl(120, 100%, 40%);">+             .num_channels = 2,</span><br><span style="color: hsl(120, 100%, 40%);">+            .sample_freq_khz = 48,</span><br><span style="color: hsl(120, 100%, 40%);">+                .container_bits_per_sample = 32,</span><br><span style="color: hsl(120, 100%, 40%);">+              .valid_bits_per_sample = 16,</span><br><span style="color: hsl(120, 100%, 40%);">+          .speaker_mask = SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT,</span><br><span style="color: hsl(120, 100%, 40%);">+             .settings_file = "max98373-render-2ch-48khz-16b.bin",</span><br><span style="color: hsl(120, 100%, 40%);">+       },</span><br><span> };</span><br><span> </span><br><span> static const struct nhlt_endp_descriptor max98373_descriptors[] = {</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/27182">change 27182</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/27182"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I6fe619ece94d5011caffe37ef10b48f956938db9 </div>
<div style="display:none"> Gerrit-Change-Number: 27182 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com> </div>