Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
[deliverable/linux.git] / sound / soc / blackfin / Kconfig
CommitLineData
579e8eac
CC
1config SND_BF5XX_I2S
2 tristate "SoC I2S Audio for the ADI BF5xx chip"
2caf6a1f 3 depends on BLACKFIN
91056acb 4 select SND_BF5XX_SOC_SPORT
579e8eac
CC
5 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"
13 depends on SND_BF5XX_I2S
14 select SND_BF5XX_SOC_I2S
15 select SND_SOC_SSM2602
16 select I2C
579e8eac
CC
17 help
18 Say Y if you want to add support for SoC audio on BF527-EZKIT.
19
5564b14b
CC
20config 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
df1246d8
BS
36config SND_BF5XX_TDM
37 tristate "SoC I2S(TDM mode) Audio for the ADI BF5xx chip"
38 depends on (BLACKFIN && SND_SOC)
91056acb 39 select SND_BF5XX_SOC_SPORT
df1246d8
BS
40 help
41 Say Y or M if you want to add support for codecs attached to
42 the Blackfin SPORT (synchronous serial ports) interface in TDM
43 mode.
44 You will also need to select the audio interfaces to support below.
45
46config SND_BF5XX_SOC_AD1836
47 tristate "SoC AD1836 Audio support for BF5xx"
48 depends on SND_BF5XX_TDM
49 select SND_BF5XX_SOC_TDM
50 select SND_SOC_AD1836
51 help
52 Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
53
698c3756
BS
54config SND_BF5XX_SOC_AD193X
55 tristate "SoC AD193X Audio support for Blackfin"
df1246d8
BS
56 depends on SND_BF5XX_TDM
57 select SND_BF5XX_SOC_TDM
698c3756 58 select SND_SOC_AD193X
df1246d8 59 help
698c3756
BS
60 Say Y if you want to add support for AD193X codec on Blackfin.
61 This driver supports AD1936, AD1937, AD1938 and AD1939.
df1246d8 62
579e8eac
CC
63config SND_BF5XX_AC97
64 tristate "SoC AC97 Audio for the ADI BF5xx chip"
2caf6a1f 65 depends on BLACKFIN
91056acb
BS
66 select AC97_BUS
67 select SND_SOC_AC97_BUS
68 select SND_BF5XX_SOC_SPORT
69 select SND_BF5XX_SOC_AC97
579e8eac
CC
70 help
71 Say Y or M if you want to add support for codecs attached to
72 the Blackfin SPORT (synchronous serial ports) interface in slot 16
73 mode (pseudo AC97 interface).
74 You will also need to select the audio interfaces to support below.
75
76 Note:
692105b8 77 AC97 codecs which do not implement the slot-16 mode will not function
579e8eac
CC
78 properly with this driver. This driver is known to work with the
79 Analog Devices line of AC97 codecs.
80
67f854b9 81config SND_BF5XX_MMAP_SUPPORT
579e8eac
CC
82 bool "Enable MMAP Support"
83 depends on SND_BF5XX_AC97
84 default y
85 help
86 Say y if you want AC97 driver to support mmap mode.
87 We introduce an intermediate buffer to simulate mmap.
88
67f854b9
CC
89config SND_BF5XX_MULTICHAN_SUPPORT
90 bool "Enable Multichannel Support"
91 depends on SND_BF5XX_AC97
92 default n
93 help
94 Say y if you want AC97 driver to support up to 5.1 channel audio.
95 this mode will consume much more memory for DMA.
96
df1246d8
BS
97config SND_BF5XX_HAVE_COLD_RESET
98 bool "BOARD has COLD Reset GPIO"
99 depends on SND_BF5XX_AC97
100 default y if BFIN548_EZKIT
101 default n if !BFIN548_EZKIT
102
103config SND_BF5XX_RESET_GPIO_NUM
104 int "Set a GPIO for cold reset"
105 depends on SND_BF5XX_HAVE_COLD_RESET
106 range 0 159
107 default 19 if BFIN548_EZKIT
108 default 5 if BFIN537_STAMP
109 default 0
110 help
111 Set the correct GPIO for RESET the sound chip.
112
113config SND_BF5XX_SOC_AD1980
2e2211a3 114 tristate "SoC AD1980/1 Audio support for BF5xx (Obsolete)"
df1246d8
BS
115 depends on SND_BF5XX_AC97
116 select SND_BF5XX_SOC_AC97
117 select SND_SOC_AD1980
118 help
119 Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
120
2e2211a3
SZ
121 Warning:
122 Because Analog Devices Inc. discontinued the ad1980 sound chip since
123 Sep. 2009, this ad1980 driver is not maintained, tested and supported
124 by ADI now.
125
579e8eac
CC
126config SND_BF5XX_SOC_SPORT
127 tristate
67f854b9 128
579e8eac
CC
129config SND_BF5XX_SOC_I2S
130 tristate
579e8eac 131
01e2ab20
BS
132config SND_BF5XX_SOC_TDM
133 tristate
01e2ab20 134
579e8eac
CC
135config SND_BF5XX_SOC_AC97
136 tristate
579e8eac 137
579e8eac
CC
138config SND_BF5XX_SPORT_NUM
139 int "Set a SPORT for Sound chip"
01e2ab20 140 depends on (SND_BF5XX_I2S || SND_BF5XX_AC97 || SND_BF5XX_TDM)
579e8eac 141 range 0 3 if BF54x
a11311d7 142 range 0 1 if !BF54x
579e8eac
CC
143 default 0
144 help
145 Set the correct SPORT for sound chip.
This page took 0.166277 seconds and 5 git commands to generate.