Commit | Line | Data |
---|---|---|
579e8eac CC |
1 | config 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 | ||
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 | |
16 | select I2C_BLACKFIN_TWI | |
17 | help | |
18 | Say Y if you want to add support for SoC audio on BF527-EZKIT. | |
19 | ||
20 | config SND_BF5XX_AC97 | |
21 | tristate "SoC AC97 Audio for the ADI BF5xx chip" | |
22 | depends on BLACKFIN && SND_SOC | |
23 | help | |
24 | Say Y or M if you want to add support for codecs attached to | |
25 | the Blackfin SPORT (synchronous serial ports) interface in slot 16 | |
26 | mode (pseudo AC97 interface). | |
27 | You will also need to select the audio interfaces to support below. | |
28 | ||
29 | Note: | |
30 | AC97 codecs which do not implment the slot-16 mode will not function | |
31 | properly with this driver. This driver is known to work with the | |
32 | Analog Devices line of AC97 codecs. | |
33 | ||
34 | config SND_MMAP_SUPPORT | |
35 | bool "Enable MMAP Support" | |
36 | depends on SND_BF5XX_AC97 | |
37 | default y | |
38 | help | |
39 | Say y if you want AC97 driver to support mmap mode. | |
40 | We introduce an intermediate buffer to simulate mmap. | |
41 | ||
42 | config SND_BF5XX_SOC_SPORT | |
43 | tristate | |
44 | ||
45 | config SND_BF5XX_SOC_I2S | |
46 | tristate | |
47 | select SND_BF5XX_SOC_SPORT | |
48 | ||
49 | config SND_BF5XX_SOC_AC97 | |
50 | tristate | |
51 | select AC97_BUS | |
52 | select SND_SOC_AC97_BUS | |
53 | select SND_BF5XX_SOC_SPORT | |
54 | ||
55 | config SND_BF5XX_SOC_AD1980 | |
56 | tristate "SoC AD1980/1 Audio support for BF5xx" | |
57 | depends on SND_BF5XX_AC97 | |
58 | select SND_BF5XX_SOC_AC97 | |
59 | select SND_SOC_AD1980 | |
60 | help | |
61 | Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT. | |
62 | ||
63 | config SND_BF5XX_SPORT_NUM | |
64 | int "Set a SPORT for Sound chip" | |
65 | depends on (SND_BF5XX_I2S || SND_BF5XX_AC97) | |
66 | range 0 3 if BF54x | |
67 | range 0 1 if (BF53x || BF561) | |
68 | default 0 | |
69 | help | |
70 | Set the correct SPORT for sound chip. | |
71 | ||
72 | config SND_BF5XX_HAVE_COLD_RESET | |
73 | bool "BOARD has COLD Reset GPIO" | |
74 | depends on SND_BF5XX_AC97 | |
75 | default y if BFIN548_EZKIT | |
76 | default n if !BFIN548_EZKIT | |
77 | ||
78 | config SND_BF5XX_RESET_GPIO_NUM | |
79 | int "Set a GPIO for cold reset" | |
80 | depends on SND_BF5XX_HAVE_COLD_RESET | |
81 | range 0 159 | |
82 | default 19 if BFIN548_EZKIT | |
83 | default 5 if BFIN537_STAMP | |
84 | help | |
85 | Set the correct GPIO for RESET the sound chip. |