Kconfig 2.4 KB

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