forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/sound/soc/tegra/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config SND_SOC_TEGRA
23 tristate "SoC Audio for the Tegra System-on-Chip"
34 depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
....@@ -61,6 +62,62 @@
6162 Tegra30 I2S interface. You will also need to select the individual
6263 machine drivers to support below.
6364
65
+config SND_SOC_TEGRA210_AHUB
66
+ tristate "Tegra210 AHUB module"
67
+ depends on SND_SOC_TEGRA
68
+ help
69
+ Config to enable Audio Hub (AHUB) module, which comprises of a
70
+ switch called Audio Crossbar (AXBAR) used to configure or modify
71
+ the audio routing path between various HW accelerators present in
72
+ AHUB.
73
+ Say Y or M if you want to add support for Tegra210 AHUB module.
74
+
75
+config SND_SOC_TEGRA210_DMIC
76
+ tristate "Tegra210 DMIC module"
77
+ depends on SND_SOC_TEGRA
78
+ help
79
+ Config to enable the Digital MIC (DMIC) controller which is used
80
+ to interface with Pulse Density Modulation (PDM) input devices.
81
+ The DMIC controller implements a converter to convert PDM signals
82
+ to Pulse Code Modulation (PCM) signals. This can be viewed as a
83
+ PDM receiver.
84
+ Say Y or M if you want to add support for Tegra210 DMIC module.
85
+
86
+config SND_SOC_TEGRA210_I2S
87
+ tristate "Tegra210 I2S module"
88
+ depends on SND_SOC_TEGRA
89
+ help
90
+ Config to enable the Inter-IC Sound (I2S) Controller which
91
+ implements full-duplex and bidirectional and single direction
92
+ point-to-point serial interfaces. It can interface with I2S
93
+ compatible devices.
94
+ Say Y or M if you want to add support for Tegra210 I2S module.
95
+
96
+config SND_SOC_TEGRA186_DSPK
97
+ tristate "Tegra186 DSPK module"
98
+ depends on SND_SOC_TEGRA
99
+ help
100
+ Config to enable the Digital Speaker Controller (DSPK) which
101
+ converts the multi-bit Pulse Code Modulation (PCM) audio input to
102
+ oversampled 1-bit Pulse Density Modulation (PDM) output. From the
103
+ signal flow perspective DSPK can be viewed as a PDM transmitter
104
+ that up-samples the input to the desired sampling rate by
105
+ interpolation and then converts the oversampled PCM input to
106
+ the desired 1-bit output via Delta Sigma Modulation (DSM).
107
+ Say Y or M if you want to add support for Tegra186 DSPK module.
108
+
109
+config SND_SOC_TEGRA210_ADMAIF
110
+ tristate "Tegra210 ADMAIF module"
111
+ depends on SND_SOC_TEGRA
112
+ help
113
+ Config to enable ADMAIF which is the interface between ADMA and
114
+ Audio Hub (AHUB). Each ADMA channel that sends/receives data to/
115
+ from AHUB must interface through an ADMAIF channel. ADMA channel
116
+ sending data to AHUB pairs with an ADMAIF Tx channel, where as
117
+ ADMA channel receiving data from AHUB pairs with an ADMAIF Rx
118
+ channel. Buffer size is configurable for each ADMAIIF channel.
119
+ Say Y or M if you want to add support for Tegra210 ADMAIF module.
120
+
64121 config SND_SOC_TEGRA_RT5640
65122 tristate "SoC Audio support for Tegra boards using an RT5640 codec"
66123 depends on SND_SOC_TEGRA && I2C && GPIOLIB