topology: add DMIC dai support in test capture m4
Add support for adding DMIC config for DMIC DAI type. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
082f9714a9
commit
07d290c8ac
|
@ -69,10 +69,20 @@ PCM_CAPTURE_ADD(Passthrough, 3, 0, 0, PIPELINE_PCM_2)
|
|||
# TEST_SSP_DATA_BITS bit I2S using TEST_SSP_PHY_BITS bit sample conatiner on SSP TEST_DAI_PORT
|
||||
#
|
||||
DAI_CONFIG(TEST_DAI_TYPE, TEST_DAI_PORT, 0, TEST_DAI_LINK_NAME,
|
||||
SSP_CONFIG(TEST_SSP_MODE,
|
||||
DAI_CLOCK(mclk, TEST_SSP_MCLK, codec_mclk_in),
|
||||
DAI_CLOCK(bclk, TEST_SSP_BCLK, codec_slave),
|
||||
DAI_CLOCK(fsync, 48000, codec_slave),
|
||||
DAI_TDM(2, TEST_SSP_PHY_BITS, 3, 3),
|
||||
SSP_SAMPLE_BITS(TEST_DAI_TYPE, TEST_DAI_PORT,
|
||||
TEST_SSP_DATA_BITS)))
|
||||
ifelse(TEST_DAI_TYPE, `SSP',
|
||||
SSP_CONFIG(TEST_SSP_MODE,
|
||||
DAI_CLOCK(mclk, TEST_SSP_MCLK, codec_mclk_in),
|
||||
DAI_CLOCK(bclk, TEST_SSP_BCLK, codec_slave),
|
||||
DAI_CLOCK(fsync, 48000, codec_slave),
|
||||
DAI_TDM(2, TEST_SSP_PHY_BITS, 3, 3),
|
||||
SSP_SAMPLE_BITS(TEST_DAI_TYPE, TEST_DAI_PORT,
|
||||
TEST_SSP_DATA_BITS)),
|
||||
TEST_DAI_TYPE, `DMIC',
|
||||
DMIC_CONFIG(TEST_DMIC_DRIVER_VERSION,TEST_DMIC_CLK_MIN,
|
||||
TEST_DMIC_CLK_MAX, TEST_DMIC_DUTY_MIN,
|
||||
TEST_DMIC_DUTY_MAX, TEST_PDM_ACTIVE,
|
||||
TEST_DMIC_SAMPLE_RATE, DMIC_WORD_LENGTH(TEST_DAI_FORMAT),
|
||||
TEST_DAI_TYPE, TEST_DAI_PORT,
|
||||
PDM_CONFIG(TEST_DAI_TYPE, TEST_DAI_PORT,
|
||||
LIST(`', PDM_TUPLES(0, 1, 1, 0, 0, 0, 0)))),
|
||||
`'))
|
||||
|
|
Loading…
Reference in New Issue