Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 1 | config SND_BF5XX_I2S |
| 2 | tristate "SoC I2S Audio for the ADI BF5xx chip" |
Takashi Iwai | 2caf6a1 | 2008-12-01 17:56:06 +0100 | [diff] [blame] | 3 | depends on BLACKFIN |
Barry Song | 91056ac | 2011-01-11 20:04:28 -0500 | [diff] [blame] | 4 | select SND_BF5XX_SOC_SPORT |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 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 | |
| 11 | config SND_BF5XX_SOC_SSM2602 |
| 12 | tristate "SoC SSM2602 Audio support for BF52x ezkit" |
Mike Frysinger | 4d1e46b | 2011-06-16 22:24:15 -0400 | [diff] [blame] | 13 | depends on SND_BF5XX_I2S && (SPI_MASTER || I2C) |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 14 | select SND_BF5XX_SOC_I2S |
| 15 | select SND_SOC_SSM2602 |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 16 | help |
| 17 | Say Y if you want to add support for SoC audio on BF527-EZKIT. |
| 18 | |
Lars-Peter Clausen | 53a93d5 | 2011-06-13 15:26:21 +0200 | [diff] [blame] | 19 | config SND_SOC_BFIN_EVAL_ADAU1701 |
| 20 | tristate "Support for the EVAL-ADAU1701MINIZ board on Blackfin eval boards" |
| 21 | depends on SND_BF5XX_I2S |
| 22 | select SND_BF5XX_SOC_I2S |
| 23 | select SND_SOC_ADAU1701 |
| 24 | select I2C |
| 25 | help |
| 26 | Say Y if you want to add support for the Analog Devices EVAL-ADAU1701MINIZ |
| 27 | board connected to one of the Blackfin evaluation boards like the |
| 28 | BF5XX-STAMP or BF5XX-EZKIT. |
| 29 | |
Lars-Peter Clausen | f049ffb | 2011-08-15 20:15:23 +0200 | [diff] [blame] | 30 | config SND_SOC_BFIN_EVAL_ADAU1373 |
| 31 | tristate "Support for the EVAL-ADAU1373 board on Blackfin eval boards" |
| 32 | depends on SND_BF5XX_I2S && I2C |
| 33 | select SND_BF5XX_SOC_I2S |
| 34 | select SND_SOC_ADAU1373 |
| 35 | help |
| 36 | Say Y if you want to add support for the Analog Devices EVAL-ADAU1373 |
| 37 | board connected to one of the Blackfin evaluation boards like the |
| 38 | BF5XX-STAMP or BF5XX-EZKIT. |
| 39 | |
| 40 | Note: This driver assumes that first ADAU1373 DAI is connected to the |
| 41 | first SPORT port on the BF5XX board. |
| 42 | |
Lars-Peter Clausen | aef05294 | 2011-06-27 17:04:02 +0200 | [diff] [blame] | 43 | config SND_SOC_BFIN_EVAL_ADAV80X |
| 44 | tristate "Support for the EVAL-ADAV80X boards on Blackfin eval boards" |
| 45 | depends on SND_BF5XX_I2S && (SPI_MASTER || I2C) |
| 46 | select SND_BF5XX_SOC_I2S |
| 47 | select SND_SOC_ADAV80X |
| 48 | help |
| 49 | Say Y if you want to add support for the Analog Devices EVAL-ADAV801 or |
| 50 | EVAL-ADAV803 board connected to one of the Blackfin evaluation boards |
| 51 | like the BF5XX-STAMP or BF5XX-EZKIT. |
| 52 | |
| 53 | Note: This driver assumes that the ADAV80X digital record and playback |
| 54 | interfaces are connected to the first SPORT port on the BF5XX board. |
| 55 | |
Cliff Cai | 5564b14 | 2008-09-27 22:31:21 +0800 | [diff] [blame] | 56 | config SND_BF5XX_SOC_AD73311 |
| 57 | tristate "SoC AD73311 Audio support for Blackfin" |
| 58 | depends on SND_BF5XX_I2S |
| 59 | select SND_BF5XX_SOC_I2S |
| 60 | select SND_SOC_AD73311 |
| 61 | help |
| 62 | Say Y if you want to add support for AD73311 codec on Blackfin. |
| 63 | |
| 64 | config SND_BFIN_AD73311_SE |
| 65 | int "PF pin for AD73311L Chip Select" |
| 66 | depends on SND_BF5XX_SOC_AD73311 |
| 67 | default 4 |
| 68 | help |
| 69 | Enter the GPIO used to control AD73311's SE pin. Acceptable |
| 70 | values are 0 to 7 |
| 71 | |
Barry Song | df1246d | 2009-10-01 01:33:30 -0400 | [diff] [blame] | 72 | config SND_BF5XX_TDM |
| 73 | tristate "SoC I2S(TDM mode) Audio for the ADI BF5xx chip" |
| 74 | depends on (BLACKFIN && SND_SOC) |
Barry Song | 91056ac | 2011-01-11 20:04:28 -0500 | [diff] [blame] | 75 | select SND_BF5XX_SOC_SPORT |
Barry Song | df1246d | 2009-10-01 01:33:30 -0400 | [diff] [blame] | 76 | help |
| 77 | Say Y or M if you want to add support for codecs attached to |
| 78 | the Blackfin SPORT (synchronous serial ports) interface in TDM |
| 79 | mode. |
| 80 | You will also need to select the audio interfaces to support below. |
| 81 | |
| 82 | config SND_BF5XX_SOC_AD1836 |
| 83 | tristate "SoC AD1836 Audio support for BF5xx" |
| 84 | depends on SND_BF5XX_TDM |
| 85 | select SND_BF5XX_SOC_TDM |
| 86 | select SND_SOC_AD1836 |
| 87 | help |
| 88 | Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT. |
| 89 | |
Barry Song | 698c375 | 2010-03-19 11:18:40 +0800 | [diff] [blame] | 90 | config SND_BF5XX_SOC_AD193X |
| 91 | tristate "SoC AD193X Audio support for Blackfin" |
Barry Song | df1246d | 2009-10-01 01:33:30 -0400 | [diff] [blame] | 92 | depends on SND_BF5XX_TDM |
| 93 | select SND_BF5XX_SOC_TDM |
Barry Song | 698c375 | 2010-03-19 11:18:40 +0800 | [diff] [blame] | 94 | select SND_SOC_AD193X |
Barry Song | df1246d | 2009-10-01 01:33:30 -0400 | [diff] [blame] | 95 | help |
Barry Song | 698c375 | 2010-03-19 11:18:40 +0800 | [diff] [blame] | 96 | Say Y if you want to add support for AD193X codec on Blackfin. |
| 97 | This driver supports AD1936, AD1937, AD1938 and AD1939. |
Barry Song | df1246d | 2009-10-01 01:33:30 -0400 | [diff] [blame] | 98 | |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 99 | config SND_BF5XX_AC97 |
| 100 | tristate "SoC AC97 Audio for the ADI BF5xx chip" |
Takashi Iwai | 2caf6a1 | 2008-12-01 17:56:06 +0100 | [diff] [blame] | 101 | depends on BLACKFIN |
Barry Song | 91056ac | 2011-01-11 20:04:28 -0500 | [diff] [blame] | 102 | select AC97_BUS |
| 103 | select SND_SOC_AC97_BUS |
| 104 | select SND_BF5XX_SOC_SPORT |
| 105 | select SND_BF5XX_SOC_AC97 |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 106 | help |
| 107 | Say Y or M if you want to add support for codecs attached to |
| 108 | the Blackfin SPORT (synchronous serial ports) interface in slot 16 |
| 109 | mode (pseudo AC97 interface). |
| 110 | You will also need to select the audio interfaces to support below. |
| 111 | |
| 112 | Note: |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 113 | AC97 codecs which do not implement the slot-16 mode will not function |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 114 | properly with this driver. This driver is known to work with the |
| 115 | Analog Devices line of AC97 codecs. |
| 116 | |
Cliff Cai | 67f854b | 2008-11-18 16:18:17 +0800 | [diff] [blame] | 117 | config SND_BF5XX_MMAP_SUPPORT |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 118 | bool "Enable MMAP Support" |
| 119 | depends on SND_BF5XX_AC97 |
| 120 | default y |
| 121 | help |
| 122 | Say y if you want AC97 driver to support mmap mode. |
| 123 | We introduce an intermediate buffer to simulate mmap. |
| 124 | |
Cliff Cai | 67f854b | 2008-11-18 16:18:17 +0800 | [diff] [blame] | 125 | config SND_BF5XX_MULTICHAN_SUPPORT |
| 126 | bool "Enable Multichannel Support" |
| 127 | depends on SND_BF5XX_AC97 |
| 128 | default n |
| 129 | help |
| 130 | Say y if you want AC97 driver to support up to 5.1 channel audio. |
| 131 | this mode will consume much more memory for DMA. |
| 132 | |
Barry Song | df1246d | 2009-10-01 01:33:30 -0400 | [diff] [blame] | 133 | config SND_BF5XX_HAVE_COLD_RESET |
| 134 | bool "BOARD has COLD Reset GPIO" |
| 135 | depends on SND_BF5XX_AC97 |
| 136 | default y if BFIN548_EZKIT |
| 137 | default n if !BFIN548_EZKIT |
| 138 | |
| 139 | config SND_BF5XX_RESET_GPIO_NUM |
| 140 | int "Set a GPIO for cold reset" |
| 141 | depends on SND_BF5XX_HAVE_COLD_RESET |
| 142 | range 0 159 |
| 143 | default 19 if BFIN548_EZKIT |
| 144 | default 5 if BFIN537_STAMP |
| 145 | default 0 |
| 146 | help |
| 147 | Set the correct GPIO for RESET the sound chip. |
| 148 | |
| 149 | config SND_BF5XX_SOC_AD1980 |
Sonic Zhang | 2e2211a | 2010-08-07 12:06:07 -0400 | [diff] [blame] | 150 | tristate "SoC AD1980/1 Audio support for BF5xx (Obsolete)" |
Barry Song | df1246d | 2009-10-01 01:33:30 -0400 | [diff] [blame] | 151 | depends on SND_BF5XX_AC97 |
| 152 | select SND_BF5XX_SOC_AC97 |
| 153 | select SND_SOC_AD1980 |
| 154 | help |
| 155 | Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT. |
| 156 | |
Sonic Zhang | 2e2211a | 2010-08-07 12:06:07 -0400 | [diff] [blame] | 157 | Warning: |
| 158 | Because Analog Devices Inc. discontinued the ad1980 sound chip since |
| 159 | Sep. 2009, this ad1980 driver is not maintained, tested and supported |
| 160 | by ADI now. |
| 161 | |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 162 | config SND_BF5XX_SOC_SPORT |
| 163 | tristate |
Cliff Cai | 67f854b | 2008-11-18 16:18:17 +0800 | [diff] [blame] | 164 | |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 165 | config SND_BF5XX_SOC_I2S |
| 166 | tristate |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 167 | |
Barry Song | 01e2ab2 | 2009-07-27 18:06:39 +0800 | [diff] [blame] | 168 | config SND_BF5XX_SOC_TDM |
| 169 | tristate |
Barry Song | 01e2ab2 | 2009-07-27 18:06:39 +0800 | [diff] [blame] | 170 | |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 171 | config SND_BF5XX_SOC_AC97 |
| 172 | tristate |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 173 | |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 174 | config SND_BF5XX_SPORT_NUM |
| 175 | int "Set a SPORT for Sound chip" |
Barry Song | 01e2ab2 | 2009-07-27 18:06:39 +0800 | [diff] [blame] | 176 | depends on (SND_BF5XX_I2S || SND_BF5XX_AC97 || SND_BF5XX_TDM) |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 177 | range 0 3 if BF54x |
Mike Frysinger | a11311d71 | 2008-11-18 16:18:15 +0800 | [diff] [blame] | 178 | range 0 1 if !BF54x |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 179 | default 0 |
| 180 | help |
| 181 | Set the correct SPORT for sound chip. |