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