Kconfig 6.4 KB

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