blob: d57d55bb65602f4325ccdb927829b042d66b746e [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -07007#ifndef __INCLUDE_UAPI_SOF_TOPOLOGY_H__
8#define __INCLUDE_UAPI_SOF_TOPOLOGY_H__
9#define SOF_TPLG_KCTL_VOL_ID 256
10#define SOF_TPLG_KCTL_ENUM_ID 257
11#define SOF_TPLG_KCTL_BYTES_ID 258
12#define SOF_TPLG_KCTL_SWITCH_ID 259
Christopher Ferris32ff3f82020-12-14 13:10:04 -080013#define SOF_TPLG_KCTL_BYTES_VOLATILE_RO 260
14#define SOF_TPLG_KCTL_BYTES_VOLATILE_RW 261
15#define SOF_TPLG_KCTL_BYTES_WO_ID 262
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070016#define SOF_TKN_BUF_SIZE 100
17#define SOF_TKN_BUF_CAPS 101
18#define SOF_TKN_DAI_TYPE 154
19#define SOF_TKN_DAI_INDEX 155
20#define SOF_TKN_DAI_DIRECTION 156
21#define SOF_TKN_SCHED_PERIOD 200
22#define SOF_TKN_SCHED_PRIORITY 201
23#define SOF_TKN_SCHED_MIPS 202
24#define SOF_TKN_SCHED_CORE 203
25#define SOF_TKN_SCHED_FRAMES 204
26#define SOF_TKN_SCHED_TIME_DOMAIN 205
Christopher Ferrisa4792612022-01-10 13:51:15 -080027#define SOF_TKN_SCHED_DYNAMIC_PIPELINE 206
Christopher Ferris7447a1c2022-10-04 18:24:44 -070028#define SOF_TKN_SCHED_LP_MODE 207
29#define SOF_TKN_SCHED_MEM_USAGE 208
Christopher Ferris37c3f3c2023-07-10 10:59:05 -070030#define SOF_TKN_SCHED_USE_CHAIN_DMA 209
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070031#define SOF_TKN_VOLUME_RAMP_STEP_TYPE 250
32#define SOF_TKN_VOLUME_RAMP_STEP_MS 251
Christopher Ferris7447a1c2022-10-04 18:24:44 -070033#define SOF_TKN_GAIN_RAMP_TYPE 260
34#define SOF_TKN_GAIN_RAMP_DURATION 261
35#define SOF_TKN_GAIN_VAL 262
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070036#define SOF_TKN_SRC_RATE_IN 300
37#define SOF_TKN_SRC_RATE_OUT 301
Christopher Ferrisbb9fcb42020-04-06 11:38:04 -070038#define SOF_TKN_ASRC_RATE_IN 320
39#define SOF_TKN_ASRC_RATE_OUT 321
40#define SOF_TKN_ASRC_ASYNCHRONOUS_MODE 322
41#define SOF_TKN_ASRC_OPERATION_MODE 323
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070042#define SOF_TKN_PCM_DMAC_CONFIG 353
43#define SOF_TKN_COMP_PERIOD_SINK_COUNT 400
44#define SOF_TKN_COMP_PERIOD_SOURCE_COUNT 401
45#define SOF_TKN_COMP_FORMAT 402
Christopher Ferris32ff3f82020-12-14 13:10:04 -080046#define SOF_TKN_COMP_CORE_ID 404
47#define SOF_TKN_COMP_UUID 405
Christopher Ferris7447a1c2022-10-04 18:24:44 -070048#define SOF_TKN_COMP_CPC 406
49#define SOF_TKN_COMP_IS_PAGES 409
50#define SOF_TKN_COMP_NUM_AUDIO_FORMATS 410
Christopher Ferris37c3f3c2023-07-10 10:59:05 -070051#define SOF_TKN_COMP_NUM_INPUT_PINS 411
52#define SOF_TKN_COMP_NUM_OUTPUT_PINS 412
53#define SOF_TKN_COMP_INPUT_PIN_BINDING_WNAME 413
54#define SOF_TKN_COMP_OUTPUT_PIN_BINDING_WNAME 414
55#define SOF_TKN_COMP_NUM_INPUT_AUDIO_FORMATS 415
56#define SOF_TKN_COMP_NUM_OUTPUT_AUDIO_FORMATS 416
Christopher Ferris67d1e5e2023-10-31 13:36:37 -070057#define SOF_TKN_COMP_NO_WNAME_IN_KCONTROL_NAME 417
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070058#define SOF_TKN_INTEL_SSP_CLKS_CONTROL 500
59#define SOF_TKN_INTEL_SSP_MCLK_ID 501
60#define SOF_TKN_INTEL_SSP_SAMPLE_BITS 502
61#define SOF_TKN_INTEL_SSP_FRAME_PULSE_WIDTH 503
62#define SOF_TKN_INTEL_SSP_QUIRKS 504
63#define SOF_TKN_INTEL_SSP_TDM_PADDING_PER_SLOT 505
Christopher Ferris9584fa42019-12-09 15:36:13 -080064#define SOF_TKN_INTEL_SSP_BCLK_DELAY 506
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070065#define SOF_TKN_INTEL_DMIC_DRIVER_VERSION 600
66#define SOF_TKN_INTEL_DMIC_CLK_MIN 601
67#define SOF_TKN_INTEL_DMIC_CLK_MAX 602
68#define SOF_TKN_INTEL_DMIC_DUTY_MIN 603
69#define SOF_TKN_INTEL_DMIC_DUTY_MAX 604
70#define SOF_TKN_INTEL_DMIC_NUM_PDM_ACTIVE 605
71#define SOF_TKN_INTEL_DMIC_SAMPLE_RATE 608
72#define SOF_TKN_INTEL_DMIC_FIFO_WORD_LENGTH 609
Christopher Ferrisb8a95e22019-10-02 18:29:20 -070073#define SOF_TKN_INTEL_DMIC_UNMUTE_RAMP_TIME_MS 610
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070074#define SOF_TKN_INTEL_DMIC_PDM_CTRL_ID 700
75#define SOF_TKN_INTEL_DMIC_PDM_MIC_A_Enable 701
76#define SOF_TKN_INTEL_DMIC_PDM_MIC_B_Enable 702
77#define SOF_TKN_INTEL_DMIC_PDM_POLARITY_A 703
78#define SOF_TKN_INTEL_DMIC_PDM_POLARITY_B 704
79#define SOF_TKN_INTEL_DMIC_PDM_CLK_EDGE 705
80#define SOF_TKN_INTEL_DMIC_PDM_SKEW 706
81#define SOF_TKN_TONE_SAMPLE_RATE 800
82#define SOF_TKN_PROCESS_TYPE 900
83#define SOF_TKN_EFFECT_TYPE SOF_TKN_PROCESS_TYPE
Christopher Ferrisbb9fcb42020-04-06 11:38:04 -070084#define SOF_TKN_IMX_SAI_MCLK_ID 1000
Christopher Ferrisd32ca142020-02-04 16:16:51 -080085#define SOF_TKN_IMX_ESAI_MCLK_ID 1100
86#define SOF_TKN_STREAM_PLAYBACK_COMPATIBLE_D0I3 1200
87#define SOF_TKN_STREAM_CAPTURE_COMPATIBLE_D0I3 1201
88#define SOF_TKN_MUTE_LED_USE 1300
89#define SOF_TKN_MUTE_LED_DIRECTION 1301
Christopher Ferris8177cdf2020-08-03 11:53:55 -070090#define SOF_TKN_INTEL_ALH_RATE 1400
91#define SOF_TKN_INTEL_ALH_CH 1401
92#define SOF_TKN_INTEL_HDA_RATE 1500
93#define SOF_TKN_INTEL_HDA_CH 1501
Christopher Ferris1ed55342022-03-22 16:06:25 -070094#define SOF_TKN_MEDIATEK_AFE_RATE 1600
95#define SOF_TKN_MEDIATEK_AFE_CH 1601
96#define SOF_TKN_MEDIATEK_AFE_FORMAT 1602
Christopher Ferris7447a1c2022-10-04 18:24:44 -070097#define SOF_TKN_MIXER_TYPE 1700
98#define SOF_TKN_AMD_ACPDMIC_RATE 1800
99#define SOF_TKN_AMD_ACPDMIC_CH 1801
100#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_RATE 1900
101#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_BIT_DEPTH 1901
Christopher Ferris37c3f3c2023-07-10 10:59:05 -0700102#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_VALID_BIT_DEPTH 1902
Christopher Ferris7447a1c2022-10-04 18:24:44 -0700103#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CHANNELS 1903
104#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CH_MAP 1904
105#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CH_CFG 1905
106#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_INTERLEAVING_STYLE 1906
107#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_FMT_CFG 1907
108#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_SAMPLE_TYPE 1908
Christopher Ferris37c3f3c2023-07-10 10:59:05 -0700109#define SOF_TKN_CAVS_AUDIO_FORMAT_INPUT_PIN_INDEX 1909
Christopher Ferris7447a1c2022-10-04 18:24:44 -0700110#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_RATE 1930
111#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_BIT_DEPTH 1931
Christopher Ferris37c3f3c2023-07-10 10:59:05 -0700112#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_VALID_BIT_DEPTH 1932
Christopher Ferris7447a1c2022-10-04 18:24:44 -0700113#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CHANNELS 1933
114#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CH_MAP 1934
115#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CH_CFG 1935
116#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_INTERLEAVING_STYLE 1936
117#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_FMT_CFG 1937
118#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_SAMPLE_TYPE 1938
Christopher Ferris37c3f3c2023-07-10 10:59:05 -0700119#define SOF_TKN_CAVS_AUDIO_FORMAT_OUTPUT_PIN_INDEX 1939
Christopher Ferris7447a1c2022-10-04 18:24:44 -0700120#define SOF_TKN_CAVS_AUDIO_FORMAT_IBS 1970
121#define SOF_TKN_CAVS_AUDIO_FORMAT_OBS 1971
122#define SOF_TKN_CAVS_AUDIO_FORMAT_DMA_BUFFER_SIZE 1972
123#define SOF_TKN_INTEL_COPIER_NODE_TYPE 1980
Christopher Ferris37c3f3c2023-07-10 10:59:05 -0700124#define SOF_TKN_INTEL_COPIER_DEEP_BUFFER_DMA_MS 1981
Christopher Ferris8b7fdc92023-02-21 13:36:32 -0800125#define SOF_TKN_AMD_ACPI2S_RATE 1700
126#define SOF_TKN_AMD_ACPI2S_CH 1701
127#define SOF_TKN_AMD_ACPI2S_TDM_MODE 1702
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -0700128#endif