Kconfig 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config SND_SOC_INTEL_SST_TOPLEVEL
  3. bool "Intel ASoC SST drivers"
  4. default y
  5. depends on X86 || COMPILE_TEST
  6. select SND_SOC_INTEL_MACH
  7. help
  8. Intel ASoC SST Platform Drivers. If you have a Intel machine that
  9. has an audio controller with a DSP and I2S or DMIC port, then
  10. enable this option by saying Y
  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. if SND_SOC_INTEL_SST_TOPLEVEL
  15. config SND_SOC_INTEL_SST
  16. tristate
  17. config SND_SOC_INTEL_CATPT
  18. tristate "Haswell and Broadwell"
  19. depends on ACPI || COMPILE_TEST
  20. depends on DMADEVICES && SND_DMA_SGBUF
  21. select DW_DMAC_CORE
  22. select SND_SOC_ACPI if ACPI
  23. select WANT_DEV_COREDUMP
  24. select SND_INTEL_DSP_CONFIG
  25. help
  26. Enable support for Intel(R) Haswell and Broadwell platforms
  27. with I2S codec present. This is a recommended option.
  28. Say Y or m if you have such device.
  29. If unsure, say N.
  30. config SND_SOC_INTEL_HASWELL
  31. tristate
  32. select SND_SOC_INTEL_CATPT
  33. config SND_SST_ATOM_HIFI2_PLATFORM
  34. tristate
  35. select SND_SOC_COMPRESS
  36. config SND_SST_ATOM_HIFI2_PLATFORM_PCI
  37. tristate "PCI HiFi2 (Merrifield) Platforms"
  38. depends on X86 && PCI
  39. select SND_SST_ATOM_HIFI2_PLATFORM
  40. help
  41. If you have a Intel Merrifield/Edison platform, then
  42. enable this option by saying Y or m. Distros will typically not
  43. enable this option: while Merrifield/Edison can run a mainline
  44. kernel with limited functionality it will require a firmware file
  45. which is not in the standard firmware tree
  46. config SND_SST_ATOM_HIFI2_PLATFORM_ACPI
  47. tristate "ACPI HiFi2 (Baytrail, Cherrytrail) Platforms"
  48. default ACPI
  49. depends on X86 && ACPI && PCI
  50. select SND_SST_ATOM_HIFI2_PLATFORM
  51. select SND_SOC_ACPI_INTEL_MATCH
  52. select SND_INTEL_DSP_CONFIG
  53. select IOSF_MBI
  54. help
  55. If you have a Intel Baytrail or Cherrytrail platform with an I2S
  56. codec, then enable this option by saying Y or m. This is a
  57. recommended option
  58. This option is mutually exclusive with the SOF support on
  59. Baytrail/Cherrytrail. If you want to enable SOF on
  60. Baytrail/Cherrytrail, you need to deselect this option first.
  61. config SND_SOC_INTEL_SKYLAKE
  62. tristate "All Skylake/SST Platforms"
  63. depends on PCI && ACPI
  64. depends on COMMON_CLK
  65. select SND_SOC_INTEL_SKL
  66. select SND_SOC_INTEL_APL
  67. select SND_SOC_INTEL_KBL
  68. select SND_SOC_INTEL_GLK
  69. select SND_SOC_INTEL_CNL
  70. select SND_SOC_INTEL_CFL
  71. help
  72. This is a backwards-compatible option to select all devices
  73. supported by the Intel SST/Skylake driver. This option is no
  74. longer recommended and will be deprecated when the SOF
  75. driver is introduced. Distributions should explicitly
  76. select which platform uses this driver.
  77. config SND_SOC_INTEL_SKL
  78. tristate "Skylake Platforms"
  79. depends on PCI && ACPI
  80. depends on COMMON_CLK
  81. select SND_SOC_INTEL_SKYLAKE_FAMILY
  82. help
  83. If you have a Intel Skylake platform with the DSP enabled
  84. in the BIOS then enable this option by saying Y or m.
  85. config SND_SOC_INTEL_APL
  86. tristate "Broxton/ApolloLake Platforms"
  87. depends on PCI && ACPI
  88. depends on COMMON_CLK
  89. select SND_SOC_INTEL_SKYLAKE_FAMILY
  90. help
  91. If you have a Intel Broxton/ApolloLake platform with the DSP
  92. enabled in the BIOS then enable this option by saying Y or m.
  93. config SND_SOC_INTEL_KBL
  94. tristate "Kabylake Platforms"
  95. depends on PCI && ACPI
  96. depends on COMMON_CLK
  97. select SND_SOC_INTEL_SKYLAKE_FAMILY
  98. help
  99. If you have a Intel Kabylake platform with the DSP
  100. enabled in the BIOS then enable this option by saying Y or m.
  101. config SND_SOC_INTEL_GLK
  102. tristate "GeminiLake Platforms"
  103. depends on PCI && ACPI
  104. depends on COMMON_CLK
  105. select SND_SOC_INTEL_SKYLAKE_FAMILY
  106. help
  107. If you have a Intel GeminiLake platform with the DSP
  108. enabled in the BIOS then enable this option by saying Y or m.
  109. config SND_SOC_INTEL_CNL
  110. tristate "CannonLake/WhiskyLake Platforms"
  111. depends on PCI && ACPI
  112. depends on COMMON_CLK
  113. select SND_SOC_INTEL_SKYLAKE_FAMILY
  114. help
  115. If you have a Intel CNL/WHL platform with the DSP
  116. enabled in the BIOS then enable this option by saying Y or m.
  117. config SND_SOC_INTEL_CFL
  118. tristate "CoffeeLake Platforms"
  119. depends on PCI && ACPI
  120. depends on COMMON_CLK
  121. select SND_SOC_INTEL_SKYLAKE_FAMILY
  122. help
  123. If you have a Intel CoffeeLake platform with the DSP
  124. enabled in the BIOS then enable this option by saying Y or m.
  125. config SND_SOC_INTEL_CML_H
  126. tristate "CometLake-H Platforms"
  127. depends on PCI && ACPI
  128. depends on COMMON_CLK
  129. select SND_SOC_INTEL_SKYLAKE_FAMILY
  130. help
  131. If you have a Intel CometLake-H platform with the DSP
  132. enabled in the BIOS then enable this option by saying Y or m.
  133. config SND_SOC_INTEL_CML_LP
  134. tristate "CometLake-LP Platforms"
  135. depends on PCI && ACPI
  136. depends on COMMON_CLK
  137. select SND_SOC_INTEL_SKYLAKE_FAMILY
  138. help
  139. If you have a Intel CometLake-LP platform with the DSP
  140. enabled in the BIOS then enable this option by saying Y or m.
  141. config SND_SOC_INTEL_SKYLAKE_FAMILY
  142. tristate
  143. select SND_SOC_INTEL_SKYLAKE_COMMON
  144. if SND_SOC_INTEL_SKYLAKE_FAMILY
  145. config SND_SOC_INTEL_SKYLAKE_SSP_CLK
  146. tristate
  147. config SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC
  148. bool "HDAudio codec support"
  149. help
  150. If you have Intel Skylake or Kabylake with HDAudio codec
  151. and DMIC present then enable this option by saying Y.
  152. config SND_SOC_INTEL_SKYLAKE_COMMON
  153. tristate
  154. select SND_HDA_EXT_CORE
  155. select SND_HDA_DSP_LOADER
  156. select SND_SOC_TOPOLOGY
  157. select SND_SOC_INTEL_SST
  158. select SND_SOC_HDAC_HDA
  159. select SND_SOC_ACPI_INTEL_MATCH
  160. select SND_INTEL_DSP_CONFIG
  161. help
  162. If you have a Intel Skylake/Broxton/ApolloLake/KabyLake/
  163. GeminiLake or CannonLake platform with the DSP enabled in the BIOS
  164. then enable this option by saying Y or m.
  165. endif ## SND_SOC_INTEL_SKYLAKE_FAMILY
  166. endif ## SND_SOC_INTEL_SST_TOPLEVEL
  167. if SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
  168. config SND_SOC_ACPI_INTEL_MATCH
  169. tristate
  170. select SND_SOC_ACPI if ACPI
  171. # this option controls the compilation of ACPI matching tables and
  172. # helpers and is not meant to be selected by the user.
  173. endif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
  174. config SND_SOC_INTEL_KEEMBAY
  175. tristate "Keembay Platforms"
  176. depends on ARCH_KEEMBAY || COMPILE_TEST
  177. depends on COMMON_CLK
  178. select SND_DMAENGINE_PCM
  179. select SND_SOC_GENERIC_DMAENGINE_PCM
  180. help
  181. If you have a Intel Keembay platform then enable this option
  182. by saying Y or m.
  183. config SND_SOC_INTEL_AVS
  184. tristate "Intel AVS driver"
  185. depends on X86 || COMPILE_TEST
  186. depends on PCI
  187. depends on COMMON_CLK
  188. select SND_SOC_ACPI if ACPI
  189. select SND_SOC_TOPOLOGY
  190. select SND_SOC_HDA
  191. select SND_HDA_EXT_CORE
  192. select SND_HDA_DSP_LOADER
  193. select SND_INTEL_DSP_CONFIG
  194. select WANT_DEV_COREDUMP
  195. help
  196. Enable support for Intel(R) cAVS 1.5 platforms with DSP
  197. capabilities. This includes Skylake, Kabylake, Amberlake and
  198. Apollolake.
  199. # Machine board drivers
  200. source "sound/soc/intel/avs/boards/Kconfig"
  201. # ASoC codec drivers
  202. source "sound/soc/intel/boards/Kconfig"