blob: fe9d548a683705ae1627a7b4a005ca5adfb760cd [file] [log] [blame]
Cliff Cai579e8ea2008-09-05 18:21:42 +08001config SND_BF5XX_I2S
2 tristate "SoC I2S Audio for the ADI BF5xx chip"
Takashi Iwai2caf6a12008-12-01 17:56:06 +01003 depends on BLACKFIN
Barry Song91056ac2011-01-11 20:04:28 -05004 select SND_BF5XX_SOC_SPORT
Cliff Cai579e8ea2008-09-05 18:21:42 +08005 help
6 Say Y or M if you want to add support for codecs attached to
7 the Blackfin SPORT (synchronous serial ports) interface in I2S
8 mode (supports single stereo In/Out).
9 You will also need to select the audio interfaces to support below.
10
11config SND_BF5XX_SOC_SSM2602
12 tristate "SoC SSM2602 Audio support for BF52x ezkit"
Mike Frysinger4d1e46b2011-06-16 22:24:15 -040013 depends on SND_BF5XX_I2S && (SPI_MASTER || I2C)
Cliff Cai579e8ea2008-09-05 18:21:42 +080014 select SND_BF5XX_SOC_I2S
15 select SND_SOC_SSM2602
Cliff Cai579e8ea2008-09-05 18:21:42 +080016 help
17 Say Y if you want to add support for SoC audio on BF527-EZKIT.
18
Lars-Peter Clausen53a93d52011-06-13 15:26:21 +020019config SND_SOC_BFIN_EVAL_ADAU1701
20 tristate "Support for the EVAL-ADAU1701MINIZ board on Blackfin eval boards"
21 depends on SND_BF5XX_I2S
22 select SND_BF5XX_SOC_I2S
23 select SND_SOC_ADAU1701
24 select I2C
25 help
26 Say Y if you want to add support for the Analog Devices EVAL-ADAU1701MINIZ
27 board connected to one of the Blackfin evaluation boards like the
28 BF5XX-STAMP or BF5XX-EZKIT.
29
Lars-Peter Clausenaef052942011-06-27 17:04:02 +020030config SND_SOC_BFIN_EVAL_ADAV80X
31 tristate "Support for the EVAL-ADAV80X boards on Blackfin eval boards"
32 depends on SND_BF5XX_I2S && (SPI_MASTER || I2C)
33 select SND_BF5XX_SOC_I2S
34 select SND_SOC_ADAV80X
35 help
36 Say Y if you want to add support for the Analog Devices EVAL-ADAV801 or
37 EVAL-ADAV803 board connected to one of the Blackfin evaluation boards
38 like the BF5XX-STAMP or BF5XX-EZKIT.
39
40 Note: This driver assumes that the ADAV80X digital record and playback
41 interfaces are connected to the first SPORT port on the BF5XX board.
42
Cliff Cai5564b142008-09-27 22:31:21 +080043config SND_BF5XX_SOC_AD73311
44 tristate "SoC AD73311 Audio support for Blackfin"
45 depends on SND_BF5XX_I2S
46 select SND_BF5XX_SOC_I2S
47 select SND_SOC_AD73311
48 help
49 Say Y if you want to add support for AD73311 codec on Blackfin.
50
51config SND_BFIN_AD73311_SE
52 int "PF pin for AD73311L Chip Select"
53 depends on SND_BF5XX_SOC_AD73311
54 default 4
55 help
56 Enter the GPIO used to control AD73311's SE pin. Acceptable
57 values are 0 to 7
58
Barry Songdf1246d2009-10-01 01:33:30 -040059config SND_BF5XX_TDM
60 tristate "SoC I2S(TDM mode) Audio for the ADI BF5xx chip"
61 depends on (BLACKFIN && SND_SOC)
Barry Song91056ac2011-01-11 20:04:28 -050062 select SND_BF5XX_SOC_SPORT
Barry Songdf1246d2009-10-01 01:33:30 -040063 help
64 Say Y or M if you want to add support for codecs attached to
65 the Blackfin SPORT (synchronous serial ports) interface in TDM
66 mode.
67 You will also need to select the audio interfaces to support below.
68
69config SND_BF5XX_SOC_AD1836
70 tristate "SoC AD1836 Audio support for BF5xx"
71 depends on SND_BF5XX_TDM
72 select SND_BF5XX_SOC_TDM
73 select SND_SOC_AD1836
74 help
75 Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
76
Barry Song698c3752010-03-19 11:18:40 +080077config SND_BF5XX_SOC_AD193X
78 tristate "SoC AD193X Audio support for Blackfin"
Barry Songdf1246d2009-10-01 01:33:30 -040079 depends on SND_BF5XX_TDM
80 select SND_BF5XX_SOC_TDM
Barry Song698c3752010-03-19 11:18:40 +080081 select SND_SOC_AD193X
Barry Songdf1246d2009-10-01 01:33:30 -040082 help
Barry Song698c3752010-03-19 11:18:40 +080083 Say Y if you want to add support for AD193X codec on Blackfin.
84 This driver supports AD1936, AD1937, AD1938 and AD1939.
Barry Songdf1246d2009-10-01 01:33:30 -040085
Cliff Cai579e8ea2008-09-05 18:21:42 +080086config SND_BF5XX_AC97
87 tristate "SoC AC97 Audio for the ADI BF5xx chip"
Takashi Iwai2caf6a12008-12-01 17:56:06 +010088 depends on BLACKFIN
Barry Song91056ac2011-01-11 20:04:28 -050089 select AC97_BUS
90 select SND_SOC_AC97_BUS
91 select SND_BF5XX_SOC_SPORT
92 select SND_BF5XX_SOC_AC97
Cliff Cai579e8ea2008-09-05 18:21:42 +080093 help
94 Say Y or M if you want to add support for codecs attached to
95 the Blackfin SPORT (synchronous serial ports) interface in slot 16
96 mode (pseudo AC97 interface).
97 You will also need to select the audio interfaces to support below.
98
99 Note:
Matt LaPlante692105b2009-01-26 11:12:25 +0100100 AC97 codecs which do not implement the slot-16 mode will not function
Cliff Cai579e8ea2008-09-05 18:21:42 +0800101 properly with this driver. This driver is known to work with the
102 Analog Devices line of AC97 codecs.
103
Cliff Cai67f854b2008-11-18 16:18:17 +0800104config SND_BF5XX_MMAP_SUPPORT
Cliff Cai579e8ea2008-09-05 18:21:42 +0800105 bool "Enable MMAP Support"
106 depends on SND_BF5XX_AC97
107 default y
108 help
109 Say y if you want AC97 driver to support mmap mode.
110 We introduce an intermediate buffer to simulate mmap.
111
Cliff Cai67f854b2008-11-18 16:18:17 +0800112config SND_BF5XX_MULTICHAN_SUPPORT
113 bool "Enable Multichannel Support"
114 depends on SND_BF5XX_AC97
115 default n
116 help
117 Say y if you want AC97 driver to support up to 5.1 channel audio.
118 this mode will consume much more memory for DMA.
119
Barry Songdf1246d2009-10-01 01:33:30 -0400120config SND_BF5XX_HAVE_COLD_RESET
121 bool "BOARD has COLD Reset GPIO"
122 depends on SND_BF5XX_AC97
123 default y if BFIN548_EZKIT
124 default n if !BFIN548_EZKIT
125
126config SND_BF5XX_RESET_GPIO_NUM
127 int "Set a GPIO for cold reset"
128 depends on SND_BF5XX_HAVE_COLD_RESET
129 range 0 159
130 default 19 if BFIN548_EZKIT
131 default 5 if BFIN537_STAMP
132 default 0
133 help
134 Set the correct GPIO for RESET the sound chip.
135
136config SND_BF5XX_SOC_AD1980
Sonic Zhang2e2211a2010-08-07 12:06:07 -0400137 tristate "SoC AD1980/1 Audio support for BF5xx (Obsolete)"
Barry Songdf1246d2009-10-01 01:33:30 -0400138 depends on SND_BF5XX_AC97
139 select SND_BF5XX_SOC_AC97
140 select SND_SOC_AD1980
141 help
142 Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
143
Sonic Zhang2e2211a2010-08-07 12:06:07 -0400144 Warning:
145 Because Analog Devices Inc. discontinued the ad1980 sound chip since
146 Sep. 2009, this ad1980 driver is not maintained, tested and supported
147 by ADI now.
148
Cliff Cai579e8ea2008-09-05 18:21:42 +0800149config SND_BF5XX_SOC_SPORT
150 tristate
Cliff Cai67f854b2008-11-18 16:18:17 +0800151
Cliff Cai579e8ea2008-09-05 18:21:42 +0800152config SND_BF5XX_SOC_I2S
153 tristate
Cliff Cai579e8ea2008-09-05 18:21:42 +0800154
Barry Song01e2ab22009-07-27 18:06:39 +0800155config SND_BF5XX_SOC_TDM
156 tristate
Barry Song01e2ab22009-07-27 18:06:39 +0800157
Cliff Cai579e8ea2008-09-05 18:21:42 +0800158config SND_BF5XX_SOC_AC97
159 tristate
Cliff Cai579e8ea2008-09-05 18:21:42 +0800160
Cliff Cai579e8ea2008-09-05 18:21:42 +0800161config SND_BF5XX_SPORT_NUM
162 int "Set a SPORT for Sound chip"
Barry Song01e2ab22009-07-27 18:06:39 +0800163 depends on (SND_BF5XX_I2S || SND_BF5XX_AC97 || SND_BF5XX_TDM)
Cliff Cai579e8ea2008-09-05 18:21:42 +0800164 range 0 3 if BF54x
Mike Frysingera11311d2008-11-18 16:18:15 +0800165 range 0 1 if !BF54x
Cliff Cai579e8ea2008-09-05 18:21:42 +0800166 default 0
167 help
168 Set the correct SPORT for sound chip.