Kconfig 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. config SND_BF5XX_I2S
  2. tristate "SoC I2S Audio for the ADI BF5xx chip"
  3. depends on BLACKFIN
  4. select SND_BF5XX_SOC_SPORT
  5. help
  6. Say Y or M if you want to add support for codecs attached to
  7. the Blackfin SPORT (synchronous serial ports) interface in I2S
  8. mode (supports single stereo In/Out).
  9. You will also need to select the audio interfaces to support below.
  10. config SND_BF5XX_SOC_SSM2602
  11. tristate "SoC SSM2602 Audio support for BF52x ezkit"
  12. depends on SND_BF5XX_I2S && (SPI_MASTER || I2C)
  13. select SND_BF5XX_SOC_I2S
  14. select SND_SOC_SSM2602
  15. help
  16. Say Y if you want to add support for SoC audio on BF527-EZKIT.
  17. config SND_SOC_BFIN_EVAL_ADAU1701
  18. tristate "Support for the EVAL-ADAU1701MINIZ board on Blackfin eval boards"
  19. depends on SND_BF5XX_I2S
  20. select SND_BF5XX_SOC_I2S
  21. select SND_SOC_ADAU1701
  22. select I2C
  23. help
  24. Say Y if you want to add support for the Analog Devices EVAL-ADAU1701MINIZ
  25. board connected to one of the Blackfin evaluation boards like the
  26. BF5XX-STAMP or BF5XX-EZKIT.
  27. config SND_SOC_BFIN_EVAL_ADAV80X
  28. tristate "Support for the EVAL-ADAV80X boards on Blackfin eval boards"
  29. depends on SND_BF5XX_I2S && (SPI_MASTER || I2C)
  30. select SND_BF5XX_SOC_I2S
  31. select SND_SOC_ADAV80X
  32. help
  33. Say Y if you want to add support for the Analog Devices EVAL-ADAV801 or
  34. EVAL-ADAV803 board connected to one of the Blackfin evaluation boards
  35. like the BF5XX-STAMP or BF5XX-EZKIT.
  36. Note: This driver assumes that the ADAV80X digital record and playback
  37. interfaces are connected to the first SPORT port on the BF5XX board.
  38. config SND_BF5XX_SOC_AD73311
  39. tristate "SoC AD73311 Audio support for Blackfin"
  40. depends on SND_BF5XX_I2S
  41. select SND_BF5XX_SOC_I2S
  42. select SND_SOC_AD73311
  43. help
  44. Say Y if you want to add support for AD73311 codec on Blackfin.
  45. config SND_BFIN_AD73311_SE
  46. int "PF pin for AD73311L Chip Select"
  47. depends on SND_BF5XX_SOC_AD73311
  48. default 4
  49. help
  50. Enter the GPIO used to control AD73311's SE pin. Acceptable
  51. values are 0 to 7
  52. config SND_BF5XX_TDM
  53. tristate "SoC I2S(TDM mode) Audio for the ADI BF5xx chip"
  54. depends on (BLACKFIN && SND_SOC)
  55. select SND_BF5XX_SOC_SPORT
  56. help
  57. Say Y or M if you want to add support for codecs attached to
  58. the Blackfin SPORT (synchronous serial ports) interface in TDM
  59. mode.
  60. You will also need to select the audio interfaces to support below.
  61. config SND_BF5XX_SOC_AD1836
  62. tristate "SoC AD1836 Audio support for BF5xx"
  63. depends on SND_BF5XX_TDM
  64. select SND_BF5XX_SOC_TDM
  65. select SND_SOC_AD1836
  66. help
  67. Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
  68. config SND_BF5XX_SOC_AD193X
  69. tristate "SoC AD193X Audio support for Blackfin"
  70. depends on SND_BF5XX_TDM
  71. select SND_BF5XX_SOC_TDM
  72. select SND_SOC_AD193X
  73. help
  74. Say Y if you want to add support for AD193X codec on Blackfin.
  75. This driver supports AD1936, AD1937, AD1938 and AD1939.
  76. config SND_BF5XX_AC97
  77. tristate "SoC AC97 Audio for the ADI BF5xx chip"
  78. depends on BLACKFIN
  79. select AC97_BUS
  80. select SND_SOC_AC97_BUS
  81. select SND_BF5XX_SOC_SPORT
  82. select SND_BF5XX_SOC_AC97
  83. help
  84. Say Y or M if you want to add support for codecs attached to
  85. the Blackfin SPORT (synchronous serial ports) interface in slot 16
  86. mode (pseudo AC97 interface).
  87. You will also need to select the audio interfaces to support below.
  88. Note:
  89. AC97 codecs which do not implement the slot-16 mode will not function
  90. properly with this driver. This driver is known to work with the
  91. Analog Devices line of AC97 codecs.
  92. config SND_BF5XX_MMAP_SUPPORT
  93. bool "Enable MMAP Support"
  94. depends on SND_BF5XX_AC97
  95. default y
  96. help
  97. Say y if you want AC97 driver to support mmap mode.
  98. We introduce an intermediate buffer to simulate mmap.
  99. config SND_BF5XX_MULTICHAN_SUPPORT
  100. bool "Enable Multichannel Support"
  101. depends on SND_BF5XX_AC97
  102. default n
  103. help
  104. Say y if you want AC97 driver to support up to 5.1 channel audio.
  105. this mode will consume much more memory for DMA.
  106. config SND_BF5XX_HAVE_COLD_RESET
  107. bool "BOARD has COLD Reset GPIO"
  108. depends on SND_BF5XX_AC97
  109. default y if BFIN548_EZKIT
  110. default n if !BFIN548_EZKIT
  111. config SND_BF5XX_RESET_GPIO_NUM
  112. int "Set a GPIO for cold reset"
  113. depends on SND_BF5XX_HAVE_COLD_RESET
  114. range 0 159
  115. default 19 if BFIN548_EZKIT
  116. default 5 if BFIN537_STAMP
  117. default 0
  118. help
  119. Set the correct GPIO for RESET the sound chip.
  120. config SND_BF5XX_SOC_AD1980
  121. tristate "SoC AD1980/1 Audio support for BF5xx (Obsolete)"
  122. depends on SND_BF5XX_AC97
  123. select SND_BF5XX_SOC_AC97
  124. select SND_SOC_AD1980
  125. help
  126. Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
  127. Warning:
  128. Because Analog Devices Inc. discontinued the ad1980 sound chip since
  129. Sep. 2009, this ad1980 driver is not maintained, tested and supported
  130. by ADI now.
  131. config SND_BF5XX_SOC_SPORT
  132. tristate
  133. config SND_BF5XX_SOC_I2S
  134. tristate
  135. config SND_BF5XX_SOC_TDM
  136. tristate
  137. config SND_BF5XX_SOC_AC97
  138. tristate
  139. config SND_BF5XX_SPORT_NUM
  140. int "Set a SPORT for Sound chip"
  141. depends on (SND_BF5XX_I2S || SND_BF5XX_AC97 || SND_BF5XX_TDM)
  142. range 0 3 if BF54x
  143. range 0 1 if !BF54x
  144. default 0
  145. help
  146. Set the correct SPORT for sound chip.