mb/google/poppy/variants/atlas: update DMIC NHLT configuration

From coreboot side, include DMIC 4ch NHLT configuration and its
DMIC blob. In OS side, cras picks the needed channels using UCM's
channel map configuration.
So, this patch updates to include DMIC 4ch config.

BUG=b:79158926
TEST=Verified 4-ch record with arecord
TEST=Also verified internal mic record with cras using
 'cras_test_client --capture_file dmic.raw --rate 48000
	 --num_channels 2 --duration 10'

Change-Id: Ic6df00c2f26ad9cdf54152ab021c2b10499c429c
Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Reviewed-on: https://review.coreboot.org/26019
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Sathyanarayana Nujella 2018-05-02 18:24:17 -07:00 committed by Martin Roth
parent 7a11c900b6
commit 20c78048a7
2 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ config INCLUDE_NHLT_BLOBS
config INCLUDE_NHLT_BLOBS_ATLAS
bool "Include blobs for atlas audio."
select NHLT_DA7219
select NHLT_DMIC_2CH
select NHLT_DMIC_4CH
select NHLT_MAX98373
config INCLUDE_NHLT_BLOBS_NAUTILUS

View File

@ -20,9 +20,9 @@
void variant_nhlt_init(struct nhlt *nhlt)
{
/* 2 Channel DMIC array. */
if (nhlt_soc_add_dmic_array(nhlt, 2))
printk(BIOS_ERR, "Couldn't add 2CH DMIC array.\n");
/* 4 Channel DMIC array. */
if (nhlt_soc_add_dmic_array(nhlt, 4))
printk(BIOS_ERR, "Couldn't add 4CH DMIC arrays.\n");
/* Dialog DA7219 Headset codec. */
if (nhlt_soc_add_da7219(nhlt, AUDIO_LINK_SSP1))