blob: ac927ffdc9614d59808f8aabcb22b17dcab9ceed [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
Cliff Cai579e8ea2008-09-05 18:21:42 +08004 help
5 Say Y or M if you want to add support for codecs attached to
6 the Blackfin SPORT (synchronous serial ports) interface in I2S
7 mode (supports single stereo In/Out).
8 You will also need to select the audio interfaces to support below.
9
Barry Song01e2ab22009-07-27 18:06:39 +080010config SND_BF5XX_TDM
11 tristate "SoC I2S(TDM mode) Audio for the ADI BF5xx chip"
12 depends on (BLACKFIN && SND_SOC)
13 help
14 Say Y or M if you want to add support for codecs attached to
15 the Blackfin SPORT (synchronous serial ports) interface in TDM
16 mode.
17 You will also need to select the audio interfaces to support below.
18
Cliff Cai579e8ea2008-09-05 18:21:42 +080019config SND_BF5XX_SOC_SSM2602
20 tristate "SoC SSM2602 Audio support for BF52x ezkit"
21 depends on SND_BF5XX_I2S
22 select SND_BF5XX_SOC_I2S
23 select SND_SOC_SSM2602
24 select I2C
Cliff Cai579e8ea2008-09-05 18:21:42 +080025 help
26 Say Y if you want to add support for SoC audio on BF527-EZKIT.
27
Cliff Cai5564b142008-09-27 22:31:21 +080028config SND_BF5XX_SOC_AD73311
29 tristate "SoC AD73311 Audio support for Blackfin"
30 depends on SND_BF5XX_I2S
31 select SND_BF5XX_SOC_I2S
32 select SND_SOC_AD73311
33 help
34 Say Y if you want to add support for AD73311 codec on Blackfin.
35
36config SND_BFIN_AD73311_SE
37 int "PF pin for AD73311L Chip Select"
38 depends on SND_BF5XX_SOC_AD73311
39 default 4
40 help
41 Enter the GPIO used to control AD73311's SE pin. Acceptable
42 values are 0 to 7
43
Cliff Cai579e8ea2008-09-05 18:21:42 +080044config SND_BF5XX_AC97
45 tristate "SoC AC97 Audio for the ADI BF5xx chip"
Takashi Iwai2caf6a12008-12-01 17:56:06 +010046 depends on BLACKFIN
Cliff Cai579e8ea2008-09-05 18:21:42 +080047 help
48 Say Y or M if you want to add support for codecs attached to
49 the Blackfin SPORT (synchronous serial ports) interface in slot 16
50 mode (pseudo AC97 interface).
51 You will also need to select the audio interfaces to support below.
52
53 Note:
Matt LaPlante692105b2009-01-26 11:12:25 +010054 AC97 codecs which do not implement the slot-16 mode will not function
Cliff Cai579e8ea2008-09-05 18:21:42 +080055 properly with this driver. This driver is known to work with the
56 Analog Devices line of AC97 codecs.
57
Cliff Cai67f854b2008-11-18 16:18:17 +080058config SND_BF5XX_MMAP_SUPPORT
Cliff Cai579e8ea2008-09-05 18:21:42 +080059 bool "Enable MMAP Support"
60 depends on SND_BF5XX_AC97
61 default y
62 help
63 Say y if you want AC97 driver to support mmap mode.
64 We introduce an intermediate buffer to simulate mmap.
65
Cliff Cai67f854b2008-11-18 16:18:17 +080066config SND_BF5XX_MULTICHAN_SUPPORT
67 bool "Enable Multichannel Support"
68 depends on SND_BF5XX_AC97
69 default n
70 help
71 Say y if you want AC97 driver to support up to 5.1 channel audio.
72 this mode will consume much more memory for DMA.
73
Cliff Cai579e8ea2008-09-05 18:21:42 +080074config SND_BF5XX_SOC_SPORT
75 tristate
Cliff Cai67f854b2008-11-18 16:18:17 +080076
Cliff Cai579e8ea2008-09-05 18:21:42 +080077config SND_BF5XX_SOC_I2S
78 tristate
79 select SND_BF5XX_SOC_SPORT
80
Barry Song01e2ab22009-07-27 18:06:39 +080081config SND_BF5XX_SOC_TDM
82 tristate
83 select SND_BF5XX_SOC_SPORT
84
Cliff Cai579e8ea2008-09-05 18:21:42 +080085config SND_BF5XX_SOC_AC97
86 tristate
87 select AC97_BUS
88 select SND_SOC_AC97_BUS
89 select SND_BF5XX_SOC_SPORT
90
Barry Songdce944d2009-09-01 12:45:14 +080091config SND_BF5XX_SOC_AD1836
92 tristate "SoC AD1836 Audio support for BF5xx"
93 depends on SND_BF5XX_TDM
94 select SND_BF5XX_SOC_TDM
95 select SND_SOC_AD1836
96 help
97 Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
98
Cliff Cai579e8ea2008-09-05 18:21:42 +080099config SND_BF5XX_SOC_AD1980
100 tristate "SoC AD1980/1 Audio support for BF5xx"
101 depends on SND_BF5XX_AC97
102 select SND_BF5XX_SOC_AC97
103 select SND_SOC_AD1980
104 help
105 Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
106
Barry Songc8489c32009-07-23 02:10:34 +0800107config SND_BF5XX_SOC_AD1938
108 tristate "SoC AD1938 Audio support for Blackfin"
109 depends on SND_BF5XX_TDM
110 select SND_BF5XX_SOC_TDM
111 select SND_SOC_AD1938
112 help
113 Say Y if you want to add support for AD1938 codec on Blackfin.
114
Cliff Cai579e8ea2008-09-05 18:21:42 +0800115config SND_BF5XX_SPORT_NUM
116 int "Set a SPORT for Sound chip"
Barry Song01e2ab22009-07-27 18:06:39 +0800117 depends on (SND_BF5XX_I2S || SND_BF5XX_AC97 || SND_BF5XX_TDM)
Cliff Cai579e8ea2008-09-05 18:21:42 +0800118 range 0 3 if BF54x
Mike Frysingera11311d2008-11-18 16:18:15 +0800119 range 0 1 if !BF54x
Cliff Cai579e8ea2008-09-05 18:21:42 +0800120 default 0
121 help
122 Set the correct SPORT for sound chip.
123
124config SND_BF5XX_HAVE_COLD_RESET
125 bool "BOARD has COLD Reset GPIO"
126 depends on SND_BF5XX_AC97
127 default y if BFIN548_EZKIT
128 default n if !BFIN548_EZKIT
Cliff Cai67f854b2008-11-18 16:18:17 +0800129
Cliff Cai579e8ea2008-09-05 18:21:42 +0800130config SND_BF5XX_RESET_GPIO_NUM
131 int "Set a GPIO for cold reset"
132 depends on SND_BF5XX_HAVE_COLD_RESET
133 range 0 159
134 default 19 if BFIN548_EZKIT
135 default 5 if BFIN537_STAMP
Mike Frysingera0bd65f2008-11-18 16:18:22 +0800136 default 0
Cliff Cai579e8ea2008-09-05 18:21:42 +0800137 help
138 Set the correct GPIO for RESET the sound chip.