Kconfig 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. config SND_ATMEL_SOC
  2. tristate "SoC Audio for the Atmel System-on-Chip"
  3. depends on HAS_IOMEM
  4. help
  5. Say Y or M if you want to add support for codecs attached to
  6. the ATMEL SSC interface. You will also need
  7. to select the audio interfaces to support below.
  8. if SND_ATMEL_SOC
  9. config SND_ATMEL_SOC_PDC
  10. tristate
  11. depends on HAS_DMA
  12. default m if SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=m
  13. default y if SND_ATMEL_SOC_SSC_PDC=y || (SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=y)
  14. config SND_ATMEL_SOC_SSC_PDC
  15. tristate
  16. config SND_ATMEL_SOC_DMA
  17. tristate
  18. select SND_SOC_GENERIC_DMAENGINE_PCM
  19. default m if SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=m
  20. default y if SND_ATMEL_SOC_SSC_DMA=y || (SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=y)
  21. config SND_ATMEL_SOC_SSC_DMA
  22. tristate
  23. config SND_ATMEL_SOC_SSC
  24. tristate
  25. default y if SND_ATMEL_SOC_SSC_DMA=y || SND_ATMEL_SOC_SSC_PDC=y
  26. default m if SND_ATMEL_SOC_SSC_DMA=m || SND_ATMEL_SOC_SSC_PDC=m
  27. config SND_AT91_SOC_SAM9G20_WM8731
  28. tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
  29. depends on ARCH_AT91 || COMPILE_TEST
  30. depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
  31. select SND_ATMEL_SOC_SSC_PDC
  32. select SND_SOC_WM8731
  33. help
  34. Say Y if you want to add support for SoC audio on WM8731-based
  35. AT91sam9g20 evaluation board.
  36. config SND_ATMEL_SOC_WM8904
  37. tristate "Atmel ASoC driver for boards using WM8904 codec"
  38. depends on ARCH_AT91 || COMPILE_TEST
  39. depends on ATMEL_SSC && I2C
  40. select SND_ATMEL_SOC_SSC_DMA
  41. select SND_SOC_WM8904
  42. help
  43. Say Y if you want to add support for Atmel ASoC driver for boards using
  44. WM8904 codec.
  45. config SND_AT91_SOC_SAM9X5_WM8731
  46. tristate "SoC Audio support for WM8731-based at91sam9x5 board"
  47. depends on ARCH_AT91 || COMPILE_TEST
  48. depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
  49. select SND_ATMEL_SOC_SSC_DMA
  50. select SND_SOC_WM8731
  51. help
  52. Say Y if you want to add support for audio SoC on an
  53. at91sam9x5 based board that is using WM8731 codec.
  54. config SND_ATMEL_SOC_CLASSD
  55. tristate "Atmel ASoC driver for boards using CLASSD"
  56. depends on ARCH_AT91 || COMPILE_TEST
  57. select SND_ATMEL_SOC_DMA
  58. select REGMAP_MMIO
  59. help
  60. Say Y if you want to add support for Atmel ASoC driver for boards using
  61. CLASSD.
  62. config SND_ATMEL_SOC_PDMIC
  63. tristate "Atmel ASoC driver for boards using PDMIC"
  64. depends on OF && (ARCH_AT91 || COMPILE_TEST)
  65. select SND_SOC_GENERIC_DMAENGINE_PCM
  66. select REGMAP_MMIO
  67. help
  68. Say Y if you want to add support for Atmel ASoC driver for boards using
  69. PDMIC.
  70. endif