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 |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 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 |
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 | |
Cliff Cai | 5564b14 | 2008-09-27 22:31:21 +0800 | [diff] [blame] | 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 | |
Barry Song | df1246d | 2009-10-01 01:33:30 -0400 | [diff] [blame] | 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 | |
| 52 | config SND_BF5XX_SOC_AD1938 |
| 53 | tristate "SoC AD1938 Audio support for Blackfin" |
| 54 | depends on SND_BF5XX_TDM |
| 55 | select SND_BF5XX_SOC_TDM |
| 56 | select SND_SOC_AD1938 |
| 57 | help |
| 58 | Say Y if you want to add support for AD1938 codec on Blackfin. |
| 59 | |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 60 | config SND_BF5XX_AC97 |
| 61 | tristate "SoC AC97 Audio for the ADI BF5xx chip" |
Takashi Iwai | 2caf6a1 | 2008-12-01 17:56:06 +0100 | [diff] [blame] | 62 | depends on BLACKFIN |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 63 | help |
| 64 | Say Y or M if you want to add support for codecs attached to |
| 65 | the Blackfin SPORT (synchronous serial ports) interface in slot 16 |
| 66 | mode (pseudo AC97 interface). |
| 67 | You will also need to select the audio interfaces to support below. |
| 68 | |
| 69 | Note: |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 70 | 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] | 71 | properly with this driver. This driver is known to work with the |
| 72 | Analog Devices line of AC97 codecs. |
| 73 | |
Cliff Cai | 67f854b | 2008-11-18 16:18:17 +0800 | [diff] [blame] | 74 | config SND_BF5XX_MMAP_SUPPORT |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 75 | bool "Enable MMAP Support" |
| 76 | depends on SND_BF5XX_AC97 |
| 77 | default y |
| 78 | help |
| 79 | Say y if you want AC97 driver to support mmap mode. |
| 80 | We introduce an intermediate buffer to simulate mmap. |
| 81 | |
Cliff Cai | 67f854b | 2008-11-18 16:18:17 +0800 | [diff] [blame] | 82 | config SND_BF5XX_MULTICHAN_SUPPORT |
| 83 | bool "Enable Multichannel Support" |
| 84 | depends on SND_BF5XX_AC97 |
| 85 | default n |
| 86 | help |
| 87 | Say y if you want AC97 driver to support up to 5.1 channel audio. |
| 88 | this mode will consume much more memory for DMA. |
| 89 | |
Barry Song | df1246d | 2009-10-01 01:33:30 -0400 | [diff] [blame] | 90 | config SND_BF5XX_HAVE_COLD_RESET |
| 91 | bool "BOARD has COLD Reset GPIO" |
| 92 | depends on SND_BF5XX_AC97 |
| 93 | default y if BFIN548_EZKIT |
| 94 | default n if !BFIN548_EZKIT |
| 95 | |
| 96 | config SND_BF5XX_RESET_GPIO_NUM |
| 97 | int "Set a GPIO for cold reset" |
| 98 | depends on SND_BF5XX_HAVE_COLD_RESET |
| 99 | range 0 159 |
| 100 | default 19 if BFIN548_EZKIT |
| 101 | default 5 if BFIN537_STAMP |
| 102 | default 0 |
| 103 | help |
| 104 | Set the correct GPIO for RESET the sound chip. |
| 105 | |
| 106 | config SND_BF5XX_SOC_AD1980 |
| 107 | tristate "SoC AD1980/1 Audio support for BF5xx" |
| 108 | depends on SND_BF5XX_AC97 |
| 109 | select SND_BF5XX_SOC_AC97 |
| 110 | select SND_SOC_AD1980 |
| 111 | help |
| 112 | Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT. |
| 113 | |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 114 | config SND_BF5XX_SOC_SPORT |
| 115 | tristate |
Cliff Cai | 67f854b | 2008-11-18 16:18:17 +0800 | [diff] [blame] | 116 | |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 117 | config SND_BF5XX_SOC_I2S |
| 118 | tristate |
| 119 | select SND_BF5XX_SOC_SPORT |
| 120 | |
Barry Song | 01e2ab2 | 2009-07-27 18:06:39 +0800 | [diff] [blame] | 121 | config SND_BF5XX_SOC_TDM |
| 122 | tristate |
| 123 | select SND_BF5XX_SOC_SPORT |
| 124 | |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 125 | config SND_BF5XX_SOC_AC97 |
| 126 | tristate |
| 127 | select AC97_BUS |
| 128 | select SND_SOC_AC97_BUS |
| 129 | select SND_BF5XX_SOC_SPORT |
| 130 | |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 131 | config SND_BF5XX_SPORT_NUM |
| 132 | int "Set a SPORT for Sound chip" |
Barry Song | 01e2ab2 | 2009-07-27 18:06:39 +0800 | [diff] [blame] | 133 | depends on (SND_BF5XX_I2S || SND_BF5XX_AC97 || SND_BF5XX_TDM) |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 134 | range 0 3 if BF54x |
Mike Frysinger | a11311d | 2008-11-18 16:18:15 +0800 | [diff] [blame] | 135 | range 0 1 if !BF54x |
Cliff Cai | 579e8ea | 2008-09-05 18:21:42 +0800 | [diff] [blame] | 136 | default 0 |
| 137 | help |
| 138 | Set the correct SPORT for sound chip. |