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