diff mbox series

[RFC,SOF,2/2] topology: Add sof-cht-nau8824 topology file

Message ID 20201206124626.13932-3-hdegoede@redhat.com (mailing list archive)
State New, archived
Headers show
Series topology: Try to add sof-cht-nau8824 topology file | expand

Commit Message

Hans de Goede Dec. 6, 2020, 12:46 p.m. UTC
This uses the new sof-byt-codec-tdm4.m4 file, as the cht_bsw_nau8824
machine driver programs the link to TDM 4 slots 24 bit.

At first I thought it would be easier to just change the kernel to
use the standard I2S 2 channel 24 bit format as other codecs do,
but this causes problems with the right speaker/headphone channel
unless the chan mixer-control for this is changed from CH1 to CH0,
which requires UCM changes, so changing this at the kernel level will
break setups with older UCM files (and updating UCM will break older
kernels).

So we are stuck with the TDM 4 slots 24 bit format for these boards,
as we cannot change it without causing regressions.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 tools/topology/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tools/topology/CMakeLists.txt b/tools/topology/CMakeLists.txt
index 57f908302..72f1c6ef4 100644
--- a/tools/topology/CMakeLists.txt
+++ b/tools/topology/CMakeLists.txt
@@ -63,6 +63,7 @@  set(TPLGS
 	"sof-byt-codec\;sof-cht-da7213\;-DCODEC=DA7213\;-DPLATFORM=cht-codec\;-DSSP_NUM=2"
 	"sof-byt-codec\;sof-cht-cx2072x\;-DCODEC=CX2072X\;-DPLATFORM=cht-codec\;-DSSP_NUM=2"
 	"sof-byt-codec\;sof-cht-es8316\;-DCODEC=ES8316\;-DPLATFORM=cht-codec\;-DSSP_NUM=2"
+	"sof-byt-codec-tdm4\;sof-cht-nau8824\;-DCODEC=NAU8824\;-DPLATFORM=cht-codec\;-DSSP_NUM=2"
 	"sof-cht-max98090\;sof-cht-max98090\;-DCODEC=MAX98090\;-DPLATFORM=cht-codec\;-DSSP_NUM=2"
 	"sof-cnl-rt274\;sof-cnl-rt274"
 	"sof-apl-tdf8532\;sof-apl-tdf8532"