Kconfig 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. config SND_BF5XX_I2S
  2. tristate "SoC I2S Audio for the ADI BF5xx chip"
  3. depends on BLACKFIN
  4. help
  5. Say Y or M if you want to add support for codecs attached to
  6. the Blackfin SPORT (synchronous serial ports) interface in I2S
  7. mode (supports single stereo In/Out).
  8. You will also need to select the audio interfaces to support below.
  9. config SND_BF5XX_SOC_SSM2602
  10. tristate "SoC SSM2602 Audio support for BF52x ezkit"
  11. depends on SND_BF5XX_I2S
  12. select SND_BF5XX_SOC_I2S
  13. select SND_SOC_SSM2602
  14. select I2C
  15. help
  16. Say Y if you want to add support for SoC audio on BF527-EZKIT.
  17. config SND_BF5XX_SOC_AD73311
  18. tristate "SoC AD73311 Audio support for Blackfin"
  19. depends on SND_BF5XX_I2S
  20. select SND_BF5XX_SOC_I2S
  21. select SND_SOC_AD73311
  22. help
  23. Say Y if you want to add support for AD73311 codec on Blackfin.
  24. config SND_BFIN_AD73311_SE
  25. int "PF pin for AD73311L Chip Select"
  26. depends on SND_BF5XX_SOC_AD73311
  27. default 4
  28. help
  29. Enter the GPIO used to control AD73311's SE pin. Acceptable
  30. values are 0 to 7
  31. config SND_BF5XX_TDM
  32. tristate "SoC I2S(TDM mode) Audio for the ADI BF5xx chip"
  33. depends on (BLACKFIN && SND_SOC)
  34. help
  35. Say Y or M if you want to add support for codecs attached to
  36. the Blackfin SPORT (synchronous serial ports) interface in TDM
  37. mode.
  38. You will also need to select the audio interfaces to support below.
  39. config SND_BF5XX_SOC_AD1836
  40. tristate "SoC AD1836 Audio support for BF5xx"
  41. depends on SND_BF5XX_TDM
  42. select SND_BF5XX_SOC_TDM
  43. select SND_SOC_AD1836
  44. help
  45. Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
  46. config SND_BF5XX_SOC_AD1938
  47. tristate "SoC AD1938 Audio support for Blackfin"
  48. depends on SND_BF5XX_TDM
  49. select SND_BF5XX_SOC_TDM
  50. select SND_SOC_AD1938
  51. help
  52. Say Y if you want to add support for AD1938 codec on Blackfin.
  53. config SND_BF5XX_AC97
  54. tristate "SoC AC97 Audio for the ADI BF5xx chip"
  55. depends on BLACKFIN
  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 slot 16
  59. mode (pseudo AC97 interface).
  60. You will also need to select the audio interfaces to support below.
  61. Note:
  62. AC97 codecs which do not implement the slot-16 mode will not function
  63. properly with this driver. This driver is known to work with the
  64. Analog Devices line of AC97 codecs.
  65. config SND_BF5XX_MMAP_SUPPORT
  66. bool "Enable MMAP Support"
  67. depends on SND_BF5XX_AC97
  68. default y
  69. help
  70. Say y if you want AC97 driver to support mmap mode.
  71. We introduce an intermediate buffer to simulate mmap.
  72. config SND_BF5XX_MULTICHAN_SUPPORT
  73. bool "Enable Multichannel Support"
  74. depends on SND_BF5XX_AC97
  75. default n
  76. help
  77. Say y if you want AC97 driver to support up to 5.1 channel audio.
  78. this mode will consume much more memory for DMA.
  79. config SND_BF5XX_HAVE_COLD_RESET
  80. bool "BOARD has COLD Reset GPIO"
  81. depends on SND_BF5XX_AC97
  82. default y if BFIN548_EZKIT
  83. default n if !BFIN548_EZKIT
  84. config SND_BF5XX_RESET_GPIO_NUM
  85. int "Set a GPIO for cold reset"
  86. depends on SND_BF5XX_HAVE_COLD_RESET
  87. range 0 159
  88. default 19 if BFIN548_EZKIT
  89. default 5 if BFIN537_STAMP
  90. default 0
  91. help
  92. Set the correct GPIO for RESET the sound chip.
  93. config SND_BF5XX_SOC_AD1980
  94. tristate "SoC AD1980/1 Audio support for BF5xx"
  95. depends on SND_BF5XX_AC97
  96. select SND_BF5XX_SOC_AC97
  97. select SND_SOC_AD1980
  98. help
  99. Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
  100. config SND_BF5XX_SOC_SPORT
  101. tristate
  102. config SND_BF5XX_SOC_I2S
  103. tristate
  104. select SND_BF5XX_SOC_SPORT
  105. config SND_BF5XX_SOC_TDM
  106. tristate
  107. select SND_BF5XX_SOC_SPORT
  108. config SND_BF5XX_SOC_AC97
  109. tristate
  110. select AC97_BUS
  111. select SND_SOC_AC97_BUS
  112. select SND_BF5XX_SOC_SPORT
  113. config SND_BF5XX_SPORT_NUM
  114. int "Set a SPORT for Sound chip"
  115. depends on (SND_BF5XX_I2S || SND_BF5XX_AC97 || SND_BF5XX_TDM)
  116. range 0 3 if BF54x
  117. range 0 1 if !BF54x
  118. default 0
  119. help
  120. Set the correct SPORT for sound chip.