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