intel/skylake: nhlt: Add capture config for echo ref stream for Max98373 Codec
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@intel.com> Reviewed-on: https://review.coreboot.org/27182 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
1bf411c743
commit
59790dded6
1 changed files with 10 additions and 1 deletions
|
@ -37,7 +37,7 @@ static const struct nhlt_format_config max98373_render_formats[] = {
|
|||
};
|
||||
|
||||
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 @@ static const struct nhlt_format_config max98373_capture_formats[] = {
|
|||
.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[] = {
|
||||
|
|
Loading…
Reference in a new issue