Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menuconfig SND_SOC_INTEL_MACH
0003         bool "Intel Machine drivers"
0004         depends on SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
0005         help
0006          Intel ASoC Machine Drivers. If you have a Intel machine that
0007          has an audio controller with a DSP and I2S or DMIC port, then
0008          enable this option by saying Y
0009 
0010          Note that the answer to this question doesn't directly affect the
0011          kernel: saying N will just cause the configurator to skip all
0012          the questions about Intel ASoC machine drivers.
0013 
0014 if SND_SOC_INTEL_MACH
0015 
0016 config SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES
0017         bool "Use more user friendly long card names"
0018         help
0019           Some drivers report the I/O configuration to userspace through the
0020           soundcard's long card name in the control user space AP. An unfortunate
0021           side effect is that this long name may also be used by the GUI,
0022           confusing users with information they don't need.
0023           This option prevents the long name from being modified, and the I/O
0024           configuration will be provided through a different component interface.
0025           Select Y if userspace like UCM (Use Case Manager) uses the component
0026           interface.
0027           If unsure select N.
0028 
0029 config SND_SOC_INTEL_HDA_DSP_COMMON
0030         tristate
0031 
0032 config SND_SOC_INTEL_SOF_MAXIM_COMMON
0033         tristate
0034 
0035 config SND_SOC_INTEL_SOF_REALTEK_COMMON
0036         tristate
0037 
0038 config SND_SOC_INTEL_SOF_CIRRUS_COMMON
0039         tristate
0040 
0041 if SND_SOC_INTEL_CATPT
0042 
0043 config SND_SOC_INTEL_HASWELL_MACH
0044         tristate "Haswell with RT5640 I2S codec"
0045         depends on I2C
0046         depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
0047         depends on X86_INTEL_LPSS || COMPILE_TEST
0048         select SND_SOC_RT5640
0049         help
0050           This adds support for the Lynxpoint Audio DSP on Intel(R) Haswell
0051           Ultrabook platforms. This is a recommended option.
0052           Say Y or m if you have such a device.
0053           If unsure select "N".
0054 
0055 endif ## SND_SOC_INTEL_CATPT
0056 
0057 if SND_SOC_INTEL_CATPT || SND_SOC_SOF_BROADWELL
0058 
0059 config SND_SOC_INTEL_BDW_RT5650_MACH
0060         tristate "Broadwell with RT5650 codec"
0061         depends on I2C
0062         depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
0063         depends on X86_INTEL_LPSS || COMPILE_TEST
0064         select SND_SOC_RT5645
0065         help
0066           This adds the ASoC machine driver for Intel Broadwell platforms with
0067           the RT5650 codec.
0068           Say Y if you have such a device.
0069           If unsure select "N".
0070 
0071 config SND_SOC_INTEL_BDW_RT5677_MACH
0072         tristate "Broadwell with RT5677 codec"
0073         depends on I2C
0074         depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
0075         depends on GPIOLIB || COMPILE_TEST
0076         depends on X86_INTEL_LPSS || COMPILE_TEST
0077         depends on SPI_MASTER
0078         select SPI_PXA2XX
0079         select SND_SOC_RT5677_SPI
0080         select SND_SOC_RT5677
0081         help
0082           This adds support for Intel Broadwell platform based boards with
0083           the RT5677 audio codec. This is a recommended option.
0084           Say Y or m if you have such a device.
0085           If unsure select "N".
0086 
0087 config SND_SOC_INTEL_BROADWELL_MACH
0088         tristate "Broadwell with RT286 I2S codec"
0089         depends on I2C
0090         depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
0091         depends on X86_INTEL_LPSS || COMPILE_TEST
0092         select SND_SOC_RT286
0093         help
0094           This adds support for the Wilcatpoint Audio DSP on Intel(R) Broadwell
0095           Ultrabook platforms.
0096           Say Y or m if you have such a device. This is a recommended option.
0097           If unsure select "N".
0098 endif ## SND_SOC_INTEL_CATPT || SND_SOC_SOF_BROADWELL
0099 
0100 if SND_SST_ATOM_HIFI2_PLATFORM || SND_SOC_SOF_BAYTRAIL
0101 
0102 config SND_SOC_INTEL_BYTCR_RT5640_MACH
0103         tristate "Baytrail and Baytrail-CR with RT5640 codec"
0104         depends on I2C && ACPI
0105         depends on X86_INTEL_LPSS || COMPILE_TEST
0106         depends on GPIOLIB || COMPILE_TEST
0107         select SND_SOC_ACPI
0108         select SND_SOC_RT5640
0109         help
0110           This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
0111           platforms with RT5640 audio codec.
0112           Say Y or m if you have such a device. This is a recommended option.
0113           If unsure select "N".
0114 
0115 config SND_SOC_INTEL_BYTCR_RT5651_MACH
0116         tristate "Baytrail and Baytrail-CR with RT5651 codec"
0117         depends on I2C && ACPI
0118         depends on X86_INTEL_LPSS || COMPILE_TEST
0119         depends on GPIOLIB || COMPILE_TEST
0120         select SND_SOC_ACPI
0121         select SND_SOC_RT5651
0122         help
0123           This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
0124           platforms with RT5651 audio codec.
0125           Say Y or m if you have such a device. This is a recommended option.
0126           If unsure select "N".
0127 
0128 config SND_SOC_INTEL_BYTCR_WM5102_MACH
0129         tristate "Baytrail and Baytrail-CR with WM5102 codec"
0130         depends on MFD_ARIZONA && MFD_WM5102 && SPI_MASTER && ACPI
0131         depends on X86_INTEL_LPSS || COMPILE_TEST
0132         depends on GPIOLIB || COMPILE_TEST
0133         select SND_SOC_ACPI
0134         select SND_SOC_WM5102
0135         help
0136           This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
0137           platforms with WM5102 audio codec.
0138           Say Y if you have such a device.
0139           If unsure select "N".
0140 
0141 config SND_SOC_INTEL_CHT_BSW_RT5672_MACH
0142         tristate "Cherrytrail & Braswell with RT5672 codec"
0143         depends on I2C && ACPI
0144         depends on X86_INTEL_LPSS || COMPILE_TEST
0145         depends on GPIOLIB || COMPILE_TEST
0146         select SND_SOC_ACPI
0147         select SND_SOC_RT5670
0148         help
0149           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
0150           platforms with RT5672 audio codec.
0151           Say Y or m if you have such a device. This is a recommended option.
0152           If unsure select "N".
0153 
0154 config SND_SOC_INTEL_CHT_BSW_RT5645_MACH
0155         tristate "Cherrytrail & Braswell with RT5645/5650 codec"
0156         depends on I2C && ACPI
0157         depends on X86_INTEL_LPSS || COMPILE_TEST
0158         select SND_SOC_ACPI
0159         select SND_SOC_RT5645
0160         help
0161           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
0162           platforms with RT5645/5650 audio codec.
0163           Say Y or m if you have such a device. This is a recommended option.
0164           If unsure select "N".
0165 
0166 config SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH
0167         tristate "Cherrytrail & Braswell with MAX98090 & TI codec"
0168         depends on I2C && ACPI
0169         depends on X86_INTEL_LPSS || COMPILE_TEST
0170         depends on GPIOLIB || COMPILE_TEST
0171         select SND_SOC_MAX98090
0172         select SND_SOC_TS3A227E
0173         help
0174           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
0175           platforms with MAX98090 audio codec it also can support TI jack chip as aux device.
0176           Say Y or m if you have such a device. This is a recommended option.
0177           If unsure select "N".
0178 
0179 config SND_SOC_INTEL_CHT_BSW_NAU8824_MACH
0180         tristate "Cherrytrail & Braswell with NAU88L24 codec"
0181         depends on I2C && ACPI
0182         depends on X86_INTEL_LPSS || COMPILE_TEST
0183         select SND_SOC_ACPI
0184         select SND_SOC_NAU8824
0185         help
0186           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
0187           platforms with NAU88L24 audio codec.
0188           Say Y or m if you have such a device. This is a recommended option.
0189           If unsure select "N".
0190 
0191 config SND_SOC_INTEL_BYT_CHT_CX2072X_MACH
0192         tristate "Baytrail & Cherrytrail with CX2072X codec"
0193         depends on I2C && ACPI
0194         depends on X86_INTEL_LPSS || COMPILE_TEST
0195         depends on GPIOLIB || COMPILE_TEST
0196         select SND_SOC_ACPI
0197         select SND_SOC_CX2072X
0198         help
0199           This adds support for ASoC machine driver for Intel(R) Baytrail &
0200           Cherrytrail platforms with Conexant CX2072X audio codec.
0201           Say Y or m if you have such a device. This is a recommended option.
0202           If unsure select "N".
0203 
0204 config SND_SOC_INTEL_BYT_CHT_DA7213_MACH
0205         tristate "Baytrail & Cherrytrail with DA7212/7213 codec"
0206         depends on I2C && ACPI
0207         depends on X86_INTEL_LPSS || COMPILE_TEST
0208         select SND_SOC_ACPI
0209         select SND_SOC_DA7213
0210         help
0211           This adds support for ASoC machine driver for Intel(R) Baytrail & CherryTrail
0212           platforms with DA7212/7213 audio codec.
0213           Say Y or m if you have such a device. This is a recommended option.
0214           If unsure select "N".
0215 
0216 config SND_SOC_INTEL_BYT_CHT_ES8316_MACH
0217         tristate "Baytrail & Cherrytrail with ES8316 codec"
0218         depends on I2C && ACPI
0219         depends on X86_INTEL_LPSS || COMPILE_TEST
0220         depends on GPIOLIB || COMPILE_TEST
0221         select SND_SOC_ACPI
0222         select SND_SOC_ES8316
0223         help
0224           This adds support for ASoC machine driver for Intel(R) Baytrail &
0225           Cherrytrail platforms with ES8316 audio codec.
0226           Say Y or m if you have such a device. This is a recommended option.
0227           If unsure select "N".
0228 
0229 endif ## SND_SST_ATOM_HIFI2_PLATFORM || SND_SOC_SOF_BAYTRAIL
0230 
0231 if SND_SST_ATOM_HIFI2_PLATFORM
0232 
0233 config SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH
0234         tristate "Baytrail & Cherrytrail platform with no codec (MinnowBoard MAX, Up)"
0235         depends on I2C && ACPI
0236         depends on X86_INTEL_LPSS || COMPILE_TEST
0237         help
0238           This adds support for ASoC machine driver for the MinnowBoard Max or
0239           Up boards and provides access to I2S signals on the Low-Speed
0240           connector. This is not a recommended option outside of these cases.
0241           It is not intended to be enabled by distros by default.
0242           Say Y or m if you have such a device.
0243 
0244           If unsure select "N".
0245 
0246 endif ## SND_SST_ATOM_HIFI2_PLATFORM
0247 
0248 if SND_SOC_INTEL_SKL
0249 
0250 config SND_SOC_INTEL_SKL_RT286_MACH
0251         tristate "SKL with RT286 I2S mode"
0252         depends on I2C && ACPI
0253         depends on MFD_INTEL_LPSS || COMPILE_TEST
0254         select SND_SOC_RT286
0255         select SND_SOC_DMIC
0256         select SND_SOC_HDAC_HDMI
0257         help
0258            This adds support for ASoC machine driver for Skylake platforms
0259            with RT286 I2S audio codec.
0260            Say Y or m if you have such a device.
0261            If unsure select "N".
0262 
0263 config SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH
0264         tristate "SKL with NAU88L25 and SSM4567 in I2S Mode"
0265         depends on I2C && ACPI
0266         depends on MFD_INTEL_LPSS || COMPILE_TEST
0267         select SND_SOC_NAU8825
0268         select SND_SOC_SSM4567
0269         select SND_SOC_DMIC
0270         select SND_SOC_HDAC_HDMI
0271         help
0272           This adds support for ASoC Onboard Codec I2S machine driver. This will
0273           create an alsa sound card for NAU88L25 + SSM4567.
0274           Say Y or m if you have such a device. This is a recommended option.
0275           If unsure select "N".
0276 
0277 config SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH
0278         tristate "SKL with NAU88L25 and MAX98357A in I2S Mode"
0279         depends on I2C && ACPI
0280         depends on MFD_INTEL_LPSS || COMPILE_TEST
0281         select SND_SOC_NAU8825
0282         select SND_SOC_MAX98357A
0283         select SND_SOC_DMIC
0284         select SND_SOC_HDAC_HDMI
0285         help
0286           This adds support for ASoC Onboard Codec I2S machine driver. This will
0287           create an alsa sound card for NAU88L25 + MAX98357A.
0288           Say Y or m if you have such a device. This is a recommended option.
0289           If unsure select "N".
0290 
0291 endif ## SND_SOC_INTEL_SKL
0292 
0293 config SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
0294         tristate
0295         select SND_SOC_DA7219
0296         select SND_SOC_MAX98357A
0297         select SND_SOC_MAX98390
0298         select SND_SOC_DMIC
0299         select SND_SOC_HDAC_HDMI
0300         select SND_SOC_INTEL_HDA_DSP_COMMON
0301 
0302 config SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
0303         tristate
0304         select SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
0305 
0306 if SND_SOC_INTEL_APL
0307 
0308 config SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH
0309         tristate "Broxton with DA7219 and MAX98357A/MAX98390 in I2S Mode"
0310         depends on I2C && ACPI
0311         depends on MFD_INTEL_LPSS || COMPILE_TEST
0312         depends on SND_HDA_CODEC_HDMI
0313         select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
0314         help
0315            This adds support for ASoC machine driver for Broxton-P platforms
0316            with DA7219 + MAX98357A/MAX98390 I2S audio codec.
0317            Say Y or m if you have such a device. This is a recommended option.
0318            If unsure select "N".
0319 
0320 config SND_SOC_INTEL_BXT_RT298_MACH
0321         tristate "Broxton with RT298 I2S mode"
0322         depends on I2C && ACPI
0323         depends on MFD_INTEL_LPSS || COMPILE_TEST
0324         select SND_SOC_RT298
0325         select SND_SOC_DMIC
0326         select SND_SOC_HDAC_HDMI
0327         select SND_SOC_INTEL_HDA_DSP_COMMON
0328         help
0329            This adds support for ASoC machine driver for Broxton platforms
0330            with RT286 I2S audio codec.
0331            Say Y or m if you have such a device. This is a recommended option.
0332            If unsure select "N".
0333 
0334 endif ## SND_SOC_INTEL_APL
0335 
0336 if SND_SOC_SOF_APOLLOLAKE
0337 
0338 config SND_SOC_INTEL_SOF_WM8804_MACH
0339         tristate "SOF with Wolfson/Cirrus WM8804 codec"
0340         depends on I2C && ACPI
0341         depends on MFD_INTEL_LPSS || COMPILE_TEST
0342         depends on GPIOLIB || COMPILE_TEST
0343         select SND_SOC_WM8804_I2C
0344         help
0345           This adds support for ASoC machine driver for Intel platforms
0346           with the Wolfson/Cirrus WM8804 I2S audio codec.
0347           Say Y or m if you have such a device. This is a recommended option.
0348           If unsure select "N".
0349 
0350 endif ## SND_SOC_SOF_APOLLOLAKE
0351 
0352 if SND_SOC_INTEL_KBL
0353 
0354 config SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH
0355         tristate "KBL with RT5663 and MAX98927 in I2S Mode"
0356         depends on I2C && ACPI
0357         depends on MFD_INTEL_LPSS || COMPILE_TEST
0358         select SND_SOC_RT5663
0359         select SND_SOC_MAX98927
0360         select SND_SOC_DMIC
0361         select SND_SOC_HDAC_HDMI
0362         select SND_SOC_INTEL_SKYLAKE_SSP_CLK
0363         help
0364           This adds support for ASoC Onboard Codec I2S machine driver. This will
0365           create an alsa sound card for RT5663 + MAX98927.
0366           Say Y or m if you have such a device. This is a recommended option.
0367           If unsure select "N".
0368 
0369 config SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH
0370         tristate "KBL with RT5663, RT5514 and MAX98927 in I2S Mode"
0371         depends on I2C && ACPI
0372         depends on MFD_INTEL_LPSS || COMPILE_TEST
0373         depends on SPI
0374         select SND_SOC_RT5663
0375         select SND_SOC_RT5514
0376         select SND_SOC_RT5514_SPI
0377         select SND_SOC_MAX98927
0378         select SND_SOC_HDAC_HDMI
0379         select SND_SOC_INTEL_SKYLAKE_SSP_CLK
0380         help
0381           This adds support for ASoC Onboard Codec I2S machine driver. This will
0382           create an alsa sound card for RT5663 + RT5514 + MAX98927.
0383           Say Y or m if you have such a device. This is a recommended option.
0384           If unsure select "N".
0385 
0386 config SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH
0387         tristate "KBL with DA7219 and MAX98357A in I2S Mode"
0388         depends on I2C && ACPI
0389         depends on MFD_INTEL_LPSS || COMPILE_TEST
0390         select SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
0391         help
0392           This adds support for ASoC Onboard Codec I2S machine driver. This will
0393           create an alsa sound card for DA7219 + MAX98357A I2S audio codec.
0394           Say Y if you have such a device.
0395 
0396 config SND_SOC_INTEL_KBL_DA7219_MAX98927_MACH
0397         tristate "KBL with DA7219 and MAX98927 in I2S Mode"
0398         depends on I2C && ACPI
0399         depends on MFD_INTEL_LPSS || COMPILE_TEST
0400         select SND_SOC_DA7219
0401         select SND_SOC_MAX98927
0402         select SND_SOC_MAX98373_I2C
0403         select SND_SOC_DMIC
0404         select SND_SOC_HDAC_HDMI
0405         help
0406           This adds support for ASoC Onboard Codec I2S machine driver. This will
0407           create an alsa sound card for DA7219 + MAX98927 I2S audio codec.
0408           Say Y if you have such a device.
0409           If unsure select "N".
0410 
0411 config SND_SOC_INTEL_KBL_RT5660_MACH
0412         tristate "KBL with RT5660 in I2S Mode"
0413         depends on I2C && ACPI
0414         depends on MFD_INTEL_LPSS || COMPILE_TEST
0415         depends on GPIOLIB || COMPILE_TEST
0416         select SND_SOC_RT5660
0417         select SND_SOC_HDAC_HDMI
0418         help
0419           This adds support for ASoC Onboard Codec I2S machine driver. This will
0420           create an alsa sound card for RT5660 I2S audio codec.
0421           Say Y if you have such a device.
0422 
0423 endif ## SND_SOC_INTEL_KBL
0424 
0425 if SND_SOC_SOF_GEMINILAKE
0426 
0427 config SND_SOC_INTEL_GLK_DA7219_MAX98357A_MACH
0428         tristate "GLK with DA7219 and MAX98357A in I2S Mode"
0429         depends on I2C && ACPI
0430         depends on MFD_INTEL_LPSS || COMPILE_TEST
0431         depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
0432         select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
0433         help
0434            This adds support for ASoC machine driver for Geminilake platforms
0435            with DA7219 + MAX98357A I2S audio codec.
0436            Say Y or m if you have such a device. This is a recommended option.
0437            If unsure select "N".
0438 
0439 config SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH
0440         tristate "GLK with RT5682 and MAX98357A in I2S Mode"
0441         depends on I2C && ACPI
0442         depends on MFD_INTEL_LPSS || COMPILE_TEST
0443         depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
0444         select SND_SOC_RT5682_I2C
0445         select SND_SOC_RT5682S
0446         select SND_SOC_MAX98357A
0447         select SND_SOC_DMIC
0448         select SND_SOC_HDAC_HDMI
0449         select SND_SOC_INTEL_HDA_DSP_COMMON
0450         help
0451            This adds support for ASoC machine driver for Geminilake platforms
0452            with RT5682 + MAX98357A I2S audio codec.
0453            Say Y if you have such a device.
0454            If unsure select "N".
0455 
0456 endif ## SND_SOC_SOF_GEMINILAKE
0457 
0458 if SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
0459 
0460 config SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH
0461         tristate "Skylake+ with HDA Codecs"
0462         depends on SND_HDA_CODEC_HDMI
0463         select SND_SOC_HDAC_HDMI
0464         select SND_SOC_INTEL_HDA_DSP_COMMON
0465         select SND_SOC_DMIC
0466         # SND_SOC_HDAC_HDA is already selected
0467         help
0468           This adds support for ASoC machine driver for Intel Skylake+
0469           platforms with display (HDMI/DP) and HDA audio codecs, and
0470           Smart Sound Technology (SST) integrated audio DSP.
0471           Say Y or m if you have such a device. This is a recommended option.
0472           If unsure select "N".
0473 
0474 endif ## SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
0475 
0476 if SND_SOC_SOF_HDA_LINK || SND_SOC_SOF_BAYTRAIL
0477 config SND_SOC_INTEL_SOF_RT5682_MACH
0478         tristate "SOF with rt5682 codec in I2S Mode"
0479         depends on I2C && ACPI
0480         depends on ((SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC) &&\
0481                     (MFD_INTEL_LPSS || COMPILE_TEST)) ||\
0482                    (SND_SOC_SOF_BAYTRAIL && (X86_INTEL_LPSS || COMPILE_TEST))
0483         select SND_SOC_MAX98373_I2C
0484         select SND_SOC_MAX98390
0485         select SND_SOC_RT1011
0486         select SND_SOC_RT1015
0487         select SND_SOC_RT1015P
0488         select SND_SOC_RT5682_I2C
0489         select SND_SOC_RT5682S
0490         select SND_SOC_DMIC
0491         select SND_SOC_HDAC_HDMI
0492         select SND_SOC_INTEL_HDA_DSP_COMMON
0493         select SND_SOC_INTEL_SOF_MAXIM_COMMON
0494         select SND_SOC_INTEL_SOF_REALTEK_COMMON
0495         help
0496            This adds support for ASoC machine driver for SOF platforms
0497            with rt5682 codec.
0498            Say Y if you have such a device.
0499            If unsure select "N".
0500 
0501 config SND_SOC_INTEL_SOF_CS42L42_MACH
0502         tristate "SOF with cs42l42 codec in I2S Mode"
0503         depends on I2C && ACPI
0504         depends on ((SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC) &&\
0505                     (MFD_INTEL_LPSS || COMPILE_TEST))
0506         select SND_SOC_CS42L42
0507         select SND_SOC_MAX98357A
0508         select SND_SOC_DMIC
0509         select SND_SOC_HDAC_HDMI
0510         select SND_SOC_INTEL_HDA_DSP_COMMON
0511         select SND_SOC_INTEL_SOF_MAXIM_COMMON
0512         help
0513            This adds support for ASoC machine driver for SOF platforms
0514            with cs42l42 codec.
0515            Say Y if you have such a device.
0516            If unsure select "N".
0517 
0518 config SND_SOC_INTEL_SOF_PCM512x_MACH
0519         tristate "SOF with TI PCM512x codec"
0520         depends on I2C && ACPI
0521         depends on (SND_SOC_SOF_HDA_AUDIO_CODEC && (MFD_INTEL_LPSS || COMPILE_TEST)) ||\
0522                    (SND_SOC_SOF_BAYTRAIL && (X86_INTEL_LPSS || COMPILE_TEST))
0523         depends on SND_HDA_CODEC_HDMI
0524         select SND_SOC_INTEL_HDA_DSP_COMMON
0525         select SND_SOC_PCM512x_I2C
0526         help
0527           This adds support for ASoC machine driver for SOF platforms
0528           with TI PCM512x I2S audio codec.
0529           Say Y or m if you have such a device.
0530           If unsure select "N".
0531 
0532 config SND_SOC_INTEL_SOF_ES8336_MACH
0533         tristate "SOF with ES8336 or ES8326 codec in I2S mode"
0534         depends on I2C && ACPI
0535         depends on MFD_INTEL_LPSS || COMPILE_TEST
0536         depends on GPIOLIB || COMPILE_TEST
0537         depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
0538         select SND_SOC_ES8316
0539         select SND_SOC_ES8326
0540         select SND_SOC_DMIC
0541         select SND_SOC_INTEL_HDA_DSP_COMMON
0542         help
0543            This adds support for ASoC machine driver for SOF platforms
0544            with es8336 codec.
0545            Say Y if you have such a device.
0546            If unsure select "N".
0547 
0548 config SND_SOC_INTEL_SOF_NAU8825_MACH
0549         tristate "SOF with nau8825 codec in I2S Mode"
0550         depends on I2C && ACPI
0551         depends on ((SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC) &&\
0552                     (MFD_INTEL_LPSS || COMPILE_TEST))
0553         select SND_SOC_NAU8825
0554         select SND_SOC_RT1015P
0555         select SND_SOC_MAX98373_I2C
0556         select SND_SOC_MAX98357A
0557         select SND_SOC_DMIC
0558         select SND_SOC_HDAC_HDMI
0559         select SND_SOC_INTEL_HDA_DSP_COMMON
0560         select SND_SOC_INTEL_SOF_MAXIM_COMMON
0561         help
0562            This adds support for ASoC machine driver for SOF platforms
0563            with nau8825 codec.
0564            Say Y if you have such a device.
0565            If unsure select "N".
0566 
0567 endif ## SND_SOC_SOF_HDA_LINK || SND_SOC_SOF_BAYTRAIL
0568 
0569 if (SND_SOC_SOF_COMETLAKE && SND_SOC_SOF_HDA_LINK)
0570 
0571 config SND_SOC_INTEL_CML_LP_DA7219_MAX98357A_MACH
0572         tristate "CML_LP with DA7219 and MAX98357A in I2S Mode"
0573         depends on I2C && ACPI
0574         depends on MFD_INTEL_LPSS || COMPILE_TEST
0575         select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
0576         help
0577            This adds support for ASoC machine driver for Cometlake platforms
0578            with DA7219 + MAX98357A I2S audio codec.
0579            Say Y or m if you have such a device. This is a recommended option.
0580            If unsure select "N".
0581 
0582 config SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH
0583         tristate "CML with RT1011 and RT5682 in I2S Mode"
0584         depends on I2C && ACPI
0585         depends on MFD_INTEL_LPSS || COMPILE_TEST
0586         depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
0587         select SND_SOC_RT1011
0588         select SND_SOC_RT5682_I2C
0589         select SND_SOC_DMIC
0590         select SND_SOC_HDAC_HDMI
0591         select SND_SOC_INTEL_HDA_DSP_COMMON
0592         help
0593           This adds support for ASoC machine driver for SOF platform with
0594           RT1011 + RT5682 I2S codec.
0595           Say Y if you have such a device.
0596           If unsure select "N".
0597 
0598 endif ## SND_SOC_SOF_COMETLAKE && SND_SOC_SOF_HDA_LINK
0599 
0600 if SND_SOC_SOF_JASPERLAKE
0601 
0602 config SND_SOC_INTEL_SOF_DA7219_MAX98373_MACH
0603         tristate "SOF with DA7219 and MAX98373/MAX98360A in I2S Mode"
0604         depends on I2C && ACPI
0605         depends on MFD_INTEL_LPSS || COMPILE_TEST
0606         depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
0607         select SND_SOC_INTEL_HDA_DSP_COMMON
0608         select SND_SOC_DA7219
0609         select SND_SOC_MAX98373_I2C
0610         select SND_SOC_DMIC
0611         help
0612           This adds support for ASoC machine driver for SOF platforms
0613           with DA7219 + MAX98373/MAX98360A I2S audio codec.
0614           Say Y if you have such a device.
0615           If unsure select "N".
0616 
0617 endif ## SND_SOC_SOF_JASPERLAKE
0618 
0619 if SND_SOC_SOF_HDA_LINK
0620 
0621 config SND_SOC_INTEL_SOF_SSP_AMP_MACH
0622         tristate "SOF with amplifiers in I2S Mode"
0623         depends on I2C && ACPI
0624         depends on MFD_INTEL_LPSS || COMPILE_TEST
0625         select SND_SOC_RT1308
0626         select SND_SOC_CS35L41_I2C
0627         select SND_SOC_DMIC
0628         select SND_SOC_HDAC_HDMI
0629         select SND_SOC_INTEL_HDA_DSP_COMMON
0630         select SND_SOC_INTEL_SOF_REALTEK_COMMON
0631         select SND_SOC_INTEL_SOF_CIRRUS_COMMON
0632         help
0633            This adds support for ASoC machine driver for SOF platforms
0634            with RT1308/CS35L41 I2S audio codec.
0635            Say Y if you have such a device.
0636            If unsure select "N".
0637 endif ## SND_SOC_SOF_HDA_LINK
0638 
0639 if SND_SOC_SOF_ELKHARTLAKE
0640 
0641 config SND_SOC_INTEL_EHL_RT5660_MACH
0642         tristate "EHL with RT5660 in I2S mode"
0643         depends on I2C && ACPI
0644         depends on MFD_INTEL_LPSS || COMPILE_TEST
0645         depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
0646         select SND_SOC_RT5660
0647         select SND_SOC_DMIC
0648         select SND_SOC_INTEL_HDA_DSP_COMMON
0649         help
0650           This adds support for ASoC machine driver for Elkhart Lake
0651           platform with RT5660 I2S audio codec.
0652 
0653 endif ## SND_SOC_SOF_ELKHARTLAKE
0654 
0655 if SND_SOC_SOF_INTEL_SOUNDWIRE
0656 
0657 config SND_SOC_INTEL_SOUNDWIRE_SOF_MACH
0658         tristate "SoundWire generic machine driver"
0659         depends on I2C && ACPI
0660         depends on MFD_INTEL_LPSS || COMPILE_TEST
0661         depends on SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES || COMPILE_TEST
0662         depends on SOUNDWIRE
0663         select SND_SOC_MAX98373_I2C
0664         select SND_SOC_MAX98373_SDW
0665         select SND_SOC_RT700_SDW
0666         select SND_SOC_RT711_SDW
0667         select SND_SOC_RT711_SDCA_SDW
0668         select SND_SOC_RT1308_SDW
0669         select SND_SOC_RT1308
0670         select SND_SOC_RT1316_SDW
0671         select SND_SOC_RT715_SDW
0672         select SND_SOC_RT715_SDCA_SDW
0673         select SND_SOC_RT5682_SDW
0674         select SND_SOC_DMIC
0675         select SND_SOC_INTEL_HDA_DSP_COMMON
0676         select SND_SOC_INTEL_SOF_MAXIM_COMMON
0677         imply SND_SOC_SDW_MOCKUP
0678         help
0679           Add support for Intel SoundWire-based platforms connected to
0680           MAX98373, RT700, RT711, RT1308 and RT715
0681           If unsure select "N".
0682 
0683 endif
0684 
0685 endif ## SND_SOC_INTEL_MACH