blob: fcc72281fdad39a3793945b1ee7215b361a02dc7 [file] [log] [blame]
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __INCLUDE_UAPI_SOF_TOPOLOGY_H__
20#define __INCLUDE_UAPI_SOF_TOPOLOGY_H__
21#define SOF_TPLG_KCTL_VOL_ID 256
22#define SOF_TPLG_KCTL_ENUM_ID 257
23#define SOF_TPLG_KCTL_BYTES_ID 258
24#define SOF_TPLG_KCTL_SWITCH_ID 259
Christopher Ferris32ff3f82020-12-14 13:10:04 -080025#define SOF_TPLG_KCTL_BYTES_VOLATILE_RO 260
26#define SOF_TPLG_KCTL_BYTES_VOLATILE_RW 261
27#define SOF_TPLG_KCTL_BYTES_WO_ID 262
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070028#define SOF_TKN_BUF_SIZE 100
29#define SOF_TKN_BUF_CAPS 101
30#define SOF_TKN_DAI_TYPE 154
31#define SOF_TKN_DAI_INDEX 155
32#define SOF_TKN_DAI_DIRECTION 156
33#define SOF_TKN_SCHED_PERIOD 200
34#define SOF_TKN_SCHED_PRIORITY 201
35#define SOF_TKN_SCHED_MIPS 202
36#define SOF_TKN_SCHED_CORE 203
37#define SOF_TKN_SCHED_FRAMES 204
38#define SOF_TKN_SCHED_TIME_DOMAIN 205
Christopher Ferrisa4792612022-01-10 13:51:15 -080039#define SOF_TKN_SCHED_DYNAMIC_PIPELINE 206
Christopher Ferris7447a1c2022-10-04 18:24:44 -070040#define SOF_TKN_SCHED_LP_MODE 207
41#define SOF_TKN_SCHED_MEM_USAGE 208
Christopher Ferris37c3f3c2023-07-10 10:59:05 -070042#define SOF_TKN_SCHED_USE_CHAIN_DMA 209
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070043#define SOF_TKN_VOLUME_RAMP_STEP_TYPE 250
44#define SOF_TKN_VOLUME_RAMP_STEP_MS 251
Christopher Ferris7447a1c2022-10-04 18:24:44 -070045#define SOF_TKN_GAIN_RAMP_TYPE 260
46#define SOF_TKN_GAIN_RAMP_DURATION 261
47#define SOF_TKN_GAIN_VAL 262
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070048#define SOF_TKN_SRC_RATE_IN 300
49#define SOF_TKN_SRC_RATE_OUT 301
Christopher Ferrisbb9fcb42020-04-06 11:38:04 -070050#define SOF_TKN_ASRC_RATE_IN 320
51#define SOF_TKN_ASRC_RATE_OUT 321
52#define SOF_TKN_ASRC_ASYNCHRONOUS_MODE 322
53#define SOF_TKN_ASRC_OPERATION_MODE 323
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070054#define SOF_TKN_PCM_DMAC_CONFIG 353
55#define SOF_TKN_COMP_PERIOD_SINK_COUNT 400
56#define SOF_TKN_COMP_PERIOD_SOURCE_COUNT 401
57#define SOF_TKN_COMP_FORMAT 402
Christopher Ferris32ff3f82020-12-14 13:10:04 -080058#define SOF_TKN_COMP_CORE_ID 404
59#define SOF_TKN_COMP_UUID 405
Christopher Ferris7447a1c2022-10-04 18:24:44 -070060#define SOF_TKN_COMP_CPC 406
61#define SOF_TKN_COMP_IS_PAGES 409
62#define SOF_TKN_COMP_NUM_AUDIO_FORMATS 410
Christopher Ferris37c3f3c2023-07-10 10:59:05 -070063#define SOF_TKN_COMP_NUM_INPUT_PINS 411
64#define SOF_TKN_COMP_NUM_OUTPUT_PINS 412
65#define SOF_TKN_COMP_INPUT_PIN_BINDING_WNAME 413
66#define SOF_TKN_COMP_OUTPUT_PIN_BINDING_WNAME 414
67#define SOF_TKN_COMP_NUM_INPUT_AUDIO_FORMATS 415
68#define SOF_TKN_COMP_NUM_OUTPUT_AUDIO_FORMATS 416
Christopher Ferris67d1e5e2023-10-31 13:36:37 -070069#define SOF_TKN_COMP_NO_WNAME_IN_KCONTROL_NAME 417
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070070#define SOF_TKN_INTEL_SSP_CLKS_CONTROL 500
71#define SOF_TKN_INTEL_SSP_MCLK_ID 501
72#define SOF_TKN_INTEL_SSP_SAMPLE_BITS 502
73#define SOF_TKN_INTEL_SSP_FRAME_PULSE_WIDTH 503
74#define SOF_TKN_INTEL_SSP_QUIRKS 504
75#define SOF_TKN_INTEL_SSP_TDM_PADDING_PER_SLOT 505
Christopher Ferris9584fa42019-12-09 15:36:13 -080076#define SOF_TKN_INTEL_SSP_BCLK_DELAY 506
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070077#define SOF_TKN_INTEL_DMIC_DRIVER_VERSION 600
78#define SOF_TKN_INTEL_DMIC_CLK_MIN 601
79#define SOF_TKN_INTEL_DMIC_CLK_MAX 602
80#define SOF_TKN_INTEL_DMIC_DUTY_MIN 603
81#define SOF_TKN_INTEL_DMIC_DUTY_MAX 604
82#define SOF_TKN_INTEL_DMIC_NUM_PDM_ACTIVE 605
83#define SOF_TKN_INTEL_DMIC_SAMPLE_RATE 608
84#define SOF_TKN_INTEL_DMIC_FIFO_WORD_LENGTH 609
Christopher Ferrisb8a95e22019-10-02 18:29:20 -070085#define SOF_TKN_INTEL_DMIC_UNMUTE_RAMP_TIME_MS 610
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070086#define SOF_TKN_INTEL_DMIC_PDM_CTRL_ID 700
87#define SOF_TKN_INTEL_DMIC_PDM_MIC_A_Enable 701
88#define SOF_TKN_INTEL_DMIC_PDM_MIC_B_Enable 702
89#define SOF_TKN_INTEL_DMIC_PDM_POLARITY_A 703
90#define SOF_TKN_INTEL_DMIC_PDM_POLARITY_B 704
91#define SOF_TKN_INTEL_DMIC_PDM_CLK_EDGE 705
92#define SOF_TKN_INTEL_DMIC_PDM_SKEW 706
93#define SOF_TKN_TONE_SAMPLE_RATE 800
94#define SOF_TKN_PROCESS_TYPE 900
95#define SOF_TKN_EFFECT_TYPE SOF_TKN_PROCESS_TYPE
Christopher Ferrisbb9fcb42020-04-06 11:38:04 -070096#define SOF_TKN_IMX_SAI_MCLK_ID 1000
Christopher Ferrisd32ca142020-02-04 16:16:51 -080097#define SOF_TKN_IMX_ESAI_MCLK_ID 1100
98#define SOF_TKN_STREAM_PLAYBACK_COMPATIBLE_D0I3 1200
99#define SOF_TKN_STREAM_CAPTURE_COMPATIBLE_D0I3 1201
100#define SOF_TKN_MUTE_LED_USE 1300
101#define SOF_TKN_MUTE_LED_DIRECTION 1301
Christopher Ferris8177cdf2020-08-03 11:53:55 -0700102#define SOF_TKN_INTEL_ALH_RATE 1400
103#define SOF_TKN_INTEL_ALH_CH 1401
104#define SOF_TKN_INTEL_HDA_RATE 1500
105#define SOF_TKN_INTEL_HDA_CH 1501
Christopher Ferris1ed55342022-03-22 16:06:25 -0700106#define SOF_TKN_MEDIATEK_AFE_RATE 1600
107#define SOF_TKN_MEDIATEK_AFE_CH 1601
108#define SOF_TKN_MEDIATEK_AFE_FORMAT 1602
Christopher Ferris7447a1c2022-10-04 18:24:44 -0700109#define SOF_TKN_MIXER_TYPE 1700
110#define SOF_TKN_AMD_ACPDMIC_RATE 1800
111#define SOF_TKN_AMD_ACPDMIC_CH 1801
112#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_RATE 1900
113#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_BIT_DEPTH 1901
Christopher Ferris37c3f3c2023-07-10 10:59:05 -0700114#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_VALID_BIT_DEPTH 1902
Christopher Ferris7447a1c2022-10-04 18:24:44 -0700115#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CHANNELS 1903
116#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CH_MAP 1904
117#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CH_CFG 1905
118#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_INTERLEAVING_STYLE 1906
119#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_FMT_CFG 1907
120#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_SAMPLE_TYPE 1908
Christopher Ferris37c3f3c2023-07-10 10:59:05 -0700121#define SOF_TKN_CAVS_AUDIO_FORMAT_INPUT_PIN_INDEX 1909
Christopher Ferris7447a1c2022-10-04 18:24:44 -0700122#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_RATE 1930
123#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_BIT_DEPTH 1931
Christopher Ferris37c3f3c2023-07-10 10:59:05 -0700124#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_VALID_BIT_DEPTH 1932
Christopher Ferris7447a1c2022-10-04 18:24:44 -0700125#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CHANNELS 1933
126#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CH_MAP 1934
127#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CH_CFG 1935
128#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_INTERLEAVING_STYLE 1936
129#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_FMT_CFG 1937
130#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_SAMPLE_TYPE 1938
Christopher Ferris37c3f3c2023-07-10 10:59:05 -0700131#define SOF_TKN_CAVS_AUDIO_FORMAT_OUTPUT_PIN_INDEX 1939
Christopher Ferris7447a1c2022-10-04 18:24:44 -0700132#define SOF_TKN_CAVS_AUDIO_FORMAT_IBS 1970
133#define SOF_TKN_CAVS_AUDIO_FORMAT_OBS 1971
134#define SOF_TKN_CAVS_AUDIO_FORMAT_DMA_BUFFER_SIZE 1972
135#define SOF_TKN_INTEL_COPIER_NODE_TYPE 1980
Christopher Ferris37c3f3c2023-07-10 10:59:05 -0700136#define SOF_TKN_INTEL_COPIER_DEEP_BUFFER_DMA_MS 1981
Christopher Ferris8b7fdc92023-02-21 13:36:32 -0800137#define SOF_TKN_AMD_ACPI2S_RATE 1700
138#define SOF_TKN_AMD_ACPI2S_CH 1701
139#define SOF_TKN_AMD_ACPI2S_TDM_MODE 1702
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -0700140#endif