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