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