Kconfig 4.1 KB
Newer Older
1 2
config SND_BF5XX_I2S
	tristate "SoC I2S Audio for the ADI BF5xx chip"
3
	depends on BLACKFIN
4
	select SND_BF5XX_SOC_SPORT
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
	help
	  Say Y or M if you want to add support for codecs attached to
	  the Blackfin SPORT (synchronous serial ports) interface in I2S
	  mode (supports single stereo In/Out).
	  You will also need to select the audio interfaces to support below.

config SND_BF5XX_SOC_SSM2602
	tristate "SoC SSM2602 Audio support for BF52x ezkit"
	depends on SND_BF5XX_I2S
	select SND_BF5XX_SOC_I2S
	select SND_SOC_SSM2602
	select I2C
	help
	  Say Y if you want to add support for SoC audio on BF527-EZKIT.

20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
config SND_BF5XX_SOC_AD73311
	tristate "SoC AD73311 Audio support for Blackfin"
	depends on SND_BF5XX_I2S
	select SND_BF5XX_SOC_I2S
	select SND_SOC_AD73311
	help
	  Say Y if you want to add support for AD73311 codec on Blackfin.

config SND_BFIN_AD73311_SE
	int "PF pin for AD73311L Chip Select"
	depends on SND_BF5XX_SOC_AD73311
	default 4
	help
	  Enter the GPIO used to control AD73311's SE pin. Acceptable
	  values are 0 to 7

36 37 38
config SND_BF5XX_TDM
	tristate "SoC I2S(TDM mode) Audio for the ADI BF5xx chip"
	depends on (BLACKFIN && SND_SOC)
39
	select SND_BF5XX_SOC_SPORT
40 41 42 43 44 45 46 47 48 49 50 51 52 53
	help
	  Say Y or M if you want to add support for codecs attached to
	  the Blackfin SPORT (synchronous serial ports) interface in TDM
	  mode.
	  You will also need to select the audio interfaces to support below.

config SND_BF5XX_SOC_AD1836
	tristate "SoC AD1836 Audio support for BF5xx"
	depends on SND_BF5XX_TDM
	select SND_BF5XX_SOC_TDM
	select SND_SOC_AD1836
	help
	  Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.

54 55
config SND_BF5XX_SOC_AD193X
	tristate "SoC AD193X Audio support for Blackfin"
56 57
	depends on SND_BF5XX_TDM
	select SND_BF5XX_SOC_TDM
58
	select SND_SOC_AD193X
59
	help
60 61
	  Say Y if you want to add support for AD193X codec on Blackfin.
	  This driver supports AD1936, AD1937, AD1938 and AD1939.
62

63 64
config SND_BF5XX_AC97
	tristate "SoC AC97 Audio for the ADI BF5xx chip"
65
	depends on BLACKFIN
66 67 68 69
	select AC97_BUS
	select SND_SOC_AC97_BUS
	select SND_BF5XX_SOC_SPORT
	select SND_BF5XX_SOC_AC97
70 71 72 73 74 75 76
	help
	  Say Y or M if you want to add support for codecs attached to
	  the Blackfin SPORT (synchronous serial ports) interface in slot 16
	  mode (pseudo AC97 interface).
	  You will also need to select the audio interfaces to support below.

	  Note:
77
	  AC97 codecs which do not implement the slot-16 mode will not function
78 79 80
	  properly with this driver. This driver is known to work with the
	  Analog Devices line of AC97 codecs.

81
config SND_BF5XX_MMAP_SUPPORT
82 83 84 85 86 87 88
	bool "Enable MMAP Support"
	depends on SND_BF5XX_AC97
	default y
	help
	  Say y if you want AC97 driver to support mmap mode.
	  We introduce an intermediate buffer to simulate mmap.

89 90 91 92 93 94 95 96
config SND_BF5XX_MULTICHAN_SUPPORT
	bool "Enable Multichannel Support"
	depends on SND_BF5XX_AC97
	default n
	help
	  Say y if you want AC97 driver to support up to 5.1 channel audio.
	  this mode will consume much more memory for DMA.

97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
config SND_BF5XX_HAVE_COLD_RESET
	bool "BOARD has COLD Reset GPIO"
	depends on SND_BF5XX_AC97
	default y if BFIN548_EZKIT
	default n if !BFIN548_EZKIT

config SND_BF5XX_RESET_GPIO_NUM
	int "Set a GPIO for cold reset"
	depends on SND_BF5XX_HAVE_COLD_RESET
	range 0 159
	default 19 if BFIN548_EZKIT
	default 5 if BFIN537_STAMP
	default 0
	help
	  Set the correct GPIO for RESET the sound chip.

config SND_BF5XX_SOC_AD1980
114
	tristate "SoC AD1980/1 Audio support for BF5xx (Obsolete)"
115 116 117 118 119 120
	depends on SND_BF5XX_AC97
	select SND_BF5XX_SOC_AC97
	select SND_SOC_AD1980
	help
	  Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.

121 122 123 124 125
	  Warning:
	  Because Analog Devices Inc. discontinued the ad1980 sound chip since
	  Sep. 2009, this ad1980 driver is not maintained, tested and supported
	  by ADI now.

126 127
config SND_BF5XX_SOC_SPORT
	tristate
128

129 130 131
config SND_BF5XX_SOC_I2S
	tristate

132 133 134
config SND_BF5XX_SOC_TDM
	tristate

135 136 137 138 139
config SND_BF5XX_SOC_AC97
	tristate

config SND_BF5XX_SPORT_NUM
	int "Set a SPORT for Sound chip"
140
	depends on (SND_BF5XX_I2S || SND_BF5XX_AC97 || SND_BF5XX_TDM)
141
	range 0 3 if BF54x
142
	range 0 1 if !BF54x
143 144 145
	default 0
	help
	  Set the correct SPORT for sound chip.