Kconfig 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. default m if SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=m
  12. default y if SND_ATMEL_SOC_SSC_PDC=y || (SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=y)
  13. config SND_ATMEL_SOC_SSC_PDC
  14. tristate
  15. config SND_ATMEL_SOC_DMA
  16. tristate
  17. select SND_SOC_GENERIC_DMAENGINE_PCM
  18. default m if SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=m
  19. default y if SND_ATMEL_SOC_SSC_DMA=y || (SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=y)
  20. config SND_ATMEL_SOC_SSC_DMA
  21. tristate
  22. config SND_ATMEL_SOC_SSC
  23. tristate
  24. default y if SND_ATMEL_SOC_SSC_DMA=y || SND_ATMEL_SOC_SSC_PDC=y
  25. default m if SND_ATMEL_SOC_SSC_DMA=m || SND_ATMEL_SOC_SSC_PDC=m
  26. config SND_AT91_SOC_SAM9G20_WM8731
  27. tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
  28. depends on ARCH_AT91 || COMPILE_TEST
  29. depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
  30. select SND_ATMEL_SOC_SSC_PDC
  31. select SND_SOC_WM8731
  32. help
  33. Say Y if you want to add support for SoC audio on WM8731-based
  34. AT91sam9g20 evaluation board.
  35. config SND_ATMEL_SOC_WM8904
  36. tristate "Atmel ASoC driver for boards using WM8904 codec"
  37. depends on ARCH_AT91 || COMPILE_TEST
  38. depends on ATMEL_SSC && I2C
  39. select SND_ATMEL_SOC_SSC_DMA
  40. select SND_SOC_WM8904
  41. help
  42. Say Y if you want to add support for Atmel ASoC driver for boards using
  43. WM8904 codec.
  44. config SND_AT91_SOC_SAM9X5_WM8731
  45. tristate "SoC Audio support for WM8731-based at91sam9x5 board"
  46. depends on ARCH_AT91 || COMPILE_TEST
  47. depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
  48. select SND_ATMEL_SOC_SSC_DMA
  49. select SND_SOC_WM8731
  50. help
  51. Say Y if you want to add support for audio SoC on an
  52. at91sam9x5 based board that is using WM8731 codec.
  53. config SND_ATMEL_SOC_CLASSD
  54. tristate "Atmel ASoC driver for boards using CLASSD"
  55. depends on ARCH_AT91 || COMPILE_TEST
  56. select SND_ATMEL_SOC_DMA
  57. select REGMAP_MMIO
  58. help
  59. Say Y if you want to add support for Atmel ASoC driver for boards using
  60. CLASSD.
  61. endif