topology: sof-apl-tdf8532: add virtual widgets and routes

Add virtual widgets and routes to make it aligned with machine driver.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
Keyon Jie 2018-05-24 10:14:28 +08:00 committed by Liam Girdwood
parent 2c31bbdc20
commit 7ee114d2ed
1 changed files with 24 additions and 0 deletions

View File

@ -87,3 +87,27 @@ DAI_CONFIG(SSP, 2, SSP2-Codec, I2S, 16,
DAI_CLOCK(bclk, 1536000, codec_slave), DAI_CLOCK(bclk, 1536000, codec_slave),
DAI_CLOCK(fsync, 48000, codec_slave), DAI_CLOCK(fsync, 48000, codec_slave),
DAI_TDM(2, 16, 3, 3)) DAI_TDM(2, 16, 3, 3))
VIRTUAL_DAPM_ROUTE_IN(BtHfp_ssp0_in, SSP, 0, IN, 0)
VIRTUAL_DAPM_ROUTE_OUT(BtHfp_ssp0_out, SSP, 0, OUT, 1)
VIRTUAL_DAPM_ROUTE_IN(hdmi_ssp1_in, SSP, 1, IN, 2)
VIRTUAL_DAPM_ROUTE_IN(dirana_in, SSP, 2, IN, 3)
VIRTUAL_DAPM_ROUTE_IN(dirana_aux_in, SSP, 2, IN, 4)
VIRTUAL_DAPM_ROUTE_IN(dirana_tuner_in, SSP, 2, IN, 5)
VIRTUAL_DAPM_ROUTE_OUT(dirana_out, SSP, 2, OUT, 6)
VIRTUAL_DAPM_ROUTE_IN(Modem_ssp3_in, SSP, 3, IN, 7)
VIRTUAL_DAPM_ROUTE_OUT(Modem_ssp3_out, SSP, 3, OUT, 8)
VIRTUAL_DAPM_ROUTE_OUT(codec0_out, SSP, 4, OUT, 9)
VIRTUAL_DAPM_ROUTE_IN(TestPin_ssp5_in, SSP, 5, IN, 10)
VIRTUAL_DAPM_ROUTE_OUT(TestPin_ssp5_out, SSP, 5, OUT, 11)
VIRTUAL_WIDGET(ssp0 Tx, 12)
VIRTUAL_WIDGET(ssp0 Rx, 13)
VIRTUAL_WIDGET(ssp1 Rx, 14)
VIRTUAL_WIDGET(ssp2 Tx, 15)
VIRTUAL_WIDGET(ssp2 Rx, 16)
VIRTUAL_WIDGET(ssp3 Tx, 17)
VIRTUAL_WIDGET(ssp3 Rx, 18)
VIRTUAL_WIDGET(ssp4 Tx, 19)
VIRTUAL_WIDGET(ssp5 Tx, 20)
VIRTUAL_WIDGET(ssp5 Rx, 21)