Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion tools/topology/m4/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
EXTRA_DIST = \
buffer.m4 \
dai.m4 \
hda.m4 \
mixer.m4 \
mixercontrol.m4 \
pcm.m4 \
Expand Down
2 changes: 1 addition & 1 deletion tools/topology/m4/dai.m4
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ define(`DAI_CONFIG',
` "'$1$2`"'
` ]'
` data ['
` "'N_DAI_CONFIG($1$2)`_data"'
` ifelse($1, `HDA', `', "'N_DAI_CONFIG($1$2)`_data")'
` "'N_DAI_CONFIG($1$2)`_data_common"'
`ifelse($1, `DMIC',` "'N_DAI_CONFIG($1$2)`_pdm_data"', `')'
` ]'
Expand Down
22 changes: 0 additions & 22 deletions tools/topology/m4/hda.m4

This file was deleted.

7 changes: 3 additions & 4 deletions tools/topology/sof-apl-da7219.m4
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ include(`utils.m4')
include(`dai.m4')
include(`pipeline.m4')
include(`ssp.m4')
include(`hda.m4')

# Include TLV library
include(`common/tlv.m4')
Expand Down Expand Up @@ -165,9 +164,9 @@ DAI_CONFIG(DMIC, 0, 2, dmic01,
PDM_CONFIG(DMIC, 0, STEREO_PDM0)))

# 3 HDMI/DP outputs (ID: 3,4,5)
HDA_DAI_CONFIG(3, 3, iDisp1)
HDA_DAI_CONFIG(4, 4, iDisp2)
HDA_DAI_CONFIG(5, 5, iDisp3)
DAI_CONFIG(HDA, 3, 3, iDisp1)
DAI_CONFIG(HDA, 4, 4, iDisp2)
DAI_CONFIG(HDA, 5, 5, iDisp3)

## remove warnings with SST hard-coded routes

Expand Down
8 changes: 3 additions & 5 deletions tools/topology/sof-apl-pcm512x.m4
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ include(`utils.m4')
include(`dai.m4')
include(`pipeline.m4')
include(`ssp.m4')
include(`hda.m4')

# Include TLV library
include(`common/tlv.m4')
Expand Down Expand Up @@ -114,9 +113,8 @@ DAI_CONFIG(SSP, 5, 0, SSP5-Codec,
SSP_CONFIG_DATA(SSP, 5, 24)))

# 3 HDMI/DP outputs (ID: 1,2,3)
dnl HDA_DAI_CONFIG(dai_index, link_id, name)
HDA_DAI_CONFIG(0, 1, iDisp1)
HDA_DAI_CONFIG(1, 2, iDisp2)
HDA_DAI_CONFIG(2, 3, iDisp3)
DAI_CONFIG(HDA, 0, 1, iDisp1)
DAI_CONFIG(HDA, 1, 2, iDisp2)
DAI_CONFIG(HDA, 2, 3, iDisp3)

DEBUG_END
7 changes: 3 additions & 4 deletions tools/topology/sof-apl-rt298.m4
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ include(`utils.m4')
include(`dai.m4')
include(`pipeline.m4')
include(`ssp.m4')
include(`hda.m4')

# Include TLV library
include(`common/tlv.m4')
Expand Down Expand Up @@ -100,7 +99,7 @@ DAI_CONFIG(SSP, 5, 0, SSP5-Codec,
SSP_TDM(2, 32, 3, 3),
SSP_CONFIG_DATA(SSP, 5, 24)))

HDA_DAI_CONFIG(3, 3, iDisp1)
HDA_DAI_CONFIG(4, 4, iDisp2)
HDA_DAI_CONFIG(5, 5, iDisp3)
DAI_CONFIG(HDA, 3, 3, iDisp1)
DAI_CONFIG(HDA, 4, 4, iDisp2)
DAI_CONFIG(HDA, 5, 5, iDisp3)

1 change: 0 additions & 1 deletion tools/topology/sof-apl-src-pcm512x.m4
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ include(`utils.m4')
include(`dai.m4')
include(`pipeline.m4')
include(`ssp.m4')
include(`hda.m4')

# Include TLV library
include(`common/tlv.m4')
Expand Down
7 changes: 3 additions & 4 deletions tools/topology/sof-glk-da7219.m4
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ include(`utils.m4')
include(`dai.m4')
include(`pipeline.m4')
include(`ssp.m4')
include(`hda.m4')

# Include TLV library
include(`common/tlv.m4')
Expand Down Expand Up @@ -164,9 +163,9 @@ DAI_CONFIG(DMIC, 0, 2, dmic01,
PDM_CONFIG(DMIC, 0, FOUR_CH_PDM0_PDM1)))

# 3 HDMI/DP outputs (ID: 3,4,5)
HDA_DAI_CONFIG(3, 3, iDisp1)
HDA_DAI_CONFIG(4, 4, iDisp2)
HDA_DAI_CONFIG(5, 5, iDisp3)
DAI_CONFIG(HDA, 3, 3, iDisp1)
DAI_CONFIG(HDA, 4, 4, iDisp2)
DAI_CONFIG(HDA, 5, 5, iDisp3)

## remove warnings with SST hard-coded routes

Expand Down
7 changes: 3 additions & 4 deletions tools/topology/sof-glk-rt5682.m4
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ include(`utils.m4')
include(`dai.m4')
include(`pipeline.m4')
include(`ssp.m4')
include(`hda.m4')

# Include TLV library
include(`common/tlv.m4')
Expand Down Expand Up @@ -166,9 +165,9 @@ DAI_CONFIG(DMIC, 0, 2, dmic01,
PDM_CONFIG(DMIC, 0, FOUR_CH_PDM0_PDM1)))

# 3 HDMI/DP outputs (ID: 3,4,5)
HDA_DAI_CONFIG(3, 3, iDisp1)
HDA_DAI_CONFIG(4, 4, iDisp2)
HDA_DAI_CONFIG(5, 5, iDisp3)
DAI_CONFIG(HDA, 3, 3, iDisp1)
DAI_CONFIG(HDA, 4, 4, iDisp2)
DAI_CONFIG(HDA, 5, 5, iDisp3)

## remove warnings with SST hard-coded routes

Expand Down
11 changes: 5 additions & 6 deletions tools/topology/sof-hda-generic.m4
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
include(`utils.m4')
include(`dai.m4')
include(`pipeline.m4')
include(`hda.m4')

# Include TLV library
include(`common/tlv.m4')
Expand Down Expand Up @@ -133,12 +132,12 @@ PCM_PLAYBACK_ADD(HDMI3, 5, PIPELINE_PCM_9)
#

# HDA outputs
HDA_DAI_CONFIG(0, 4, Analog Playback and Capture)
HDA_DAI_CONFIG(1, 5, Digital Playback and Capture)
DAI_CONFIG(HDA, 0, 4, Analog Playback and Capture)
DAI_CONFIG(HDA, 1, 5, Digital Playback and Capture)
# 3 HDMI/DP outputs (ID: 3,4,5)
HDA_DAI_CONFIG(4, 1, iDisp1)
HDA_DAI_CONFIG(5, 2, iDisp2)
HDA_DAI_CONFIG(6, 3, iDisp3)
DAI_CONFIG(HDA, 4, 1, iDisp1)
DAI_CONFIG(HDA, 5, 2, iDisp2)
DAI_CONFIG(HDA, 6, 3, iDisp3)


VIRTUAL_DAPM_ROUTE_IN(codec0_in, HDA, 1, IN, 1)
Expand Down
11 changes: 5 additions & 6 deletions tools/topology/sof-whl-hda.m4
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
include(`utils.m4')
include(`dai.m4')
include(`pipeline.m4')
include(`hda.m4')

# Include TLV library
include(`common/tlv.m4')
Expand Down Expand Up @@ -133,12 +132,12 @@ PCM_PLAYBACK_ADD(HDMI3, 5, PIPELINE_PCM_9)
#

# HDA outputs
HDA_DAI_CONFIG(0, 4, Analog Playback and Capture)
HDA_DAI_CONFIG(1, 5, Digital Playback and Capture)
DAI_CONFIG(HDA, 0, 4, Analog Playback and Capture)
DAI_CONFIG(HDA, 1, 5, Digital Playback and Capture)
# 3 HDMI/DP outputs (ID: 3,4,5)
HDA_DAI_CONFIG(4, 1, iDisp1)
HDA_DAI_CONFIG(5, 2, iDisp2)
HDA_DAI_CONFIG(6, 3, iDisp3)
DAI_CONFIG(HDA, 4, 1, iDisp1)
DAI_CONFIG(HDA, 5, 2, iDisp2)
DAI_CONFIG(HDA, 6, 3, iDisp3)


VIRTUAL_DAPM_ROUTE_IN(codec0_in, HDA, 1, IN, 1)
Expand Down