Audio: add CTC to PTL cs42l43 path.#10825
Conversation
Include CTC component in PTL with cs42l43. Signed-off-by: Eddy Hsu <eddyhsu@google.com>
Include CTC component in PTL with rt721. Signed-off-by: Eddy Hsu <eddyhsu@google.com>
|
@bardliao pls check |
| DEEPBUFFER_FW_DMA_MS=10,DEEP_BUF_SPK=true,BT_PCM_ID=20,BT_ID=8,BT_PCM_NAME=Bluetooth,ADD_BT=true,\ | ||
| SDW_SPK_ENHANCED_PLAYBACK=false" | ||
|
|
||
| "cavs-sdw\;sof-ptl-cs42l43-agg-l3-cs35l56-l2-ctc\;PLATFORM=ptl,SDW_DMIC=1,NUM_SDW_AMP_CTC_LINKS=2,\ |
There was a problem hiding this comment.
It's not easy for me to catch the change until I realize the deviation is brought by either "NUM_SDW_AMP_LINKS" or "NUM_SDW_AMP_CTC_LINKS" in use.
That also makes sense to me, but I remember NUM_SDW_AMP_LINKS has been referenced by some codes to get the number of speaker. Could you confirm that doesn't matter for the cases using NUM_SDW_AMP_CTC_LINKS?
There was a problem hiding this comment.
NUM_SDW_AMP_LINKS means how many SoundWire links do the amps connect to. For example, NUM_SDW_AMP_LINKS should be 2 if 4 amps connect to 2 SDW links. And NUM_SDW_AMP_LINKS should be 1 if 4 amps connect to 1 SDW link.
There was a problem hiding this comment.
I have updated the CTC conf files to use NUM_SDW_AMP_CTC_LINKS. This variable correctly scales the DAIs and channels (e.g., 2 links = 4 speakers/channels). NUM_SDW_AMP_LINKS is only used in topology files.
Fix NUM_SDW_AMP_CTC_LINKS definitions in CTC related topologies. Signed-off-by: Eddy Hsu <eddyhsu@google.com>
Include CTC component in PTL with cs42l43.