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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 tools/topology/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

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"
-- 
2.28.0




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux