forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/sound/soc/intel/boards/Kconfig
....@@ -1,22 +1,38 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menuconfig SND_SOC_INTEL_MACH
23 bool "Intel Machine drivers"
3
- depends on SND_SOC_INTEL_SST_TOPLEVEL
4
+ depends on SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
45 help
5
- Intel ASoC Machine Drivers. If you have a Intel machine that
6
- has an audio controller with a DSP and I2S or DMIC port, then
7
- enable this option by saying Y
6
+ Intel ASoC Machine Drivers. If you have a Intel machine that
7
+ has an audio controller with a DSP and I2S or DMIC port, then
8
+ enable this option by saying Y
89
9
- Note that the answer to this question doesn't directly affect the
10
- kernel: saying N will just cause the configurator to skip all
11
- the questions about Intel ASoC machine drivers.
10
+ Note that the answer to this question doesn't directly affect the
11
+ kernel: saying N will just cause the configurator to skip all
12
+ the questions about Intel ASoC machine drivers.
1213
1314 if SND_SOC_INTEL_MACH
1415
15
-if SND_SOC_INTEL_HASWELL
16
+config SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES
17
+ bool "Use more user friendly long card names"
18
+ help
19
+ Some drivers report the I/O configuration to userspace through the
20
+ soundcard's long card name in the control user space AP. An unfortunate
21
+ side effect is that this long name may also be used by the GUI,
22
+ confusing users with information they don't need.
23
+ This option prevents the long name from being modified, and the I/O
24
+ configuration will be provided through a different component interface.
25
+ Select Y if userspace like UCM (Use Case Manager) uses the component
26
+ interface.
27
+ If unsure select N.
28
+
29
+if SND_SOC_INTEL_CATPT
1630
1731 config SND_SOC_INTEL_HASWELL_MACH
1832 tristate "Haswell Lynxpoint"
19
- depends on X86_INTEL_LPSS && I2C && I2C_DESIGNWARE_PLATFORM
33
+ depends on I2C
34
+ depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
35
+ depends on X86_INTEL_LPSS || COMPILE_TEST
2036 select SND_SOC_RT5640
2137 help
2238 This adds support for the Lynxpoint Audio DSP on Intel(R) Haswell
....@@ -24,9 +40,31 @@
2440 Say Y or m if you have such a device.
2541 If unsure select "N".
2642
43
+endif ## SND_SOC_INTEL_CATPT
44
+
45
+if SND_SOC_INTEL_CATPT || SND_SOC_SOF_BROADWELL
46
+
47
+config SND_SOC_INTEL_BDW_RT5650_MACH
48
+ tristate "Broadwell with RT5650 codec"
49
+ depends on I2C
50
+ depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
51
+ depends on X86_INTEL_LPSS || COMPILE_TEST
52
+ select SND_SOC_RT5645
53
+ help
54
+ This adds the ASoC machine driver for Intel Broadwell platforms with
55
+ the RT5650 codec.
56
+ Say Y if you have such a device.
57
+ If unsure select "N".
58
+
2759 config SND_SOC_INTEL_BDW_RT5677_MACH
2860 tristate "Broadwell with RT5677 codec"
29
- depends on X86_INTEL_LPSS && I2C && I2C_DESIGNWARE_PLATFORM && GPIOLIB
61
+ depends on I2C
62
+ depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
63
+ depends on GPIOLIB || COMPILE_TEST
64
+ depends on X86_INTEL_LPSS || COMPILE_TEST
65
+ depends on SPI_MASTER
66
+ select SPI_PXA2XX
67
+ select SND_SOC_RT5677_SPI
3068 select SND_SOC_RT5677
3169 help
3270 This adds support for Intel Broadwell platform based boards with
....@@ -36,43 +74,23 @@
3674
3775 config SND_SOC_INTEL_BROADWELL_MACH
3876 tristate "Broadwell Wildcatpoint"
39
- depends on X86_INTEL_LPSS && I2C && I2C_DESIGNWARE_PLATFORM
77
+ depends on I2C
78
+ depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
79
+ depends on X86_INTEL_LPSS || COMPILE_TEST
4080 select SND_SOC_RT286
4181 help
4282 This adds support for the Wilcatpoint Audio DSP on Intel(R) Broadwell
4383 Ultrabook platforms.
4484 Say Y or m if you have such a device. This is a recommended option.
4585 If unsure select "N".
46
-endif ## SND_SOC_INTEL_HASWELL
86
+endif ## SND_SOC_INTEL_CATPT || SND_SOC_SOF_BROADWELL
4787
48
-if SND_SOC_INTEL_BAYTRAIL
49
-
50
-config SND_SOC_INTEL_BYT_MAX98090_MACH
51
- tristate "Baytrail with MAX98090 codec"
52
- depends on X86_INTEL_LPSS && I2C
53
- select SND_SOC_MAX98090
54
- help
55
- This adds audio driver for Intel Baytrail platform based boards
56
- with the MAX98090 audio codec. This driver is deprecated, use
57
- SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH instead for better
58
- functionality.
59
-
60
-config SND_SOC_INTEL_BYT_RT5640_MACH
61
- tristate "Baytrail with RT5640 codec"
62
- depends on X86_INTEL_LPSS && I2C
63
- select SND_SOC_RT5640
64
- help
65
- This adds audio driver for Intel Baytrail platform based boards
66
- with the RT5640 audio codec. This driver is deprecated, use
67
- SND_SOC_INTEL_BYTCR_RT5640_MACH instead for better functionality.
68
-
69
-endif ## SND_SOC_INTEL_BAYTRAIL
70
-
71
-if SND_SST_ATOM_HIFI2_PLATFORM
88
+if SND_SST_ATOM_HIFI2_PLATFORM || SND_SOC_SOF_BAYTRAIL
7289
7390 config SND_SOC_INTEL_BYTCR_RT5640_MACH
7491 tristate "Baytrail and Baytrail-CR with RT5640 codec"
75
- depends on X86_INTEL_LPSS && I2C && ACPI
92
+ depends on I2C && ACPI
93
+ depends on X86_INTEL_LPSS || COMPILE_TEST
7694 select SND_SOC_ACPI
7795 select SND_SOC_RT5640
7896 help
....@@ -83,7 +101,8 @@
83101
84102 config SND_SOC_INTEL_BYTCR_RT5651_MACH
85103 tristate "Baytrail and Baytrail-CR with RT5651 codec"
86
- depends on X86_INTEL_LPSS && I2C && ACPI
104
+ depends on I2C && ACPI
105
+ depends on X86_INTEL_LPSS || COMPILE_TEST
87106 select SND_SOC_ACPI
88107 select SND_SOC_RT5651
89108 help
....@@ -94,18 +113,20 @@
94113
95114 config SND_SOC_INTEL_CHT_BSW_RT5672_MACH
96115 tristate "Cherrytrail & Braswell with RT5672 codec"
97
- depends on X86_INTEL_LPSS && I2C && ACPI
116
+ depends on I2C && ACPI
117
+ depends on X86_INTEL_LPSS || COMPILE_TEST
98118 select SND_SOC_ACPI
99119 select SND_SOC_RT5670
100
- help
101
- This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
102
- platforms with RT5672 audio codec.
103
- Say Y or m if you have such a device. This is a recommended option.
104
- If unsure select "N".
120
+ help
121
+ This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
122
+ platforms with RT5672 audio codec.
123
+ Say Y or m if you have such a device. This is a recommended option.
124
+ If unsure select "N".
105125
106126 config SND_SOC_INTEL_CHT_BSW_RT5645_MACH
107127 tristate "Cherrytrail & Braswell with RT5645/5650 codec"
108
- depends on X86_INTEL_LPSS && I2C && ACPI
128
+ depends on I2C && ACPI
129
+ depends on X86_INTEL_LPSS || COMPILE_TEST
109130 select SND_SOC_ACPI
110131 select SND_SOC_RT5645
111132 help
....@@ -116,7 +137,8 @@
116137
117138 config SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH
118139 tristate "Cherrytrail & Braswell with MAX98090 & TI codec"
119
- depends on X86_INTEL_LPSS && I2C && ACPI
140
+ depends on I2C && ACPI
141
+ depends on X86_INTEL_LPSS || COMPILE_TEST
120142 select SND_SOC_MAX98090
121143 select SND_SOC_TS3A227E
122144 help
....@@ -127,7 +149,8 @@
127149
128150 config SND_SOC_INTEL_CHT_BSW_NAU8824_MACH
129151 tristate "Cherrytrail & Braswell with NAU88L24 codec"
130
- depends on X86_INTEL_LPSS && I2C && ACPI
152
+ depends on I2C && ACPI
153
+ depends on X86_INTEL_LPSS || COMPILE_TEST
131154 select SND_SOC_ACPI
132155 select SND_SOC_NAU8824
133156 help
....@@ -136,9 +159,22 @@
136159 Say Y or m if you have such a device. This is a recommended option.
137160 If unsure select "N".
138161
162
+config SND_SOC_INTEL_BYT_CHT_CX2072X_MACH
163
+ tristate "Baytrail & Cherrytrail with CX2072X codec"
164
+ depends on I2C && ACPI
165
+ depends on X86_INTEL_LPSS || COMPILE_TEST
166
+ select SND_SOC_ACPI
167
+ select SND_SOC_CX2072X
168
+ help
169
+ This adds support for ASoC machine driver for Intel(R) Baytrail &
170
+ Cherrytrail platforms with Conexant CX2072X audio codec.
171
+ Say Y or m if you have such a device. This is a recommended option.
172
+ If unsure select "N".
173
+
139174 config SND_SOC_INTEL_BYT_CHT_DA7213_MACH
140175 tristate "Baytrail & Cherrytrail with DA7212/7213 codec"
141
- depends on X86_INTEL_LPSS && I2C && ACPI
176
+ depends on I2C && ACPI
177
+ depends on X86_INTEL_LPSS || COMPILE_TEST
142178 select SND_SOC_ACPI
143179 select SND_SOC_DA7213
144180 help
....@@ -149,7 +185,8 @@
149185
150186 config SND_SOC_INTEL_BYT_CHT_ES8316_MACH
151187 tristate "Baytrail & Cherrytrail with ES8316 codec"
152
- depends on X86_INTEL_LPSS && I2C && ACPI
188
+ depends on I2C && ACPI
189
+ depends on X86_INTEL_LPSS || COMPILE_TEST
153190 select SND_SOC_ACPI
154191 select SND_SOC_ES8316
155192 help
....@@ -158,9 +195,14 @@
158195 Say Y or m if you have such a device. This is a recommended option.
159196 If unsure select "N".
160197
198
+endif ## SND_SST_ATOM_HIFI2_PLATFORM || SND_SOC_SOF_BAYTRAIL
199
+
200
+if SND_SST_ATOM_HIFI2_PLATFORM
201
+
161202 config SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH
162203 tristate "Baytrail & Cherrytrail platform with no codec (MinnowBoard MAX, Up)"
163
- depends on X86_INTEL_LPSS && I2C && ACPI
204
+ depends on I2C && ACPI
205
+ depends on X86_INTEL_LPSS || COMPILE_TEST
164206 help
165207 This adds support for ASoC machine driver for the MinnowBoard Max or
166208 Up boards and provides access to I2S signals on the Low-Speed
....@@ -172,11 +214,12 @@
172214
173215 endif ## SND_SST_ATOM_HIFI2_PLATFORM
174216
175
-if SND_SOC_INTEL_SKYLAKE
217
+if SND_SOC_INTEL_SKL
176218
177219 config SND_SOC_INTEL_SKL_RT286_MACH
178220 tristate "SKL with RT286 I2S mode"
179
- depends on MFD_INTEL_LPSS && I2C && ACPI
221
+ depends on I2C && ACPI && GPIOLIB
222
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
180223 select SND_SOC_RT286
181224 select SND_SOC_DMIC
182225 select SND_SOC_HDAC_HDMI
....@@ -188,7 +231,8 @@
188231
189232 config SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH
190233 tristate "SKL with NAU88L25 and SSM4567 in I2S Mode"
191
- depends on MFD_INTEL_LPSS && I2C && ACPI
234
+ depends on I2C && ACPI && GPIOLIB
235
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
192236 select SND_SOC_NAU8825
193237 select SND_SOC_SSM4567
194238 select SND_SOC_DMIC
....@@ -201,7 +245,8 @@
201245
202246 config SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH
203247 tristate "SKL with NAU88L25 and MAX98357A in I2S Mode"
204
- depends on MFD_INTEL_LPSS && I2C && ACPI
248
+ depends on I2C && ACPI && GPIOLIB
249
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
205250 select SND_SOC_NAU8825
206251 select SND_SOC_MAX98357A
207252 select SND_SOC_DMIC
....@@ -212,36 +257,70 @@
212257 Say Y or m if you have such a device. This is a recommended option.
213258 If unsure select "N".
214259
215
-config SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH
216
- tristate "Broxton with DA7219 and MAX98357A in I2S Mode"
217
- depends on MFD_INTEL_LPSS && I2C && ACPI
260
+endif ## SND_SOC_INTEL_SKL
261
+
262
+config SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
263
+ tristate
218264 select SND_SOC_DA7219
219265 select SND_SOC_MAX98357A
266
+ select SND_SOC_MAX98390
220267 select SND_SOC_DMIC
221268 select SND_SOC_HDAC_HDMI
222
- select SND_HDA_DSP_LOADER
269
+
270
+config SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
271
+ tristate
272
+ select SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
273
+
274
+if SND_SOC_INTEL_APL
275
+
276
+config SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH
277
+ tristate "Broxton with DA7219 and MAX98357A/MAX98390 in I2S Mode"
278
+ depends on I2C && ACPI && GPIOLIB
279
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
280
+ depends on SND_HDA_CODEC_HDMI
281
+ select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
223282 help
224283 This adds support for ASoC machine driver for Broxton-P platforms
225
- with DA7219 + MAX98357A I2S audio codec.
284
+ with DA7219 + MAX98357A/MAX98390 I2S audio codec.
226285 Say Y or m if you have such a device. This is a recommended option.
227286 If unsure select "N".
228287
229288 config SND_SOC_INTEL_BXT_RT298_MACH
230289 tristate "Broxton with RT298 I2S mode"
231
- depends on MFD_INTEL_LPSS && I2C && ACPI
290
+ depends on I2C && ACPI && GPIOLIB
291
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
232292 select SND_SOC_RT298
233293 select SND_SOC_DMIC
234294 select SND_SOC_HDAC_HDMI
235
- select SND_HDA_DSP_LOADER
236295 help
237296 This adds support for ASoC machine driver for Broxton platforms
238297 with RT286 I2S audio codec.
239298 Say Y or m if you have such a device. This is a recommended option.
240299 If unsure select "N".
241300
301
+endif ## SND_SOC_INTEL_APL
302
+
303
+if SND_SOC_SOF_APOLLOLAKE
304
+
305
+config SND_SOC_INTEL_SOF_WM8804_MACH
306
+ tristate "SOF with Wolfson/Cirrus WM8804 codec"
307
+ depends on I2C && ACPI
308
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
309
+ select SND_SOC_WM8804_I2C
310
+ help
311
+ This adds support for ASoC machine driver for Intel platforms
312
+ with the Wolfson/Cirrus WM8804 I2S audio codec.
313
+ Say Y or m if you have such a device. This is a recommended option.
314
+ If unsure select "N".
315
+
316
+endif ## SND_SOC_SOF_APOLLOLAKE
317
+
318
+if SND_SOC_INTEL_KBL
319
+
242320 config SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH
243321 tristate "KBL with RT5663 and MAX98927 in I2S Mode"
244
- depends on MFD_INTEL_LPSS && I2C && ACPI
322
+ depends on I2C && ACPI && GPIOLIB
323
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
245324 select SND_SOC_RT5663
246325 select SND_SOC_MAX98927
247326 select SND_SOC_DMIC
....@@ -254,47 +333,231 @@
254333 If unsure select "N".
255334
256335 config SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH
257
- tristate "KBL with RT5663, RT5514 and MAX98927 in I2S Mode"
258
- depends on MFD_INTEL_LPSS && I2C && ACPI
259
- depends on SPI
260
- select SND_SOC_RT5663
261
- select SND_SOC_RT5514
262
- select SND_SOC_RT5514_SPI
263
- select SND_SOC_MAX98927
264
- select SND_SOC_HDAC_HDMI
265
- help
266
- This adds support for ASoC Onboard Codec I2S machine driver. This will
267
- create an alsa sound card for RT5663 + RT5514 + MAX98927.
268
- Say Y or m if you have such a device. This is a recommended option.
269
- If unsure select "N".
336
+ tristate "KBL with RT5663, RT5514 and MAX98927 in I2S Mode"
337
+ depends on I2C && ACPI
338
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
339
+ depends on SPI
340
+ select SND_SOC_RT5663
341
+ select SND_SOC_RT5514
342
+ select SND_SOC_RT5514_SPI
343
+ select SND_SOC_MAX98927
344
+ select SND_SOC_HDAC_HDMI
345
+ select SND_SOC_INTEL_SKYLAKE_SSP_CLK
346
+ help
347
+ This adds support for ASoC Onboard Codec I2S machine driver. This will
348
+ create an alsa sound card for RT5663 + RT5514 + MAX98927.
349
+ Say Y or m if you have such a device. This is a recommended option.
350
+ If unsure select "N".
270351
271352 config SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH
272353 tristate "KBL with DA7219 and MAX98357A in I2S Mode"
273
- depends on MFD_INTEL_LPSS && I2C && ACPI
274
- select SND_SOC_DA7219
275
- select SND_SOC_MAX98357A
276
- select SND_SOC_DMIC
277
- select SND_SOC_HDAC_HDMI
354
+ depends on I2C && ACPI
355
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
356
+ select SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
278357 help
279358 This adds support for ASoC Onboard Codec I2S machine driver. This will
280359 create an alsa sound card for DA7219 + MAX98357A I2S audio codec.
281360 Say Y if you have such a device.
361
+
362
+config SND_SOC_INTEL_KBL_DA7219_MAX98927_MACH
363
+ tristate "KBL with DA7219 and MAX98927 in I2S Mode"
364
+ depends on I2C && ACPI && GPIOLIB
365
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
366
+ select SND_SOC_DA7219
367
+ select SND_SOC_MAX98927
368
+ select SND_SOC_MAX98373_I2C
369
+ select SND_SOC_DMIC
370
+ select SND_SOC_HDAC_HDMI
371
+ help
372
+ This adds support for ASoC Onboard Codec I2S machine driver. This will
373
+ create an alsa sound card for DA7219 + MAX98927 I2S audio codec.
374
+ Say Y if you have such a device.
282375 If unsure select "N".
376
+
377
+config SND_SOC_INTEL_KBL_RT5660_MACH
378
+ tristate "KBL with RT5660 in I2S Mode"
379
+ depends on I2C && ACPI
380
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
381
+ select SND_SOC_RT5660
382
+ select SND_SOC_HDAC_HDMI
383
+ help
384
+ This adds support for ASoC Onboard Codec I2S machine driver. This will
385
+ create an alsa sound card for RT5660 I2S audio codec.
386
+ Say Y if you have such a device.
387
+
388
+endif ## SND_SOC_INTEL_KBL
389
+
390
+if SND_SOC_SOF_GEMINILAKE
391
+
392
+config SND_SOC_INTEL_GLK_DA7219_MAX98357A_MACH
393
+ tristate "GLK with DA7219 and MAX98357A in I2S Mode"
394
+ depends on I2C && ACPI && GPIOLIB
395
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
396
+ depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
397
+ select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
398
+ help
399
+ This adds support for ASoC machine driver for Geminilake platforms
400
+ with DA7219 + MAX98357A I2S audio codec.
401
+ Say Y or m if you have such a device. This is a recommended option.
402
+ If unsure select "N".
283403
284404 config SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH
285405 tristate "GLK with RT5682 and MAX98357A in I2S Mode"
286
- depends on MFD_INTEL_LPSS && I2C && ACPI
287
- select SND_SOC_RT5682
406
+ depends on I2C && ACPI && GPIOLIB
407
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
408
+ depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
409
+ select SND_SOC_RT5682_I2C
288410 select SND_SOC_MAX98357A
289411 select SND_SOC_DMIC
290412 select SND_SOC_HDAC_HDMI
291
- select SND_HDA_DSP_LOADER
292413 help
293414 This adds support for ASoC machine driver for Geminilake platforms
294415 with RT5682 + MAX98357A I2S audio codec.
295416 Say Y if you have such a device.
296417 If unsure select "N".
297418
298
-endif ## SND_SOC_INTEL_SKYLAKE
419
+endif ## SND_SOC_SOF_GEMINILAKE
420
+
421
+if SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
422
+
423
+config SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH
424
+ tristate "SKL/KBL/BXT/APL with HDA Codecs"
425
+ depends on SND_HDA_CODEC_HDMI
426
+ depends on GPIOLIB
427
+ select SND_SOC_HDAC_HDMI
428
+ select SND_SOC_DMIC
429
+ # SND_SOC_HDAC_HDA is already selected
430
+ help
431
+ This adds support for ASoC machine driver for Intel platforms
432
+ SKL/KBL/BXT/APL with iDisp, HDA audio codecs.
433
+ Say Y or m if you have such a device. This is a recommended option.
434
+ If unsure select "N".
435
+
436
+endif ## SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
437
+
438
+if SND_SOC_SOF_HDA_LINK || SND_SOC_SOF_BAYTRAIL
439
+config SND_SOC_INTEL_SOF_RT5682_MACH
440
+ tristate "SOF with rt5682 codec in I2S Mode"
441
+ depends on I2C && ACPI && GPIOLIB
442
+ depends on ((SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC) &&\
443
+ (MFD_INTEL_LPSS || COMPILE_TEST)) ||\
444
+ (SND_SOC_SOF_BAYTRAIL && (X86_INTEL_LPSS || COMPILE_TEST))
445
+ select SND_SOC_MAX98373_I2C
446
+ select SND_SOC_RT1015
447
+ select SND_SOC_RT5682_I2C
448
+ select SND_SOC_DMIC
449
+ select SND_SOC_HDAC_HDMI
450
+ help
451
+ This adds support for ASoC machine driver for SOF platforms
452
+ with rt5682 codec.
453
+ Say Y if you have such a device.
454
+ If unsure select "N".
455
+
456
+config SND_SOC_INTEL_SOF_PCM512x_MACH
457
+ tristate "SOF with TI PCM512x codec"
458
+ depends on I2C && ACPI
459
+ depends on (SND_SOC_SOF_HDA_AUDIO_CODEC && (MFD_INTEL_LPSS || COMPILE_TEST)) ||\
460
+ (SND_SOC_SOF_BAYTRAIL && (X86_INTEL_LPSS || COMPILE_TEST))
461
+ depends on SND_HDA_CODEC_HDMI
462
+ select SND_SOC_PCM512x_I2C
463
+ help
464
+ This adds support for ASoC machine driver for SOF platforms
465
+ with TI PCM512x I2S audio codec.
466
+ Say Y or m if you have such a device.
467
+ If unsure select "N".
468
+
469
+endif ## SND_SOC_SOF_HDA_LINK || SND_SOC_SOF_BAYTRAIL
470
+
471
+if (SND_SOC_SOF_COMETLAKE && SND_SOC_SOF_HDA_LINK)
472
+
473
+config SND_SOC_INTEL_CML_LP_DA7219_MAX98357A_MACH
474
+ tristate "CML_LP with DA7219 and MAX98357A in I2S Mode"
475
+ depends on I2C && ACPI && GPIOLIB
476
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
477
+ select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
478
+ help
479
+ This adds support for ASoC machine driver for Cometlake platforms
480
+ with DA7219 + MAX98357A I2S audio codec.
481
+ Say Y or m if you have such a device. This is a recommended option.
482
+ If unsure select "N".
483
+
484
+config SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH
485
+ tristate "CML with RT1011 and RT5682 in I2S Mode"
486
+ depends on I2C && ACPI && GPIOLIB
487
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
488
+ depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
489
+ select SND_SOC_RT1011
490
+ select SND_SOC_RT5682_I2C
491
+ select SND_SOC_DMIC
492
+ select SND_SOC_HDAC_HDMI
493
+ help
494
+ This adds support for ASoC machine driver for SOF platform with
495
+ RT1011 + RT5682 I2S codec.
496
+ Say Y if you have such a device.
497
+ If unsure select "N".
498
+
499
+endif ## SND_SOC_SOF_COMETLAKE && SND_SOC_SOF_HDA_LINK
500
+
501
+if SND_SOC_SOF_JASPERLAKE
502
+
503
+config SND_SOC_INTEL_SOF_DA7219_MAX98373_MACH
504
+ tristate "SOF with DA7219 and MAX98373/MAX98360A in I2S Mode"
505
+ depends on I2C && ACPI && GPIOLIB
506
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
507
+ depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
508
+ select SND_SOC_DA7219
509
+ select SND_SOC_MAX98373_I2C
510
+ select SND_SOC_DMIC
511
+ help
512
+ This adds support for ASoC machine driver for SOF platforms
513
+ with DA7219 + MAX98373/MAX98360A I2S audio codec.
514
+ Say Y if you have such a device.
515
+ If unsure select "N".
516
+
517
+endif ## SND_SOC_SOF_JASPERLAKE
518
+
519
+if SND_SOC_SOF_ELKHARTLAKE
520
+
521
+config SND_SOC_INTEL_EHL_RT5660_MACH
522
+ tristate "EHL with RT5660 in I2S mode"
523
+ depends on I2C && ACPI && GPIOLIB
524
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
525
+ depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
526
+ select SND_SOC_RT5660
527
+ select SND_SOC_DMIC
528
+ help
529
+ This adds support for ASoC machine driver for Elkhart Lake
530
+ platform with RT5660 I2S audio codec.
531
+
532
+endif ## SND_SOC_SOF_ELKHARTLAKE
533
+
534
+if SND_SOC_SOF_INTEL_SOUNDWIRE
535
+
536
+config SND_SOC_INTEL_SOUNDWIRE_SOF_MACH
537
+ tristate "SoundWire generic machine driver"
538
+ depends on I2C && ACPI && GPIOLIB
539
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
540
+ depends on SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES || COMPILE_TEST
541
+ depends on SOUNDWIRE
542
+ depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
543
+ select SND_SOC_MAX98373_I2C
544
+ select SND_SOC_MAX98373_SDW
545
+ select SND_SOC_RT700_SDW
546
+ select SND_SOC_RT711_SDW
547
+ select SND_SOC_RT711_SDCA_SDW
548
+ select SND_SOC_RT1308_SDW
549
+ select SND_SOC_RT1308
550
+ select SND_SOC_RT1316_SDW
551
+ select SND_SOC_RT715_SDW
552
+ select SND_SOC_RT715_SDCA_SDW
553
+ select SND_SOC_RT5682_SDW
554
+ select SND_SOC_DMIC
555
+ help
556
+ Add support for Intel SoundWire-based platforms connected to
557
+ MAX98373, RT700, RT711, RT1308 and RT715
558
+ If unsure select "N".
559
+
560
+endif
561
+
299562
300563 endif ## SND_SOC_INTEL_MACH