blob: 811596f4c092a21b24f8f85f2c386348725f9385 [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
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
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
Cliff Cai5564b142008-09-27 22:31:21 +080019config SND_BF5XX_SOC_AD73311
20 tristate "SoC AD73311 Audio support for Blackfin"
21 depends on SND_BF5XX_I2S
22 select SND_BF5XX_SOC_I2S
23 select SND_SOC_AD73311
24 help
25 Say Y if you want to add support for AD73311 codec on Blackfin.
26
27config SND_BFIN_AD73311_SE
28 int "PF pin for AD73311L Chip Select"
29 depends on SND_BF5XX_SOC_AD73311
30 default 4
31 help
32 Enter the GPIO used to control AD73311's SE pin. Acceptable
33 values are 0 to 7
34
Cliff Cai579e8ea2008-09-05 18:21:42 +080035config SND_BF5XX_AC97
36 tristate "SoC AC97 Audio for the ADI BF5xx chip"
Takashi Iwai2caf6a12008-12-01 17:56:06 +010037 depends on BLACKFIN
Cliff Cai579e8ea2008-09-05 18:21:42 +080038 help
39 Say Y or M if you want to add support for codecs attached to
40 the Blackfin SPORT (synchronous serial ports) interface in slot 16
41 mode (pseudo AC97 interface).
42 You will also need to select the audio interfaces to support below.
43
44 Note:
Matt LaPlante692105b2009-01-26 11:12:25 +010045 AC97 codecs which do not implement the slot-16 mode will not function
Cliff Cai579e8ea2008-09-05 18:21:42 +080046 properly with this driver. This driver is known to work with the
47 Analog Devices line of AC97 codecs.
48
Cliff Cai67f854b2008-11-18 16:18:17 +080049config SND_BF5XX_MMAP_SUPPORT
Cliff Cai579e8ea2008-09-05 18:21:42 +080050 bool "Enable MMAP Support"
51 depends on SND_BF5XX_AC97
52 default y
53 help
54 Say y if you want AC97 driver to support mmap mode.
55 We introduce an intermediate buffer to simulate mmap.
56
Cliff Cai67f854b2008-11-18 16:18:17 +080057config SND_BF5XX_MULTICHAN_SUPPORT
58 bool "Enable Multichannel Support"
59 depends on SND_BF5XX_AC97
60 default n
61 help
62 Say y if you want AC97 driver to support up to 5.1 channel audio.
63 this mode will consume much more memory for DMA.
64
Cliff Cai579e8ea2008-09-05 18:21:42 +080065config SND_BF5XX_SOC_SPORT
66 tristate
Cliff Cai67f854b2008-11-18 16:18:17 +080067
Cliff Cai579e8ea2008-09-05 18:21:42 +080068config SND_BF5XX_SOC_I2S
69 tristate
70 select SND_BF5XX_SOC_SPORT
71
72config SND_BF5XX_SOC_AC97
73 tristate
74 select AC97_BUS
75 select SND_SOC_AC97_BUS
76 select SND_BF5XX_SOC_SPORT
77
78config SND_BF5XX_SOC_AD1980
79 tristate "SoC AD1980/1 Audio support for BF5xx"
80 depends on SND_BF5XX_AC97
81 select SND_BF5XX_SOC_AC97
82 select SND_SOC_AD1980
83 help
84 Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
85
86config SND_BF5XX_SPORT_NUM
87 int "Set a SPORT for Sound chip"
88 depends on (SND_BF5XX_I2S || SND_BF5XX_AC97)
89 range 0 3 if BF54x
Mike Frysingera11311d712008-11-18 16:18:15 +080090 range 0 1 if !BF54x
Cliff Cai579e8ea2008-09-05 18:21:42 +080091 default 0
92 help
93 Set the correct SPORT for sound chip.
94
95config SND_BF5XX_HAVE_COLD_RESET
96 bool "BOARD has COLD Reset GPIO"
97 depends on SND_BF5XX_AC97
98 default y if BFIN548_EZKIT
99 default n if !BFIN548_EZKIT
Cliff Cai67f854b2008-11-18 16:18:17 +0800100
Cliff Cai579e8ea2008-09-05 18:21:42 +0800101config SND_BF5XX_RESET_GPIO_NUM
102 int "Set a GPIO for cold reset"
103 depends on SND_BF5XX_HAVE_COLD_RESET
104 range 0 159
105 default 19 if BFIN548_EZKIT
106 default 5 if BFIN537_STAMP
Mike Frysingera0bd65f2008-11-18 16:18:22 +0800107 default 0
Cliff Cai579e8ea2008-09-05 18:21:42 +0800108 help
109 Set the correct GPIO for RESET the sound chip.