Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 1 | /* |
| 2 | * File: sound/soc/blackfin/bf5xx-i2s.c |
| 3 | * Author: Cliff Cai <Cliff.Cai@analog.com> |
| 4 | * |
| 5 | * Created: Tue June 06 2008 |
| 6 | * Description: Blackfin I2S CPU DAI driver |
| 7 | * |
| 8 | * Modified: |
| 9 | * Copyright 2008 Analog Devices Inc. |
| 10 | * |
| 11 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ |
| 12 | * |
| 13 | * This program is free software; you can redistribute it and/or modify |
| 14 | * it under the terms of the GNU General Public License as published by |
| 15 | * the Free Software Foundation; either version 2 of the License, or |
| 16 | * (at your option) any later version. |
| 17 | * |
| 18 | * This program is distributed in the hope that it will be useful, |
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 | * GNU General Public License for more details. |
| 22 | * |
| 23 | * You should have received a copy of the GNU General Public License |
| 24 | * along with this program; if not, see the file COPYING, or write |
| 25 | * to the Free Software Foundation, Inc., |
| 26 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 27 | */ |
| 28 | |
| 29 | #include <linux/init.h> |
| 30 | #include <linux/module.h> |
| 31 | #include <linux/device.h> |
| 32 | #include <linux/delay.h> |
| 33 | #include <sound/core.h> |
| 34 | #include <sound/pcm.h> |
| 35 | #include <sound/pcm_params.h> |
| 36 | #include <sound/initval.h> |
| 37 | #include <sound/soc.h> |
| 38 | |
| 39 | #include <asm/irq.h> |
| 40 | #include <asm/portmux.h> |
| 41 | #include <linux/mutex.h> |
| 42 | #include <linux/gpio.h> |
| 43 | |
| 44 | #include "bf5xx-sport.h" |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 45 | |
| 46 | struct bf5xx_i2s_port { |
| 47 | u16 tcr1; |
| 48 | u16 rcr1; |
| 49 | u16 tcr2; |
| 50 | u16 rcr2; |
Cliff Cai | 895c9c0 | 2009-06-20 11:29:05 -0400 | [diff] [blame] | 51 | int configured; |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 52 | }; |
| 53 | |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 54 | static int bf5xx_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai, |
| 55 | unsigned int fmt) |
| 56 | { |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 57 | struct sport_device *sport_handle = snd_soc_dai_get_drvdata(cpu_dai); |
| 58 | struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 59 | int ret = 0; |
| 60 | |
| 61 | /* interface format:support I2S,slave mode */ |
| 62 | switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { |
| 63 | case SND_SOC_DAIFMT_I2S: |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 64 | bf5xx_i2s->tcr1 |= TFSR | TCKFE; |
| 65 | bf5xx_i2s->rcr1 |= RFSR | RCKFE; |
| 66 | bf5xx_i2s->tcr2 |= TSFSE; |
| 67 | bf5xx_i2s->rcr2 |= RSFSE; |
Cliff Cai | 3339268 | 2008-09-27 22:30:15 +0800 | [diff] [blame] | 68 | break; |
| 69 | case SND_SOC_DAIFMT_DSP_A: |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 70 | bf5xx_i2s->tcr1 |= TFSR; |
| 71 | bf5xx_i2s->rcr1 |= RFSR; |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 72 | break; |
| 73 | case SND_SOC_DAIFMT_LEFT_J: |
| 74 | ret = -EINVAL; |
| 75 | break; |
| 76 | default: |
Cliff Cai | c3e5203 | 2008-10-27 17:09:25 +0800 | [diff] [blame] | 77 | printk(KERN_ERR "%s: Unknown DAI format type\n", __func__); |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 78 | ret = -EINVAL; |
| 79 | break; |
| 80 | } |
| 81 | |
| 82 | switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 83 | case SND_SOC_DAIFMT_CBM_CFM: |
| 84 | break; |
Cliff Cai | c3e5203 | 2008-10-27 17:09:25 +0800 | [diff] [blame] | 85 | case SND_SOC_DAIFMT_CBS_CFS: |
| 86 | case SND_SOC_DAIFMT_CBM_CFS: |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 87 | case SND_SOC_DAIFMT_CBS_CFM: |
| 88 | ret = -EINVAL; |
| 89 | break; |
| 90 | default: |
Cliff Cai | c3e5203 | 2008-10-27 17:09:25 +0800 | [diff] [blame] | 91 | printk(KERN_ERR "%s: Unknown DAI master type\n", __func__); |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 92 | ret = -EINVAL; |
| 93 | break; |
| 94 | } |
| 95 | |
| 96 | return ret; |
| 97 | } |
| 98 | |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 99 | static int bf5xx_i2s_hw_params(struct snd_pcm_substream *substream, |
Mark Brown | dee89c4 | 2008-11-18 22:11:38 +0000 | [diff] [blame] | 100 | struct snd_pcm_hw_params *params, |
| 101 | struct snd_soc_dai *dai) |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 102 | { |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 103 | struct sport_device *sport_handle = snd_soc_dai_get_drvdata(dai); |
| 104 | struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 105 | int ret = 0; |
| 106 | |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 107 | bf5xx_i2s->tcr2 &= ~0x1f; |
| 108 | bf5xx_i2s->rcr2 &= ~0x1f; |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 109 | switch (params_format(params)) { |
Cliff Cai | 4b2ffc2 | 2011-03-26 03:05:08 -0400 | [diff] [blame] | 110 | case SNDRV_PCM_FORMAT_S8: |
| 111 | bf5xx_i2s->tcr2 |= 7; |
| 112 | bf5xx_i2s->rcr2 |= 7; |
| 113 | sport_handle->wdsize = 1; |
Takashi Iwai | f80bb9c | 2013-11-13 17:15:00 +0100 | [diff] [blame] | 114 | break; |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 115 | case SNDRV_PCM_FORMAT_S16_LE: |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 116 | bf5xx_i2s->tcr2 |= 15; |
| 117 | bf5xx_i2s->rcr2 |= 15; |
Cliff Cai | 3339268 | 2008-09-27 22:30:15 +0800 | [diff] [blame] | 118 | sport_handle->wdsize = 2; |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 119 | break; |
| 120 | case SNDRV_PCM_FORMAT_S24_LE: |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 121 | bf5xx_i2s->tcr2 |= 23; |
| 122 | bf5xx_i2s->rcr2 |= 23; |
Cliff Cai | 3339268 | 2008-09-27 22:30:15 +0800 | [diff] [blame] | 123 | sport_handle->wdsize = 3; |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 124 | break; |
| 125 | case SNDRV_PCM_FORMAT_S32_LE: |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 126 | bf5xx_i2s->tcr2 |= 31; |
| 127 | bf5xx_i2s->rcr2 |= 31; |
Cliff Cai | 3339268 | 2008-09-27 22:30:15 +0800 | [diff] [blame] | 128 | sport_handle->wdsize = 4; |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 129 | break; |
| 130 | } |
| 131 | |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 132 | if (!bf5xx_i2s->configured) { |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 133 | /* |
| 134 | * TX and RX are not independent,they are enabled at the |
| 135 | * same time, even if only one side is running. So, we |
| 136 | * need to configure both of them at the time when the first |
| 137 | * stream is opened. |
| 138 | * |
Cliff Cai | 3339268 | 2008-09-27 22:30:15 +0800 | [diff] [blame] | 139 | * CPU DAI:slave mode. |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 140 | */ |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 141 | bf5xx_i2s->configured = 1; |
| 142 | ret = sport_config_rx(sport_handle, bf5xx_i2s->rcr1, |
| 143 | bf5xx_i2s->rcr2, 0, 0); |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 144 | if (ret) { |
| 145 | pr_err("SPORT is busy!\n"); |
| 146 | return -EBUSY; |
| 147 | } |
| 148 | |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 149 | ret = sport_config_tx(sport_handle, bf5xx_i2s->tcr1, |
| 150 | bf5xx_i2s->tcr2, 0, 0); |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 151 | if (ret) { |
| 152 | pr_err("SPORT is busy!\n"); |
| 153 | return -EBUSY; |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | return 0; |
| 158 | } |
| 159 | |
Mark Brown | dee89c4 | 2008-11-18 22:11:38 +0000 | [diff] [blame] | 160 | static void bf5xx_i2s_shutdown(struct snd_pcm_substream *substream, |
| 161 | struct snd_soc_dai *dai) |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 162 | { |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 163 | struct sport_device *sport_handle = snd_soc_dai_get_drvdata(dai); |
| 164 | struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; |
| 165 | |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 166 | pr_debug("%s enter\n", __func__); |
Cliff Cai | 895c9c0 | 2009-06-20 11:29:05 -0400 | [diff] [blame] | 167 | /* No active stream, SPORT is allowed to be configured again. */ |
Barry Song | 766df6d | 2009-09-23 11:51:04 -0400 | [diff] [blame] | 168 | if (!dai->active) |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 169 | bf5xx_i2s->configured = 0; |
Cliff Cai | 3339268 | 2008-09-27 22:30:15 +0800 | [diff] [blame] | 170 | } |
| 171 | |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 172 | #ifdef CONFIG_PM |
Mark Brown | dc7d7b8 | 2008-12-03 18:21:52 +0000 | [diff] [blame] | 173 | static int bf5xx_i2s_suspend(struct snd_soc_dai *dai) |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 174 | { |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 175 | struct sport_device *sport_handle = snd_soc_dai_get_drvdata(dai); |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 176 | |
| 177 | pr_debug("%s : sport %d\n", __func__, dai->id); |
Cliff Cai | ad80efc | 2009-09-16 20:25:12 -0400 | [diff] [blame] | 178 | |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 179 | if (dai->capture_active) |
Cliff Cai | ad80efc | 2009-09-16 20:25:12 -0400 | [diff] [blame] | 180 | sport_rx_stop(sport_handle); |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 181 | if (dai->playback_active) |
Cliff Cai | ad80efc | 2009-09-16 20:25:12 -0400 | [diff] [blame] | 182 | sport_tx_stop(sport_handle); |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 183 | return 0; |
| 184 | } |
| 185 | |
Barry Song | 92a6ad3 | 2009-06-20 11:29:57 -0400 | [diff] [blame] | 186 | static int bf5xx_i2s_resume(struct snd_soc_dai *dai) |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 187 | { |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 188 | struct sport_device *sport_handle = snd_soc_dai_get_drvdata(dai); |
| 189 | struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 190 | int ret; |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 191 | |
| 192 | pr_debug("%s : sport %d\n", __func__, dai->id); |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 193 | |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 194 | ret = sport_config_rx(sport_handle, bf5xx_i2s->rcr1, |
| 195 | bf5xx_i2s->rcr2, 0, 0); |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 196 | if (ret) { |
| 197 | pr_err("SPORT is busy!\n"); |
| 198 | return -EBUSY; |
| 199 | } |
| 200 | |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 201 | ret = sport_config_tx(sport_handle, bf5xx_i2s->tcr1, |
| 202 | bf5xx_i2s->tcr2, 0, 0); |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 203 | if (ret) { |
| 204 | pr_err("SPORT is busy!\n"); |
| 205 | return -EBUSY; |
| 206 | } |
| 207 | |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 208 | return 0; |
| 209 | } |
| 210 | |
| 211 | #else |
| 212 | #define bf5xx_i2s_suspend NULL |
| 213 | #define bf5xx_i2s_resume NULL |
| 214 | #endif |
| 215 | |
| 216 | #define BF5XX_I2S_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\ |
| 217 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 | \ |
| 218 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | \ |
| 219 | SNDRV_PCM_RATE_96000) |
| 220 | |
Cliff Cai | 4b2ffc2 | 2011-03-26 03:05:08 -0400 | [diff] [blame] | 221 | #define BF5XX_I2S_FORMATS \ |
| 222 | (SNDRV_PCM_FMTBIT_S8 | \ |
| 223 | SNDRV_PCM_FMTBIT_S16_LE | \ |
| 224 | SNDRV_PCM_FMTBIT_S24_LE | \ |
| 225 | SNDRV_PCM_FMTBIT_S32_LE) |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 226 | |
Lars-Peter Clausen | 85e7652 | 2011-11-23 11:40:40 +0100 | [diff] [blame] | 227 | static const struct snd_soc_dai_ops bf5xx_i2s_dai_ops = { |
Eric Miao | 6335d05 | 2009-03-03 09:41:00 +0800 | [diff] [blame] | 228 | .shutdown = bf5xx_i2s_shutdown, |
| 229 | .hw_params = bf5xx_i2s_hw_params, |
| 230 | .set_fmt = bf5xx_i2s_set_dai_fmt, |
| 231 | }; |
| 232 | |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 233 | static struct snd_soc_dai_driver bf5xx_i2s_dai = { |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 234 | .suspend = bf5xx_i2s_suspend, |
| 235 | .resume = bf5xx_i2s_resume, |
| 236 | .playback = { |
Cliff Cai | 3339268 | 2008-09-27 22:30:15 +0800 | [diff] [blame] | 237 | .channels_min = 1, |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 238 | .channels_max = 2, |
| 239 | .rates = BF5XX_I2S_RATES, |
| 240 | .formats = BF5XX_I2S_FORMATS,}, |
| 241 | .capture = { |
Cliff Cai | 3339268 | 2008-09-27 22:30:15 +0800 | [diff] [blame] | 242 | .channels_min = 1, |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 243 | .channels_max = 2, |
| 244 | .rates = BF5XX_I2S_RATES, |
| 245 | .formats = BF5XX_I2S_FORMATS,}, |
Eric Miao | 6335d05 | 2009-03-03 09:41:00 +0800 | [diff] [blame] | 246 | .ops = &bf5xx_i2s_dai_ops, |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 247 | }; |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 248 | |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 249 | static int __devinit bf5xx_i2s_probe(struct platform_device *pdev) |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 250 | { |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 251 | struct sport_device *sport_handle; |
| 252 | int ret; |
| 253 | |
| 254 | /* configure SPORT for I2S */ |
| 255 | sport_handle = sport_init(pdev, 4, 2 * sizeof(u32), |
| 256 | sizeof(struct bf5xx_i2s_port)); |
| 257 | if (!sport_handle) |
| 258 | return -ENODEV; |
| 259 | |
| 260 | /* register with the ASoC layers */ |
| 261 | ret = snd_soc_register_dai(&pdev->dev, &bf5xx_i2s_dai); |
| 262 | if (ret) { |
| 263 | pr_err("Failed to register DAI: %d\n", ret); |
| 264 | sport_done(sport_handle); |
| 265 | return ret; |
| 266 | } |
| 267 | |
| 268 | return 0; |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 269 | } |
| 270 | |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 271 | static int __devexit bf5xx_i2s_remove(struct platform_device *pdev) |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 272 | { |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 273 | struct sport_device *sport_handle = platform_get_drvdata(pdev); |
| 274 | |
| 275 | pr_debug("%s enter\n", __func__); |
| 276 | |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 277 | snd_soc_unregister_dai(&pdev->dev); |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 278 | sport_done(sport_handle); |
| 279 | |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 280 | return 0; |
| 281 | } |
| 282 | |
| 283 | static struct platform_driver bfin_i2s_driver = { |
Barry Song | 2c66cb9 | 2011-03-28 01:45:10 -0400 | [diff] [blame] | 284 | .probe = bf5xx_i2s_probe, |
| 285 | .remove = __devexit_p(bf5xx_i2s_remove), |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 286 | .driver = { |
Mike Frysinger | bfe4ee0 | 2011-03-28 01:45:09 -0400 | [diff] [blame] | 287 | .name = "bfin-i2s", |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 288 | .owner = THIS_MODULE, |
| 289 | }, |
| 290 | }; |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 291 | |
Axel Lin | fb80297 | 2011-11-24 14:44:52 +0800 | [diff] [blame] | 292 | module_platform_driver(bfin_i2s_driver); |
Mark Brown | 3f4b783 | 2008-12-03 19:26:35 +0000 | [diff] [blame] | 293 | |
Cliff Cai | 912c2ac | 2008-09-05 18:21:39 +0800 | [diff] [blame] | 294 | /* Module information */ |
| 295 | MODULE_AUTHOR("Cliff Cai"); |
| 296 | MODULE_DESCRIPTION("I2S driver for ADI Blackfin"); |
| 297 | MODULE_LICENSE("GPL"); |
| 298 | |