Skip to content

Commit

Permalink
topology2: add basic definitions for PTL
Browse files Browse the repository at this point in the history
Start moving SoundWire topologies from the shadows into main...

We generate a single topology for RT722-based skews since the link
information is not used in the matching with the machine driver
dailinks. The same topology can be used for link0 or link3 setups.

Signed-off-by: Pierre-Louis Bossart <[email protected]>
  • Loading branch information
plbossart authored and lgirdwood committed Jul 24, 2024
1 parent 39c16d5 commit dc28dbd
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/topology/topology2/cavs-sdw.conf
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Define {
IncludeByKey.PLATFORM {
"mtl" "platform/intel/mtl.conf"
"lnl" "platform/intel/lnl.conf"
"ptl" "platform/intel/ptl.conf"
}

IncludeByKey.ADD_BT {
Expand Down
6 changes: 6 additions & 0 deletions tools/topology/topology2/platform/intel/ptl.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# PTL-specific variable definitions
Define {
DMIC_DRIVER_VERSION 5
SSP_BLOB_VERSION 0x300
NUM_HDMIS 3
}
1 change: 1 addition & 0 deletions tools/topology/topology2/production/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include(tplg-targets-hda-generic.cmake)
include(tplg-targets-cavs25.cmake)
include(tplg-targets-ace1.cmake)
include(tplg-targets-ace2.cmake)
include(tplg-targets-ace3.cmake)
include(tplg-targets-imx8.cmake)

add_custom_target(topology2_prod)
Expand Down
10 changes: 10 additions & 0 deletions tools/topology/topology2/production/tplg-targets-ace3.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SPDX-License-Identifier: BSD-3-Clause

# Array of "input-file-name;output-file-name;comma separated pre-processor variables"
list(APPEND TPLGS
# SDW topology for PTL RVP
"cavs-sdw\;sof-ptl-rt722\;PLATFORM=ptl,SDW_DMIC=1,NUM_SDW_AMP_LINKS=1,\
SDW_AMP_FEEDBACK=false,SDW_SPK_STREAM=Playback-SmartAmp,SDW_DMIC_STREAM=Capture-SmartMic,\
SDW_JACK_OUT_STREAM=Playback-SimpleJack,SDW_JACK_IN_STREAM=Capture-SimpleJack"

)

0 comments on commit dc28dbd

Please sign in to comment.