Commit | Line | Data |
---|---|---|
579e8eac | 1 | config SND_BF5XX_I2S |
d2aae47f | 2 | tristate "SoC I2S Audio for the ADI Blackfin chip" |
2caf6a1f | 3 | depends on BLACKFIN |
d2aae47f SJ |
4 | select SND_BF5XX_SOC_SPORT if !BF60x |
5 | select SND_BF6XX_SOC_SPORT if BF60x | |
579e8eac CC |
6 | help |
7 | Say Y or M if you want to add support for codecs attached to | |
8 | the Blackfin SPORT (synchronous serial ports) interface in I2S | |
9 | mode (supports single stereo In/Out). | |
10 | You will also need to select the audio interfaces to support below. | |
11 | ||
12 | config SND_BF5XX_SOC_SSM2602 | |
f62ae7bd | 13 | tristate "SoC SSM2602 Audio Codec Add-On Card support" |
4d1e46b7 | 14 | depends on SND_BF5XX_I2S && (SPI_MASTER || I2C) |
f62ae7bd SJ |
15 | select SND_BF5XX_SOC_I2S if !BF60x |
16 | select SND_BF6XX_SOC_I2S if BF60x | |
579e8eac | 17 | select SND_SOC_SSM2602 |
579e8eac | 18 | help |
f62ae7bd SJ |
19 | Say Y if you want to add support for the Analog Devices |
20 | SSM2602 Audio Codec Add-On Card. | |
579e8eac | 21 | |
53a93d58 LPC |
22 | config SND_SOC_BFIN_EVAL_ADAU1701 |
23 | tristate "Support for the EVAL-ADAU1701MINIZ board on Blackfin eval boards" | |
24 | depends on SND_BF5XX_I2S | |
25 | select SND_BF5XX_SOC_I2S | |
26 | select SND_SOC_ADAU1701 | |
27 | select I2C | |
28 | help | |
29 | Say Y if you want to add support for the Analog Devices EVAL-ADAU1701MINIZ | |
30 | board connected to one of the Blackfin evaluation boards like the | |
31 | BF5XX-STAMP or BF5XX-EZKIT. | |
32 | ||
f049ffb3 LPC |
33 | config SND_SOC_BFIN_EVAL_ADAU1373 |
34 | tristate "Support for the EVAL-ADAU1373 board on Blackfin eval boards" | |
35 | depends on SND_BF5XX_I2S && I2C | |
36 | select SND_BF5XX_SOC_I2S | |
37 | select SND_SOC_ADAU1373 | |
38 | help | |
39 | Say Y if you want to add support for the Analog Devices EVAL-ADAU1373 | |
40 | board connected to one of the Blackfin evaluation boards like the | |
41 | BF5XX-STAMP or BF5XX-EZKIT. | |
42 | ||
43 | Note: This driver assumes that first ADAU1373 DAI is connected to the | |
44 | first SPORT port on the BF5XX board. | |
45 | ||
aef05294 LPC |
46 | config SND_SOC_BFIN_EVAL_ADAV80X |
47 | tristate "Support for the EVAL-ADAV80X boards on Blackfin eval boards" | |
48 | depends on SND_BF5XX_I2S && (SPI_MASTER || I2C) | |
49 | select SND_BF5XX_SOC_I2S | |
50 | select SND_SOC_ADAV80X | |
51 | help | |
52 | Say Y if you want to add support for the Analog Devices EVAL-ADAV801 or | |
53 | EVAL-ADAV803 board connected to one of the Blackfin evaluation boards | |
54 | like the BF5XX-STAMP or BF5XX-EZKIT. | |
55 | ||
56 | Note: This driver assumes that the ADAV80X digital record and playback | |
57 | interfaces are connected to the first SPORT port on the BF5XX board. | |
58 | ||
34f40955 LPC |
59 | config SND_BF5XX_SOC_AD1836 |
60 | tristate "SoC AD1836 Audio support for BF5xx" | |
61 | depends on SND_BF5XX_I2S | |
62 | select SND_BF5XX_SOC_I2S | |
63 | select SND_SOC_AD1836 | |
64 | help | |
65 | Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT. | |
66 | ||
b8854632 LPC |
67 | config SND_BF5XX_SOC_AD193X |
68 | tristate "SoC AD193X Audio support for Blackfin" | |
69 | depends on SND_BF5XX_I2S | |
70 | select SND_BF5XX_SOC_I2S | |
71 | select SND_SOC_AD193X | |
72 | help | |
73 | Say Y if you want to add support for AD193X codec on Blackfin. | |
74 | This driver supports AD1936, AD1937, AD1938 and AD1939. | |
75 | ||
5564b14b CC |
76 | config SND_BF5XX_SOC_AD73311 |
77 | tristate "SoC AD73311 Audio support for Blackfin" | |
78 | depends on SND_BF5XX_I2S | |
79 | select SND_BF5XX_SOC_I2S | |
80 | select SND_SOC_AD73311 | |
81 | help | |
82 | Say Y if you want to add support for AD73311 codec on Blackfin. | |
83 | ||
84 | config SND_BFIN_AD73311_SE | |
85 | int "PF pin for AD73311L Chip Select" | |
86 | depends on SND_BF5XX_SOC_AD73311 | |
87 | default 4 | |
88 | help | |
89 | Enter the GPIO used to control AD73311's SE pin. Acceptable | |
90 | values are 0 to 7 | |
91 | ||
df1246d8 BS |
92 | config SND_BF5XX_TDM |
93 | tristate "SoC I2S(TDM mode) Audio for the ADI BF5xx chip" | |
94 | depends on (BLACKFIN && SND_SOC) | |
91056acb | 95 | select SND_BF5XX_SOC_SPORT |
df1246d8 BS |
96 | help |
97 | Say Y or M if you want to add support for codecs attached to | |
98 | the Blackfin SPORT (synchronous serial ports) interface in TDM | |
99 | mode. | |
100 | You will also need to select the audio interfaces to support below. | |
101 | ||
579e8eac CC |
102 | config SND_BF5XX_AC97 |
103 | tristate "SoC AC97 Audio for the ADI BF5xx chip" | |
2caf6a1f | 104 | depends on BLACKFIN |
91056acb BS |
105 | select AC97_BUS |
106 | select SND_SOC_AC97_BUS | |
107 | select SND_BF5XX_SOC_SPORT | |
108 | select SND_BF5XX_SOC_AC97 | |
579e8eac CC |
109 | help |
110 | Say Y or M if you want to add support for codecs attached to | |
111 | the Blackfin SPORT (synchronous serial ports) interface in slot 16 | |
112 | mode (pseudo AC97 interface). | |
113 | You will also need to select the audio interfaces to support below. | |
114 | ||
115 | Note: | |
692105b8 | 116 | AC97 codecs which do not implement the slot-16 mode will not function |
579e8eac CC |
117 | properly with this driver. This driver is known to work with the |
118 | Analog Devices line of AC97 codecs. | |
119 | ||
67f854b9 | 120 | config SND_BF5XX_MMAP_SUPPORT |
579e8eac CC |
121 | bool "Enable MMAP Support" |
122 | depends on SND_BF5XX_AC97 | |
123 | default y | |
124 | help | |
125 | Say y if you want AC97 driver to support mmap mode. | |
126 | We introduce an intermediate buffer to simulate mmap. | |
127 | ||
67f854b9 CC |
128 | config SND_BF5XX_MULTICHAN_SUPPORT |
129 | bool "Enable Multichannel Support" | |
130 | depends on SND_BF5XX_AC97 | |
131 | default n | |
132 | help | |
133 | Say y if you want AC97 driver to support up to 5.1 channel audio. | |
134 | this mode will consume much more memory for DMA. | |
135 | ||
df1246d8 BS |
136 | config SND_BF5XX_HAVE_COLD_RESET |
137 | bool "BOARD has COLD Reset GPIO" | |
138 | depends on SND_BF5XX_AC97 | |
139 | default y if BFIN548_EZKIT | |
140 | default n if !BFIN548_EZKIT | |
141 | ||
142 | config SND_BF5XX_RESET_GPIO_NUM | |
143 | int "Set a GPIO for cold reset" | |
144 | depends on SND_BF5XX_HAVE_COLD_RESET | |
145 | range 0 159 | |
146 | default 19 if BFIN548_EZKIT | |
147 | default 5 if BFIN537_STAMP | |
148 | default 0 | |
149 | help | |
150 | Set the correct GPIO for RESET the sound chip. | |
151 | ||
152 | config SND_BF5XX_SOC_AD1980 | |
2e2211a3 | 153 | tristate "SoC AD1980/1 Audio support for BF5xx (Obsolete)" |
df1246d8 BS |
154 | depends on SND_BF5XX_AC97 |
155 | select SND_BF5XX_SOC_AC97 | |
156 | select SND_SOC_AD1980 | |
157 | help | |
158 | Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT. | |
159 | ||
2e2211a3 SZ |
160 | Warning: |
161 | Because Analog Devices Inc. discontinued the ad1980 sound chip since | |
162 | Sep. 2009, this ad1980 driver is not maintained, tested and supported | |
163 | by ADI now. | |
164 | ||
579e8eac CC |
165 | config SND_BF5XX_SOC_SPORT |
166 | tristate | |
67f854b9 | 167 | |
d2aae47f SJ |
168 | config SND_BF6XX_SOC_SPORT |
169 | tristate | |
170 | ||
579e8eac CC |
171 | config SND_BF5XX_SOC_I2S |
172 | tristate | |
579e8eac | 173 | |
f62ae7bd SJ |
174 | config SND_BF6XX_SOC_I2S |
175 | tristate | |
176 | ||
01e2ab20 BS |
177 | config SND_BF5XX_SOC_TDM |
178 | tristate | |
01e2ab20 | 179 | |
579e8eac CC |
180 | config SND_BF5XX_SOC_AC97 |
181 | tristate | |
579e8eac | 182 | |
579e8eac CC |
183 | config SND_BF5XX_SPORT_NUM |
184 | int "Set a SPORT for Sound chip" | |
d2aae47f | 185 | depends on (SND_BF5XX_SOC_SPORT || SND_BF6XX_SOC_SPORT) |
579e8eac | 186 | range 0 3 if BF54x |
a11311d7 | 187 | range 0 1 if !BF54x |
579e8eac CC |
188 | default 0 |
189 | help | |
190 | Set the correct SPORT for sound chip. |