]> git.karo-electronics.de Git - karo-tx-linux.git/blob - sound/soc/blackfin/Kconfig
ASoC: omap-pcm: Move omap-pcm under include/sound
[karo-tx-linux.git] / sound / soc / blackfin / Kconfig
1 config SND_BF5XX_I2S
2         tristate "SoC I2S Audio for the ADI Blackfin chip"
3         depends on BLACKFIN
4         select SND_BF5XX_SOC_SPORT if !BF60x
5         select SND_BF6XX_SOC_SPORT if BF60x
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
13         tristate "SoC SSM2602 Audio Codec Add-On Card support"
14         depends on SND_BF5XX_I2S && SND_SOC_I2C_AND_SPI
15         select SND_BF5XX_SOC_I2S if !BF60x
16         select SND_BF6XX_SOC_I2S if BF60x
17         select SND_SOC_SSM2602_SPI if SPI_MASTER
18         select SND_SOC_SSM2602_I2C if I2C
19         help
20           Say Y if you want to add support for the Analog Devices
21           SSM2602 Audio Codec Add-On Card.
22
23 config SND_SOC_BFIN_EVAL_ADAU1701
24         tristate "Support for the EVAL-ADAU1701MINIZ board on Blackfin eval boards"
25         depends on SND_BF5XX_I2S && I2C
26         select SND_BF5XX_SOC_I2S
27         select SND_SOC_ADAU1701
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
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
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 && SND_SOC_I2C_AND_SPI
49         select SND_BF5XX_SOC_I2S
50         select SND_SOC_ADAV801 if SPI_MASTER
51         select SND_SOC_ADAV803 if I2C
52         help
53           Say Y if you want to add support for the Analog Devices EVAL-ADAV801 or
54           EVAL-ADAV803 board connected to one of the Blackfin evaluation boards
55           like the BF5XX-STAMP or BF5XX-EZKIT.
56
57           Note: This driver assumes that the ADAV80X digital record and playback
58           interfaces are connected to the first SPORT port on the BF5XX board.
59
60 config SND_BF5XX_SOC_AD1836
61         tristate "SoC AD1836 Audio support for BF5xx"
62         depends on SND_BF5XX_I2S && SPI_MASTER
63         select SND_BF5XX_SOC_I2S
64         select SND_SOC_AD1836
65         help
66           Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
67
68 config SND_BF5XX_SOC_AD193X
69         tristate "SoC AD193X Audio support for Blackfin"
70         depends on SND_BF5XX_I2S && SND_SOC_I2C_AND_SPI
71         select SND_BF5XX_SOC_I2S
72         select SND_SOC_AD193X_I2C if I2C
73         select SND_SOC_AD193X_SPI if SPI_MASTER
74         help
75           Say Y if you want to add support for AD193X codec on Blackfin.
76           This driver supports AD1936, AD1937, AD1938 and AD1939.
77
78 config SND_BF5XX_SOC_AD73311
79         tristate "SoC AD73311 Audio support for Blackfin"
80         depends on SND_BF5XX_I2S
81         select SND_BF5XX_SOC_I2S
82         select SND_SOC_AD73311
83         help
84           Say Y if you want to add support for AD73311 codec on Blackfin.
85
86 config SND_BFIN_AD73311_SE
87         int "PF pin for AD73311L Chip Select"
88         depends on SND_BF5XX_SOC_AD73311
89         default 4
90         help
91           Enter the GPIO used to control AD73311's SE pin. Acceptable
92           values are 0 to 7
93
94 config SND_BF5XX_AC97
95         tristate "SoC AC97 Audio for the ADI BF5xx chip"
96         depends on BLACKFIN
97         select AC97_BUS
98         select SND_SOC_AC97_BUS
99         select SND_BF5XX_SOC_SPORT
100         select SND_BF5XX_SOC_AC97
101         help
102           Say Y or M if you want to add support for codecs attached to
103           the Blackfin SPORT (synchronous serial ports) interface in slot 16
104           mode (pseudo AC97 interface).
105           You will also need to select the audio interfaces to support below.
106
107           Note:
108           AC97 codecs which do not implement the slot-16 mode will not function
109           properly with this driver. This driver is known to work with the
110           Analog Devices line of AC97 codecs.
111
112 config SND_BF5XX_MMAP_SUPPORT
113         bool "Enable MMAP Support"
114         depends on SND_BF5XX_AC97
115         default y
116         help
117           Say y if you want AC97 driver to support mmap mode.
118           We introduce an intermediate buffer to simulate mmap.
119
120 config SND_BF5XX_MULTICHAN_SUPPORT
121         bool "Enable Multichannel Support"
122         depends on SND_BF5XX_AC97
123         default n
124         help
125           Say y if you want AC97 driver to support up to 5.1 channel audio.
126           this mode will consume much more memory for DMA.
127
128 config SND_BF5XX_HAVE_COLD_RESET
129         bool "BOARD has COLD Reset GPIO"
130         depends on SND_BF5XX_AC97
131         default y if BFIN548_EZKIT
132         default n if !BFIN548_EZKIT
133
134 config SND_BF5XX_RESET_GPIO_NUM
135         int "Set a GPIO for cold reset"
136         depends on SND_BF5XX_HAVE_COLD_RESET
137         range 0 159
138         default 19 if BFIN548_EZKIT
139         default 5 if BFIN537_STAMP
140         default 0
141         help
142           Set the correct GPIO for RESET the sound chip.
143
144 config SND_BF5XX_SOC_AD1980
145         tristate "SoC AD1980/1 Audio support for BF5xx (Obsolete)"
146         depends on SND_BF5XX_AC97
147         select SND_BF5XX_SOC_AC97
148         select SND_SOC_AD1980
149         help
150           Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
151
152           Warning:
153           Because Analog Devices Inc. discontinued the ad1980 sound chip since
154           Sep. 2009, this ad1980 driver is not maintained, tested and supported
155           by ADI now.
156
157 config SND_BF5XX_SOC_SPORT
158         tristate
159
160 config SND_BF6XX_SOC_SPORT
161         tristate
162
163 config SND_BF5XX_SOC_I2S
164         tristate
165
166 config SND_BF6XX_SOC_I2S
167         tristate
168
169 config SND_BF5XX_SOC_AC97
170         tristate
171
172 config SND_BF5XX_SPORT_NUM
173         int "Set a SPORT for Sound chip"
174         depends on (SND_BF5XX_SOC_SPORT || SND_BF6XX_SOC_SPORT)
175         range 0 3 if BF54x
176         range 0 1 if !BF54x
177         default 0
178         help
179           Set the correct SPORT for sound chip.