blob: 43d89fc253aebab8f6ecc189c04ae9a8fd956a27 [file] [log] [blame]
Cliff Cai579e8ea2008-09-05 18:21:42 +08001config SND_BF5XX_I2S
2 tristate "SoC I2S Audio for the ADI BF5xx chip"
3 depends on BLACKFIN && SND_SOC
4 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
10config SND_BF5XX_SOC_SSM2602
11 tristate "SoC SSM2602 Audio support for BF52x ezkit"
12 depends on SND_BF5XX_I2S
13 select SND_BF5XX_SOC_I2S
14 select SND_SOC_SSM2602
15 select I2C
16 select I2C_BLACKFIN_TWI
17 help
18 Say Y if you want to add support for SoC audio on BF527-EZKIT.
19
Cliff Cai5564b142008-09-27 22:31:21 +080020config SND_BF5XX_SOC_AD73311
21 tristate "SoC AD73311 Audio support for Blackfin"
22 depends on SND_BF5XX_I2S
23 select SND_BF5XX_SOC_I2S
24 select SND_SOC_AD73311
25 help
26 Say Y if you want to add support for AD73311 codec on Blackfin.
27
28config SND_BFIN_AD73311_SE
29 int "PF pin for AD73311L Chip Select"
30 depends on SND_BF5XX_SOC_AD73311
31 default 4
32 help
33 Enter the GPIO used to control AD73311's SE pin. Acceptable
34 values are 0 to 7
35
Cliff Cai579e8ea2008-09-05 18:21:42 +080036config SND_BF5XX_AC97
37 tristate "SoC AC97 Audio for the ADI BF5xx chip"
38 depends on BLACKFIN && SND_SOC
39 help
40 Say Y or M if you want to add support for codecs attached to
41 the Blackfin SPORT (synchronous serial ports) interface in slot 16
42 mode (pseudo AC97 interface).
43 You will also need to select the audio interfaces to support below.
44
45 Note:
46 AC97 codecs which do not implment the slot-16 mode will not function
47 properly with this driver. This driver is known to work with the
48 Analog Devices line of AC97 codecs.
49
Cliff Cai67f854b2008-11-18 16:18:17 +080050config SND_BF5XX_MMAP_SUPPORT
Cliff Cai579e8ea2008-09-05 18:21:42 +080051 bool "Enable MMAP Support"
52 depends on SND_BF5XX_AC97
53 default y
54 help
55 Say y if you want AC97 driver to support mmap mode.
56 We introduce an intermediate buffer to simulate mmap.
57
Cliff Cai67f854b2008-11-18 16:18:17 +080058config SND_BF5XX_MULTICHAN_SUPPORT
59 bool "Enable Multichannel Support"
60 depends on SND_BF5XX_AC97
61 default n
62 help
63 Say y if you want AC97 driver to support up to 5.1 channel audio.
64 this mode will consume much more memory for DMA.
65
Cliff Cai579e8ea2008-09-05 18:21:42 +080066config SND_BF5XX_SOC_SPORT
67 tristate
Cliff Cai67f854b2008-11-18 16:18:17 +080068
Cliff Cai579e8ea2008-09-05 18:21:42 +080069config SND_BF5XX_SOC_I2S
70 tristate
71 select SND_BF5XX_SOC_SPORT
72
73config SND_BF5XX_SOC_AC97
74 tristate
75 select AC97_BUS
76 select SND_SOC_AC97_BUS
77 select SND_BF5XX_SOC_SPORT
78
79config SND_BF5XX_SOC_AD1980
80 tristate "SoC AD1980/1 Audio support for BF5xx"
81 depends on SND_BF5XX_AC97
82 select SND_BF5XX_SOC_AC97
83 select SND_SOC_AD1980
84 help
85 Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
86
87config SND_BF5XX_SPORT_NUM
88 int "Set a SPORT for Sound chip"
89 depends on (SND_BF5XX_I2S || SND_BF5XX_AC97)
90 range 0 3 if BF54x
Mike Frysingera11311d2008-11-18 16:18:15 +080091 range 0 1 if !BF54x
Cliff Cai579e8ea2008-09-05 18:21:42 +080092 default 0
93 help
94 Set the correct SPORT for sound chip.
95
96config SND_BF5XX_HAVE_COLD_RESET
97 bool "BOARD has COLD Reset GPIO"
98 depends on SND_BF5XX_AC97
99 default y if BFIN548_EZKIT
100 default n if !BFIN548_EZKIT
Cliff Cai67f854b2008-11-18 16:18:17 +0800101
Cliff Cai579e8ea2008-09-05 18:21:42 +0800102config SND_BF5XX_RESET_GPIO_NUM
103 int "Set a GPIO for cold reset"
104 depends on SND_BF5XX_HAVE_COLD_RESET
105 range 0 159
106 default 19 if BFIN548_EZKIT
107 default 5 if BFIN537_STAMP
108 help
109 Set the correct GPIO for RESET the sound chip.