Skip to content

Commit eecf72f

Browse files
committed
ASoC: SOF: Add topology tokens for IPC4
Add the required tokens for parsing the topology for IPC4. Co-developed-by: Rander Wang <rander.wang@linux.intel.com> Signed-off-by: Rander Wang <rander.wang@linux.intel.com> Co-developed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
1 parent 7aafff6 commit eecf72f

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

include/uapi/sound/sof/tokens.h

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
#define SOF_TKN_SCHED_TIME_DOMAIN 205
5454
#define SOF_TKN_SCHED_DYNAMIC_PIPELINE 206
5555
#define SOF_TKN_SCHED_LP_MODE 207
56+
#define SOF_TKN_SCHED_MEM_USAGE 208
5657

5758
/* volume */
5859
#define SOF_TKN_VOLUME_RAMP_STEP_TYPE 250
@@ -84,6 +85,9 @@
8485
*/
8586
#define SOF_TKN_COMP_CORE_ID 404
8687
#define SOF_TKN_COMP_UUID 405
88+
#define SOF_TKN_COMP_CPC 406
89+
#define SOF_TKN_COMP_IS_PAGES 409
90+
#define SOF_TKN_COMP_NUM_AUDIO_FORMATS 410
8791

8892
/* SSP */
8993
#define SOF_TKN_INTEL_SSP_CLKS_CONTROL 500
@@ -152,4 +156,33 @@
152156

153157
/* MIXER */
154158
#define SOF_TKN_MIXER_TYPE 1700
159+
160+
/* CAVS AUDIO FORMAT */
161+
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_RATE 1900
162+
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_BIT_DEPTH 1901
163+
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_VALID_BIT 1902
164+
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CHANNELS 1903
165+
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CH_MAP 1904
166+
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CH_CFG 1905
167+
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_INTERLEAVING_STYLE 1906
168+
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_FMT_CFG 1907
169+
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_SAMPLE_TYPE 1908
170+
/* intentional token numbering discontinuity, reserved for future use */
171+
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_RATE 1930
172+
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_BIT_DEPTH 1931
173+
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_VALID_BIT 1932
174+
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CHANNELS 1933
175+
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CH_MAP 1934
176+
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CH_CFG 1935
177+
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_INTERLEAVING_STYLE 1936
178+
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_FMT_CFG 1937
179+
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_SAMPLE_TYPE 1938
180+
/* intentional token numbering discontinuity, reserved for future use */
181+
#define SOF_TKN_CAVS_AUDIO_FORMAT_IBS 1970
182+
#define SOF_TKN_CAVS_AUDIO_FORMAT_OBS 1971
183+
#define SOF_TKN_CAVS_AUDIO_FORMAT_DMA_BUFFER_SIZE 1972
184+
185+
/* COPIER */
186+
#define SOF_TKN_INTEL_COPIER_NODE_TYPE 1980
187+
155188
#endif

0 commit comments

Comments
 (0)