Kconfig 4.5 KB

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