blob: 54f74f8cbb754a0e66aecc3953fff0c8ba63966c [file] [log] [blame]
Cliff Cai579e8ea2008-09-05 18:21:42 +08001config SND_BF5XX_I2S
Scott Jiangd2aae472012-06-20 17:00:30 -04002 tristate "SoC I2S Audio for the ADI Blackfin chip"
Takashi Iwai2caf6a12008-12-01 17:56:06 +01003 depends on BLACKFIN
Scott Jiangd2aae472012-06-20 17:00:30 -04004 select SND_BF5XX_SOC_SPORT if !BF60x
5 select SND_BF6XX_SOC_SPORT if BF60x
Cliff Cai579e8ea2008-09-05 18:21:42 +08006 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
12config SND_BF5XX_SOC_SSM2602
Scott Jiangf62ae7b2012-06-20 17:00:31 -040013 tristate "SoC SSM2602 Audio Codec Add-On Card support"
Mike Frysinger4d1e46b2011-06-16 22:24:15 -040014 depends on SND_BF5XX_I2S && (SPI_MASTER || I2C)
Scott Jiangf62ae7b2012-06-20 17:00:31 -040015 select SND_BF5XX_SOC_I2S if !BF60x
16 select SND_BF6XX_SOC_I2S if BF60x
Cliff Cai579e8ea2008-09-05 18:21:42 +080017 select SND_SOC_SSM2602
Cliff Cai579e8ea2008-09-05 18:21:42 +080018 help
Scott Jiangf62ae7b2012-06-20 17:00:31 -040019 Say Y if you want to add support for the Analog Devices
20 SSM2602 Audio Codec Add-On Card.
Cliff Cai579e8ea2008-09-05 18:21:42 +080021
Lars-Peter Clausen53a93d52011-06-13 15:26:21 +020022config 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
Lars-Peter Clausenf049ffb2011-08-15 20:15:23 +020033config 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
Lars-Peter Clausenaef052942011-06-27 17:04:02 +020046config 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
Lars-Peter Clausen34f40952013-05-28 19:22:16 +020059config 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
Lars-Peter Clausenb8854632013-05-28 19:22:15 +020067config 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
Cliff Cai5564b142008-09-27 22:31:21 +080076config 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
84config 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
Cliff Cai579e8ea2008-09-05 18:21:42 +080092config SND_BF5XX_AC97
93 tristate "SoC AC97 Audio for the ADI BF5xx chip"
Takashi Iwai2caf6a12008-12-01 17:56:06 +010094 depends on BLACKFIN
Barry Song91056ac2011-01-11 20:04:28 -050095 select AC97_BUS
96 select SND_SOC_AC97_BUS
97 select SND_BF5XX_SOC_SPORT
98 select SND_BF5XX_SOC_AC97
Cliff Cai579e8ea2008-09-05 18:21:42 +080099 help
100 Say Y or M if you want to add support for codecs attached to
101 the Blackfin SPORT (synchronous serial ports) interface in slot 16
102 mode (pseudo AC97 interface).
103 You will also need to select the audio interfaces to support below.
104
105 Note:
Matt LaPlante692105b2009-01-26 11:12:25 +0100106 AC97 codecs which do not implement the slot-16 mode will not function
Cliff Cai579e8ea2008-09-05 18:21:42 +0800107 properly with this driver. This driver is known to work with the
108 Analog Devices line of AC97 codecs.
109
Cliff Cai67f854b2008-11-18 16:18:17 +0800110config SND_BF5XX_MMAP_SUPPORT
Cliff Cai579e8ea2008-09-05 18:21:42 +0800111 bool "Enable MMAP Support"
112 depends on SND_BF5XX_AC97
113 default y
114 help
115 Say y if you want AC97 driver to support mmap mode.
116 We introduce an intermediate buffer to simulate mmap.
117
Cliff Cai67f854b2008-11-18 16:18:17 +0800118config SND_BF5XX_MULTICHAN_SUPPORT
119 bool "Enable Multichannel Support"
120 depends on SND_BF5XX_AC97
121 default n
122 help
123 Say y if you want AC97 driver to support up to 5.1 channel audio.
124 this mode will consume much more memory for DMA.
125
Barry Songdf1246d2009-10-01 01:33:30 -0400126config SND_BF5XX_HAVE_COLD_RESET
127 bool "BOARD has COLD Reset GPIO"
128 depends on SND_BF5XX_AC97
129 default y if BFIN548_EZKIT
130 default n if !BFIN548_EZKIT
131
132config SND_BF5XX_RESET_GPIO_NUM
133 int "Set a GPIO for cold reset"
134 depends on SND_BF5XX_HAVE_COLD_RESET
135 range 0 159
136 default 19 if BFIN548_EZKIT
137 default 5 if BFIN537_STAMP
138 default 0
139 help
140 Set the correct GPIO for RESET the sound chip.
141
142config SND_BF5XX_SOC_AD1980
Sonic Zhang2e2211a2010-08-07 12:06:07 -0400143 tristate "SoC AD1980/1 Audio support for BF5xx (Obsolete)"
Barry Songdf1246d2009-10-01 01:33:30 -0400144 depends on SND_BF5XX_AC97
145 select SND_BF5XX_SOC_AC97
146 select SND_SOC_AD1980
147 help
148 Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
149
Sonic Zhang2e2211a2010-08-07 12:06:07 -0400150 Warning:
151 Because Analog Devices Inc. discontinued the ad1980 sound chip since
152 Sep. 2009, this ad1980 driver is not maintained, tested and supported
153 by ADI now.
154
Cliff Cai579e8ea2008-09-05 18:21:42 +0800155config SND_BF5XX_SOC_SPORT
156 tristate
Cliff Cai67f854b2008-11-18 16:18:17 +0800157
Scott Jiangd2aae472012-06-20 17:00:30 -0400158config SND_BF6XX_SOC_SPORT
159 tristate
160
Cliff Cai579e8ea2008-09-05 18:21:42 +0800161config SND_BF5XX_SOC_I2S
162 tristate
Cliff Cai579e8ea2008-09-05 18:21:42 +0800163
Scott Jiangf62ae7b2012-06-20 17:00:31 -0400164config SND_BF6XX_SOC_I2S
165 tristate
166
Cliff Cai579e8ea2008-09-05 18:21:42 +0800167config SND_BF5XX_SOC_AC97
168 tristate
Cliff Cai579e8ea2008-09-05 18:21:42 +0800169
Cliff Cai579e8ea2008-09-05 18:21:42 +0800170config SND_BF5XX_SPORT_NUM
171 int "Set a SPORT for Sound chip"
Scott Jiangd2aae472012-06-20 17:00:30 -0400172 depends on (SND_BF5XX_SOC_SPORT || SND_BF6XX_SOC_SPORT)
Cliff Cai579e8ea2008-09-05 18:21:42 +0800173 range 0 3 if BF54x
Mike Frysingera11311d2008-11-18 16:18:15 +0800174 range 0 1 if !BF54x
Cliff Cai579e8ea2008-09-05 18:21:42 +0800175 default 0
176 help
177 Set the correct SPORT for sound chip.