jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 1 | /* |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 2 | * smdk_wm8580.c |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 3 | * |
| 4 | * Copyright (c) 2009 Samsung Electronics Co. Ltd |
| 5 | * Author: Jaswinder Singh <jassi.brar@samsung.com> |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify it |
| 8 | * under the terms of the GNU General Public License as published by the |
| 9 | * Free Software Foundation; either version 2 of the License, or (at your |
| 10 | * option) any later version. |
| 11 | */ |
| 12 | |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 13 | #include <sound/soc.h> |
Seungwhan Youn | 0378b6a | 2011-01-11 07:26:06 +0900 | [diff] [blame] | 14 | #include <sound/pcm_params.h> |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 15 | |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 16 | #include <asm/mach-types.h> |
| 17 | |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 18 | #include "../codecs/wm8580.h" |
Jassi Brar | 0fff21a | 2010-11-22 15:37:07 +0900 | [diff] [blame] | 19 | #include "i2s.h" |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 20 | |
Mark Brown | 9d37e89 | 2010-08-06 17:57:45 +0100 | [diff] [blame] | 21 | /* |
| 22 | * Default CFG switch settings to use this driver: |
| 23 | * |
| 24 | * SMDK6410: Set CFG1 1-3 Off, CFG2 1-4 On |
| 25 | */ |
| 26 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 27 | /* SMDK has a 12MHZ crystal attached to WM8580 */ |
| 28 | #define SMDK_WM8580_FREQ 12000000 |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 29 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 30 | static int smdk_hw_params(struct snd_pcm_substream *substream, |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 31 | struct snd_pcm_hw_params *params) |
| 32 | { |
| 33 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 34 | struct snd_soc_dai *cpu_dai = rtd->cpu_dai; |
| 35 | struct snd_soc_dai *codec_dai = rtd->codec_dai; |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 36 | unsigned int pll_out; |
| 37 | int bfs, rfs, ret; |
| 38 | |
| 39 | switch (params_format(params)) { |
| 40 | case SNDRV_PCM_FORMAT_U8: |
| 41 | case SNDRV_PCM_FORMAT_S8: |
| 42 | bfs = 16; |
| 43 | break; |
| 44 | case SNDRV_PCM_FORMAT_U16_LE: |
| 45 | case SNDRV_PCM_FORMAT_S16_LE: |
| 46 | bfs = 32; |
| 47 | break; |
| 48 | default: |
| 49 | return -EINVAL; |
| 50 | } |
| 51 | |
| 52 | /* The Fvco for WM8580 PLLs must fall within [90,100]MHz. |
| 53 | * This criterion can't be met if we request PLL output |
| 54 | * as {8000x256, 64000x256, 11025x256}Hz. |
| 55 | * As a wayout, we rather change rfs to a minimum value that |
| 56 | * results in (params_rate(params) * rfs), and itself, acceptable |
| 57 | * to both - the CODEC and the CPU. |
| 58 | */ |
| 59 | switch (params_rate(params)) { |
| 60 | case 16000: |
| 61 | case 22050: |
| 62 | case 32000: |
| 63 | case 44100: |
| 64 | case 48000: |
| 65 | case 88200: |
| 66 | case 96000: |
| 67 | rfs = 256; |
| 68 | break; |
| 69 | case 64000: |
| 70 | rfs = 384; |
| 71 | break; |
| 72 | case 8000: |
| 73 | case 11025: |
| 74 | rfs = 512; |
| 75 | break; |
| 76 | default: |
| 77 | return -EINVAL; |
| 78 | } |
| 79 | pll_out = params_rate(params) * rfs; |
| 80 | |
| 81 | /* Set the Codec DAI configuration */ |
| 82 | ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S |
| 83 | | SND_SOC_DAIFMT_NB_NF |
| 84 | | SND_SOC_DAIFMT_CBM_CFM); |
| 85 | if (ret < 0) |
| 86 | return ret; |
| 87 | |
| 88 | /* Set the AP DAI configuration */ |
| 89 | ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_I2S |
| 90 | | SND_SOC_DAIFMT_NB_NF |
| 91 | | SND_SOC_DAIFMT_CBM_CFM); |
| 92 | if (ret < 0) |
| 93 | return ret; |
| 94 | |
Mark Brown | 26d95b6 | 2009-10-28 15:47:48 +0000 | [diff] [blame] | 95 | /* Set WM8580 to drive MCLK from its PLLA */ |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 96 | ret = snd_soc_dai_set_clkdiv(codec_dai, WM8580_MCLK, |
| 97 | WM8580_CLKSRC_PLLA); |
| 98 | if (ret < 0) |
| 99 | return ret; |
| 100 | |
Mark Brown | c5607d8 | 2010-08-13 19:05:04 +0100 | [diff] [blame] | 101 | ret = snd_soc_dai_set_pll(codec_dai, WM8580_PLLA, 0, |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 102 | SMDK_WM8580_FREQ, pll_out); |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 103 | if (ret < 0) |
| 104 | return ret; |
| 105 | |
Mark Brown | c5607d8 | 2010-08-13 19:05:04 +0100 | [diff] [blame] | 106 | ret = snd_soc_dai_set_sysclk(codec_dai, WM8580_CLKSRC_PLLA, |
| 107 | pll_out, SND_SOC_CLOCK_IN); |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 108 | if (ret < 0) |
| 109 | return ret; |
| 110 | |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 111 | return 0; |
| 112 | } |
| 113 | |
| 114 | /* |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 115 | * SMDK WM8580 DAI operations. |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 116 | */ |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 117 | static struct snd_soc_ops smdk_ops = { |
| 118 | .hw_params = smdk_hw_params, |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 119 | }; |
| 120 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 121 | /* SMDK Playback widgets */ |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 122 | static const struct snd_soc_dapm_widget wm8580_dapm_widgets_pbk[] = { |
Mark Brown | 698cb11 | 2010-08-06 17:23:02 +0100 | [diff] [blame] | 123 | SND_SOC_DAPM_HP("Front", NULL), |
| 124 | SND_SOC_DAPM_HP("Center+Sub", NULL), |
| 125 | SND_SOC_DAPM_HP("Rear", NULL), |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 126 | }; |
| 127 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 128 | /* SMDK Capture widgets */ |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 129 | static const struct snd_soc_dapm_widget wm8580_dapm_widgets_cpt[] = { |
| 130 | SND_SOC_DAPM_MIC("MicIn", NULL), |
| 131 | SND_SOC_DAPM_LINE("LineIn", NULL), |
| 132 | }; |
| 133 | |
| 134 | /* SMDK-PAIFTX connections */ |
| 135 | static const struct snd_soc_dapm_route audio_map_tx[] = { |
| 136 | /* MicIn feeds AINL */ |
| 137 | {"AINL", NULL, "MicIn"}, |
| 138 | |
| 139 | /* LineIn feeds AINL/R */ |
| 140 | {"AINL", NULL, "LineIn"}, |
| 141 | {"AINR", NULL, "LineIn"}, |
| 142 | }; |
| 143 | |
| 144 | /* SMDK-PAIFRX connections */ |
| 145 | static const struct snd_soc_dapm_route audio_map_rx[] = { |
| 146 | /* Front Left/Right are fed VOUT1L/R */ |
Mark Brown | 698cb11 | 2010-08-06 17:23:02 +0100 | [diff] [blame] | 147 | {"Front", NULL, "VOUT1L"}, |
| 148 | {"Front", NULL, "VOUT1R"}, |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 149 | |
| 150 | /* Center/Sub are fed VOUT2L/R */ |
Mark Brown | 698cb11 | 2010-08-06 17:23:02 +0100 | [diff] [blame] | 151 | {"Center+Sub", NULL, "VOUT2L"}, |
| 152 | {"Center+Sub", NULL, "VOUT2R"}, |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 153 | |
| 154 | /* Rear Left/Right are fed VOUT3L/R */ |
Mark Brown | 698cb11 | 2010-08-06 17:23:02 +0100 | [diff] [blame] | 155 | {"Rear", NULL, "VOUT3L"}, |
| 156 | {"Rear", NULL, "VOUT3R"}, |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 157 | }; |
| 158 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 159 | static int smdk_wm8580_init_paiftx(struct snd_soc_pcm_runtime *rtd) |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 160 | { |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 161 | struct snd_soc_codec *codec = rtd->codec; |
Liam Girdwood | ce6120c | 2010-11-05 15:53:46 +0200 | [diff] [blame] | 162 | struct snd_soc_dapm_context *dapm = &codec->dapm; |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 163 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 164 | /* Add smdk specific Capture widgets */ |
Liam Girdwood | ce6120c | 2010-11-05 15:53:46 +0200 | [diff] [blame] | 165 | snd_soc_dapm_new_controls(dapm, wm8580_dapm_widgets_cpt, |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 166 | ARRAY_SIZE(wm8580_dapm_widgets_cpt)); |
| 167 | |
| 168 | /* Set up PAIFTX audio path */ |
Liam Girdwood | ce6120c | 2010-11-05 15:53:46 +0200 | [diff] [blame] | 169 | snd_soc_dapm_add_routes(dapm, audio_map_tx, ARRAY_SIZE(audio_map_tx)); |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 170 | |
Mark Brown | 26d95b6 | 2009-10-28 15:47:48 +0000 | [diff] [blame] | 171 | /* Enabling the microphone requires the fitting of a 0R |
| 172 | * resistor to connect the line from the microphone jack. |
| 173 | */ |
Liam Girdwood | ce6120c | 2010-11-05 15:53:46 +0200 | [diff] [blame] | 174 | snd_soc_dapm_disable_pin(dapm, "MicIn"); |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 175 | |
| 176 | /* signal a DAPM event */ |
Liam Girdwood | ce6120c | 2010-11-05 15:53:46 +0200 | [diff] [blame] | 177 | snd_soc_dapm_sync(dapm); |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 178 | |
| 179 | return 0; |
| 180 | } |
| 181 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 182 | static int smdk_wm8580_init_paifrx(struct snd_soc_pcm_runtime *rtd) |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 183 | { |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 184 | struct snd_soc_codec *codec = rtd->codec; |
Liam Girdwood | ce6120c | 2010-11-05 15:53:46 +0200 | [diff] [blame] | 185 | struct snd_soc_dapm_context *dapm = &codec->dapm; |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 186 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 187 | /* Add smdk specific Playback widgets */ |
Liam Girdwood | ce6120c | 2010-11-05 15:53:46 +0200 | [diff] [blame] | 188 | snd_soc_dapm_new_controls(dapm, wm8580_dapm_widgets_pbk, |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 189 | ARRAY_SIZE(wm8580_dapm_widgets_pbk)); |
| 190 | |
| 191 | /* Set up PAIFRX audio path */ |
Liam Girdwood | ce6120c | 2010-11-05 15:53:46 +0200 | [diff] [blame] | 192 | snd_soc_dapm_add_routes(dapm, audio_map_rx, ARRAY_SIZE(audio_map_rx)); |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 193 | |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 194 | /* signal a DAPM event */ |
Liam Girdwood | ce6120c | 2010-11-05 15:53:46 +0200 | [diff] [blame] | 195 | snd_soc_dapm_sync(dapm); |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 196 | |
| 197 | return 0; |
| 198 | } |
| 199 | |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 200 | enum { |
| 201 | PRI_PLAYBACK = 0, |
| 202 | PRI_CAPTURE, |
| 203 | SEC_PLAYBACK, |
| 204 | }; |
| 205 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 206 | static struct snd_soc_dai_link smdk_dai[] = { |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 207 | [PRI_PLAYBACK] = { /* Primary Playback i/f */ |
| 208 | .name = "WM8580 PAIF RX", |
| 209 | .stream_name = "Playback", |
Jassi Brar | 72685f2 | 2010-12-20 11:05:48 +0900 | [diff] [blame] | 210 | .cpu_dai_name = "samsung-i2s.0", |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 211 | .codec_dai_name = "wm8580-hifi-playback", |
| 212 | .platform_name = "samsung-audio", |
Mark Brown | 5d5d09b | 2011-08-03 17:34:41 +0900 | [diff] [blame^] | 213 | .codec_name = "wm8580.0-001b", |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 214 | .init = smdk_wm8580_init_paifrx, |
| 215 | .ops = &smdk_ops, |
| 216 | }, |
| 217 | [PRI_CAPTURE] = { /* Primary Capture i/f */ |
| 218 | .name = "WM8580 PAIF TX", |
| 219 | .stream_name = "Capture", |
Jassi Brar | 72685f2 | 2010-12-20 11:05:48 +0900 | [diff] [blame] | 220 | .cpu_dai_name = "samsung-i2s.0", |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 221 | .codec_dai_name = "wm8580-hifi-capture", |
| 222 | .platform_name = "samsung-audio", |
Mark Brown | 5d5d09b | 2011-08-03 17:34:41 +0900 | [diff] [blame^] | 223 | .codec_name = "wm8580.0-001b", |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 224 | .init = smdk_wm8580_init_paiftx, |
| 225 | .ops = &smdk_ops, |
| 226 | }, |
| 227 | [SEC_PLAYBACK] = { /* Sec_Fifo Playback i/f */ |
| 228 | .name = "Sec_FIFO TX", |
| 229 | .stream_name = "Playback", |
| 230 | .cpu_dai_name = "samsung-i2s.x", |
| 231 | .codec_dai_name = "wm8580-hifi-playback", |
| 232 | .platform_name = "samsung-audio", |
Mark Brown | 5d5d09b | 2011-08-03 17:34:41 +0900 | [diff] [blame^] | 233 | .codec_name = "wm8580.0-001b", |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 234 | .init = smdk_wm8580_init_paifrx, |
| 235 | .ops = &smdk_ops, |
| 236 | }, |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 237 | }; |
| 238 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 239 | static struct snd_soc_card smdk = { |
| 240 | .name = "SMDK-I2S", |
| 241 | .dai_link = smdk_dai, |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 242 | .num_links = 2, |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 243 | }; |
| 244 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 245 | static struct platform_device *smdk_snd_device; |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 246 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 247 | static int __init smdk_audio_init(void) |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 248 | { |
| 249 | int ret; |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 250 | char *str; |
| 251 | |
Kukjin Kim | 4b42120 | 2011-05-11 16:28:45 +0900 | [diff] [blame] | 252 | if (machine_is_smdkc100() |
Jassi Brar | 40d2482 | 2010-12-20 11:05:55 +0900 | [diff] [blame] | 253 | || machine_is_smdkv210() || machine_is_smdkc110()) { |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 254 | smdk.num_links = 3; |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 255 | /* Secondary is at offset SAMSUNG_I2S_SECOFF from Primary */ |
| 256 | str = (char *)smdk_dai[SEC_PLAYBACK].cpu_dai_name; |
| 257 | str[strlen(str) - 1] = '0' + SAMSUNG_I2S_SECOFF; |
Jassi Brar | 72685f2 | 2010-12-20 11:05:48 +0900 | [diff] [blame] | 258 | } else if (machine_is_smdk6410()) { |
| 259 | str = (char *)smdk_dai[PRI_PLAYBACK].cpu_dai_name; |
| 260 | str[strlen(str) - 1] = '2'; |
| 261 | str = (char *)smdk_dai[PRI_CAPTURE].cpu_dai_name; |
| 262 | str[strlen(str) - 1] = '2'; |
Jassi Brar | b0f39c2 | 2010-11-22 15:37:19 +0900 | [diff] [blame] | 263 | } |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 264 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 265 | smdk_snd_device = platform_device_alloc("soc-audio", -1); |
| 266 | if (!smdk_snd_device) |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 267 | return -ENOMEM; |
| 268 | |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 269 | platform_set_drvdata(smdk_snd_device, &smdk); |
| 270 | ret = platform_device_add(smdk_snd_device); |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 271 | |
| 272 | if (ret) |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 273 | platform_device_put(smdk_snd_device); |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 274 | |
| 275 | return ret; |
| 276 | } |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 277 | module_init(smdk_audio_init); |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 278 | |
Mark Brown | 3853369 | 2010-11-24 17:18:45 +0000 | [diff] [blame] | 279 | static void __exit smdk_audio_exit(void) |
| 280 | { |
| 281 | platform_device_unregister(smdk_snd_device); |
| 282 | } |
| 283 | module_exit(smdk_audio_exit); |
| 284 | |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 285 | MODULE_AUTHOR("Jaswinder Singh, jassi.brar@samsung.com"); |
Jassi Brar | d98ce6c | 2010-11-22 15:37:16 +0900 | [diff] [blame] | 286 | MODULE_DESCRIPTION("ALSA SoC SMDK WM8580"); |
jassi brar | d0f5fa1 | 2009-09-19 09:46:06 +0900 | [diff] [blame] | 287 | MODULE_LICENSE("GPL"); |