Kconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. config SND_BF5XX_I2S
  2. tristate "SoC I2S Audio for the ADI BF5xx chip"
  3. depends on BLACKFIN && SND_SOC
  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. select I2C_BLACKFIN_TWI
  16. help
  17. Say Y if you want to add support for SoC audio on BF527-EZKIT.
  18. config SND_BF5XX_SOC_AD73311
  19. tristate "SoC AD73311 Audio support for Blackfin"
  20. depends on SND_BF5XX_I2S
  21. select SND_BF5XX_SOC_I2S
  22. select SND_SOC_AD73311
  23. help
  24. Say Y if you want to add support for AD73311 codec on Blackfin.
  25. config SND_BFIN_AD73311_SE
  26. int "PF pin for AD73311L Chip Select"
  27. depends on SND_BF5XX_SOC_AD73311
  28. default 4
  29. help
  30. Enter the GPIO used to control AD73311's SE pin. Acceptable
  31. values are 0 to 7
  32. config SND_BF5XX_AC97
  33. tristate "SoC AC97 Audio for the ADI BF5xx chip"
  34. depends on BLACKFIN && SND_SOC
  35. help
  36. Say Y or M if you want to add support for codecs attached to
  37. the Blackfin SPORT (synchronous serial ports) interface in slot 16
  38. mode (pseudo AC97 interface).
  39. You will also need to select the audio interfaces to support below.
  40. Note:
  41. AC97 codecs which do not implment the slot-16 mode will not function
  42. properly with this driver. This driver is known to work with the
  43. Analog Devices line of AC97 codecs.
  44. config SND_MMAP_SUPPORT
  45. bool "Enable MMAP Support"
  46. depends on SND_BF5XX_AC97
  47. default y
  48. help
  49. Say y if you want AC97 driver to support mmap mode.
  50. We introduce an intermediate buffer to simulate mmap.
  51. config SND_BF5XX_SOC_SPORT
  52. tristate
  53. config SND_BF5XX_SOC_I2S
  54. tristate
  55. select SND_BF5XX_SOC_SPORT
  56. config SND_BF5XX_SOC_AC97
  57. tristate
  58. select AC97_BUS
  59. select SND_SOC_AC97_BUS
  60. select SND_BF5XX_SOC_SPORT
  61. config SND_BF5XX_SOC_AD1980
  62. tristate "SoC AD1980/1 Audio support for BF5xx"
  63. depends on SND_BF5XX_AC97
  64. select SND_BF5XX_SOC_AC97
  65. select SND_SOC_AD1980
  66. help
  67. Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
  68. config SND_BF5XX_SPORT_NUM
  69. int "Set a SPORT for Sound chip"
  70. depends on (SND_BF5XX_I2S || SND_BF5XX_AC97)
  71. range 0 3 if BF54x
  72. range 0 1 if !BF54x
  73. default 0
  74. help
  75. Set the correct SPORT for sound chip.
  76. config SND_BF5XX_HAVE_COLD_RESET
  77. bool "BOARD has COLD Reset GPIO"
  78. depends on SND_BF5XX_AC97
  79. default y if BFIN548_EZKIT
  80. default n if !BFIN548_EZKIT
  81. config SND_BF5XX_RESET_GPIO_NUM
  82. int "Set a GPIO for cold reset"
  83. depends on SND_BF5XX_HAVE_COLD_RESET
  84. range 0 159
  85. default 19 if BFIN548_EZKIT
  86. default 5 if BFIN537_STAMP
  87. help
  88. Set the correct GPIO for RESET the sound chip.