| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | config SND_SOC_INTEL_SST_TOPLEVEL |
| 2 | bool "Intel ASoC SST drivers" |
| 3 | default y |
| 4 | depends on X86 || COMPILE_TEST |
| 5 | select SND_SOC_INTEL_MACH |
| 6 | help |
| 7 | Intel ASoC SST Platform Drivers. If you have a Intel machine that |
| 8 | has an audio controller with a DSP and I2S or DMIC port, then |
| 9 | enable this option by saying Y |
| 10 | |
| 11 | Note that the answer to this question doesn't directly affect the |
| 12 | kernel: saying N will just cause the configurator to skip all |
| 13 | the questions about Intel SST drivers. |
| 14 | |
| 15 | if SND_SOC_INTEL_SST_TOPLEVEL |
| 16 | |
| 17 | config SND_SST_IPC |
| 18 | tristate |
| 19 | # This option controls the IPC core for HiFi2 platforms |
| 20 | |
| 21 | config SND_SST_IPC_PCI |
| 22 | tristate |
| 23 | select SND_SST_IPC |
| 24 | # This option controls the PCI-based IPC for HiFi2 platforms |
| 25 | # (Medfield, Merrifield). |
| 26 | |
| 27 | config SND_SST_IPC_ACPI |
| 28 | tristate |
| 29 | select SND_SST_IPC |
| 30 | # This option controls the ACPI-based IPC for HiFi2 platforms |
| 31 | # (Baytrail, Cherrytrail) |
| 32 | |
| 33 | config SND_SOC_INTEL_SST_ACPI |
| 34 | tristate |
| 35 | # This option controls ACPI-based probing on |
| 36 | # Haswell/Broadwell/Baytrail legacy and will be set |
| 37 | # when these platforms are enabled |
| 38 | |
| 39 | config SND_SOC_INTEL_SST |
| 40 | tristate |
| 41 | |
| 42 | config SND_SOC_INTEL_SST_FIRMWARE |
| 43 | tristate |
| 44 | select DW_DMAC_CORE |
| 45 | # This option controls firmware download on |
| 46 | # Haswell/Broadwell/Baytrail legacy and will be set |
| 47 | # when these platforms are enabled |
| 48 | |
| 49 | config SND_SOC_INTEL_HASWELL |
| 50 | tristate "Haswell/Broadwell Platforms" |
| 51 | depends on SND_DMA_SGBUF |
| 52 | depends on DMADEVICES && ACPI |
| 53 | select SND_SOC_INTEL_SST |
| 54 | select SND_SOC_INTEL_SST_ACPI |
| 55 | select SND_SOC_INTEL_SST_FIRMWARE |
| 56 | select SND_SOC_ACPI_INTEL_MATCH |
| 57 | help |
| 58 | If you have a Intel Haswell or Broadwell platform connected to |
| 59 | an I2S codec, then enable this option by saying Y or m. This is |
| 60 | typically used for Chromebooks. This is a recommended option. |
| 61 | |
| 62 | config SND_SOC_INTEL_BAYTRAIL |
| 63 | tristate "Baytrail (legacy) Platforms" |
| 64 | depends on DMADEVICES && ACPI && SND_SST_ATOM_HIFI2_PLATFORM=n |
| 65 | select SND_SOC_INTEL_SST |
| 66 | select SND_SOC_INTEL_SST_ACPI |
| 67 | select SND_SOC_INTEL_SST_FIRMWARE |
| 68 | select SND_SOC_ACPI_INTEL_MATCH |
| 69 | help |
| 70 | If you have a Intel Baytrail platform connected to an I2S codec, |
| 71 | then enable this option by saying Y or m. This was typically used |
| 72 | for Baytrail Chromebooks but this option is now deprecated and is |
| 73 | not recommended, use SND_SST_ATOM_HIFI2_PLATFORM instead. |
| 74 | |
| 75 | config SND_SST_ATOM_HIFI2_PLATFORM |
| 76 | tristate |
| 77 | select SND_SOC_COMPRESS |
| 78 | |
| 79 | config SND_SST_ATOM_HIFI2_PLATFORM_PCI |
| 80 | tristate "PCI HiFi2 (Merrifield) Platforms" |
| 81 | depends on X86 && PCI |
| 82 | select SND_SST_IPC_PCI |
| 83 | select SND_SST_ATOM_HIFI2_PLATFORM |
| 84 | help |
| 85 | If you have a Intel Merrifield/Edison platform, then |
| 86 | enable this option by saying Y or m. Distros will typically not |
| 87 | enable this option: while Merrifield/Edison can run a mainline |
| 88 | kernel with limited functionality it will require a firmware file |
| 89 | which is not in the standard firmware tree |
| 90 | |
| 91 | config SND_SST_ATOM_HIFI2_PLATFORM_ACPI |
| 92 | tristate "ACPI HiFi2 (Baytrail, Cherrytrail) Platforms" |
| 93 | default ACPI |
| 94 | depends on X86 && ACPI |
| 95 | select SND_SST_IPC_ACPI |
| 96 | select SND_SST_ATOM_HIFI2_PLATFORM |
| 97 | select SND_SOC_ACPI_INTEL_MATCH |
| 98 | select IOSF_MBI |
| 99 | help |
| 100 | If you have a Intel Baytrail or Cherrytrail platform with an I2S |
| 101 | codec, then enable this option by saying Y or m. This is a |
| 102 | recommended option |
| 103 | |
| 104 | config SND_SOC_INTEL_SKYLAKE_SSP_CLK |
| 105 | tristate |
| 106 | |
| 107 | config SND_SOC_INTEL_SKYLAKE |
| 108 | tristate "SKL/BXT/KBL/GLK/CNL... Platforms" |
| 109 | depends on PCI && ACPI |
| 110 | select SND_HDA_EXT_CORE |
| 111 | select SND_HDA_DSP_LOADER |
| 112 | select SND_SOC_TOPOLOGY |
| 113 | select SND_SOC_INTEL_SST |
| 114 | select SND_SOC_ACPI_INTEL_MATCH |
| 115 | help |
| 116 | If you have a Intel Skylake/Broxton/ApolloLake/KabyLake/ |
| 117 | GeminiLake or CannonLake platform with the DSP enabled in the BIOS |
| 118 | then enable this option by saying Y or m. |
| 119 | |
| 120 | config SND_SOC_ACPI_INTEL_MATCH |
| 121 | tristate |
| 122 | select SND_SOC_ACPI if ACPI |
| 123 | # this option controls the compilation of ACPI matching tables and |
| 124 | # helpers and is not meant to be selected by the user. |
| 125 | |
| 126 | endif ## SND_SOC_INTEL_SST_TOPLEVEL |
| 127 | |
| 128 | # ASoC codec drivers |
| 129 | source "sound/soc/intel/boards/Kconfig" |