sof/tools/topology/topology2/platform/intel
Bard Liao f0a010052b topology2: cavs-sdw: group route and pipeline index
A topology may be constructed by some .conf files. We may use a
duplicated route index or pipeline index by accident. This commit
suggests a rule to assign route and pipeline index.
We have a consistent pcm id. For example,
Jack out: 0
Jack in: 1
Speaker: 2
Microphone: 4

We can use a simple formula to assign the route and pipeline index
for each pcm.
The formula this commit suppests is pcm id * 10 ~ pcm id * 10 + 9.
That is 0 ~ 9 for pcm 0, 10 ~ 19 for pcm 1, and so on.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
2022-12-09 15:54:18 +00:00
..
cnl.conf topology2: Remove the cavs folder 2022-11-30 16:55:18 -08:00
deep-buffer.conf topology2: add common deep buffer support 2022-12-05 14:32:20 +00:00
dmic-default.conf topology2: Remove the cavs folder 2022-11-30 16:55:18 -08:00
dmic-generic.conf topology2: cavs-sdw: group route and pipeline index 2022-12-09 15:54:18 +00:00
hdmi-4th.conf topology2: Remove the cavs folder 2022-11-30 16:55:18 -08:00
hdmi-default.conf topology2: Remove the cavs folder 2022-11-30 16:55:18 -08:00
hdmi-generic.conf topology2: Remove the cavs folder 2022-11-30 16:55:18 -08:00
mtl.conf topology2: Remove the cavs folder 2022-11-30 16:55:18 -08:00