topology: cml: change SSP port num for rt5682

The CML board has the rt5682 connected to SSP0 and the
machine driver defines the dai link for the headset
with the name "SSP0-codec" too. So change the topology
file accordingly.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
Ranjani Sridharan 2019-02-14 13:44:44 -08:00 committed by Liam Girdwood
parent fb545a3684
commit abc0d2fc6a
1 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ DEBUG_START
#
# Define the pipelines
#
# PCM0 <---> volume <----> SSP1
# PCM0 <---> volume <----> SSP0
# PCM1 ----> volume -----> DMIC01 (dmic0 capture)
# PCM2 ----> volume -----> iDisp1
# PCM3 ----> volume -----> iDisp2
@ -82,14 +82,14 @@ dnl frames, deadline, priority, core)
# playback DAI is SSP1 using 2 periods
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
DAI_ADD(sof/pipe-dai-playback.m4,
1, SSP, 1, SSP1-Codec,
1, SSP, 0, SSP0-Codec,
PIPELINE_SOURCE_1, 2, s24le,
48, 1000, 0, 0)
# capture DAI is SSP1 using 2 periods
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
DAI_ADD(sof/pipe-dai-capture.m4,
2, SSP, 1, SSP1-Codec,
2, SSP, 0, SSP0-Codec,
PIPELINE_SINK_2, 2, s24le,
48, 1000, 0, 0)
@ -134,12 +134,12 @@ PCM_PLAYBACK_ADD(HDMI3, 4, PIPELINE_PCM_6)
#
#SSP 1 (ID: 0)
DAI_CONFIG(SSP, 1, 0, SSP1-Codec,
DAI_CONFIG(SSP, 0, 0, SSP0-Codec,
SSP_CONFIG(I2S, SSP_CLOCK(mclk, 24000000, codec_mclk_in),
SSP_CLOCK(bclk, 2400000, codec_slave),
SSP_CLOCK(fsync, 48000, codec_slave),
SSP_TDM(2, 25, 3, 3),
SSP_CONFIG_DATA(SSP, 1, 24)))
SSP_CONFIG_DATA(SSP, 0, 24)))
# dmic01 (ID: 1)
DAI_CONFIG(DMIC, 0, 1, dmic01,