Mark Brown | 9b8dc66 | 2011-04-12 17:24:39 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Speyside audio support |
| 3 | * |
| 4 | * Copyright 2011 Wolfson Microelectronics |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify it |
| 7 | * under the terms of the GNU General Public License as published by the |
| 8 | * Free Software Foundation; either version 2 of the License, or (at your |
| 9 | * option) any later version. |
| 10 | */ |
| 11 | |
| 12 | #include <sound/soc.h> |
| 13 | #include <sound/soc-dapm.h> |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 14 | #include <sound/jack.h> |
| 15 | #include <linux/gpio.h> |
Mark Brown | 9b8dc66 | 2011-04-12 17:24:39 -0700 | [diff] [blame] | 16 | |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 17 | #include "../codecs/wm8996.h" |
Mark Brown | ea3e98e | 2011-04-11 23:42:25 -0700 | [diff] [blame] | 18 | #include "../codecs/wm9081.h" |
Mark Brown | 9b8dc66 | 2011-04-12 17:24:39 -0700 | [diff] [blame] | 19 | |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 20 | #define WM8996_HPSEL_GPIO 214 |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 21 | |
Mark Brown | ea0a591 | 2011-04-11 23:32:03 -0700 | [diff] [blame] | 22 | static int speyside_set_bias_level(struct snd_soc_card *card, |
Mark Brown | d4c6005 | 2011-06-06 19:13:23 +0100 | [diff] [blame] | 23 | struct snd_soc_dapm_context *dapm, |
Mark Brown | ea0a591 | 2011-04-11 23:32:03 -0700 | [diff] [blame] | 24 | enum snd_soc_bias_level level) |
| 25 | { |
| 26 | struct snd_soc_dai *codec_dai = card->rtd[0].codec_dai; |
| 27 | int ret; |
| 28 | |
Mark Brown | d4c6005 | 2011-06-06 19:13:23 +0100 | [diff] [blame] | 29 | if (dapm->dev != codec_dai->dev) |
| 30 | return 0; |
| 31 | |
Mark Brown | ea0a591 | 2011-04-11 23:32:03 -0700 | [diff] [blame] | 32 | switch (level) { |
| 33 | case SND_SOC_BIAS_STANDBY: |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 34 | ret = snd_soc_dai_set_sysclk(codec_dai, WM8996_SYSCLK_MCLK2, |
Mark Brown | ea0a591 | 2011-04-11 23:32:03 -0700 | [diff] [blame] | 35 | 32768, SND_SOC_CLOCK_IN); |
| 36 | if (ret < 0) |
| 37 | return ret; |
| 38 | |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 39 | ret = snd_soc_dai_set_pll(codec_dai, WM8996_FLL_MCLK2, |
Mark Brown | ea0a591 | 2011-04-11 23:32:03 -0700 | [diff] [blame] | 40 | 0, 0, 0); |
| 41 | if (ret < 0) { |
| 42 | pr_err("Failed to stop FLL\n"); |
| 43 | return ret; |
| 44 | } |
Mark Brown | 85e9e76 | 2011-06-06 19:12:44 +0100 | [diff] [blame] | 45 | break; |
Mark Brown | ea0a591 | 2011-04-11 23:32:03 -0700 | [diff] [blame] | 46 | |
| 47 | default: |
| 48 | break; |
| 49 | } |
| 50 | |
| 51 | return 0; |
| 52 | } |
| 53 | |
Mark Brown | 85e9e76 | 2011-06-06 19:12:44 +0100 | [diff] [blame] | 54 | static int speyside_set_bias_level_post(struct snd_soc_card *card, |
| 55 | struct snd_soc_dapm_context *dapm, |
| 56 | enum snd_soc_bias_level level) |
| 57 | { |
| 58 | struct snd_soc_dai *codec_dai = card->rtd[0].codec_dai; |
| 59 | int ret; |
| 60 | |
| 61 | if (dapm->dev != codec_dai->dev) |
| 62 | return 0; |
| 63 | |
| 64 | switch (level) { |
| 65 | case SND_SOC_BIAS_PREPARE: |
| 66 | if (card->dapm.bias_level == SND_SOC_BIAS_STANDBY) { |
| 67 | ret = snd_soc_dai_set_pll(codec_dai, 0, |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 68 | WM8996_FLL_MCLK2, |
Mark Brown | 85e9e76 | 2011-06-06 19:12:44 +0100 | [diff] [blame] | 69 | 32768, 48000 * 256); |
| 70 | if (ret < 0) { |
| 71 | pr_err("Failed to start FLL\n"); |
| 72 | return ret; |
| 73 | } |
| 74 | |
| 75 | ret = snd_soc_dai_set_sysclk(codec_dai, |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 76 | WM8996_SYSCLK_FLL, |
Mark Brown | 85e9e76 | 2011-06-06 19:12:44 +0100 | [diff] [blame] | 77 | 48000 * 256, |
| 78 | SND_SOC_CLOCK_IN); |
| 79 | if (ret < 0) |
| 80 | return ret; |
| 81 | } |
| 82 | break; |
| 83 | |
| 84 | default: |
| 85 | break; |
| 86 | } |
| 87 | |
| 88 | card->dapm.bias_level = level; |
| 89 | |
| 90 | return 0; |
| 91 | } |
| 92 | |
Mark Brown | 9b8dc66 | 2011-04-12 17:24:39 -0700 | [diff] [blame] | 93 | static int speyside_hw_params(struct snd_pcm_substream *substream, |
| 94 | struct snd_pcm_hw_params *params) |
| 95 | { |
| 96 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
| 97 | struct snd_soc_dai *cpu_dai = rtd->cpu_dai; |
| 98 | struct snd_soc_dai *codec_dai = rtd->codec_dai; |
| 99 | int ret; |
| 100 | |
| 101 | ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S |
| 102 | | SND_SOC_DAIFMT_NB_NF |
| 103 | | SND_SOC_DAIFMT_CBM_CFM); |
| 104 | if (ret < 0) |
| 105 | return ret; |
| 106 | |
| 107 | ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_I2S |
| 108 | | SND_SOC_DAIFMT_NB_NF |
| 109 | | SND_SOC_DAIFMT_CBM_CFM); |
| 110 | if (ret < 0) |
| 111 | return ret; |
| 112 | |
Mark Brown | 9b8dc66 | 2011-04-12 17:24:39 -0700 | [diff] [blame] | 113 | return 0; |
| 114 | } |
| 115 | |
| 116 | static struct snd_soc_ops speyside_ops = { |
| 117 | .hw_params = speyside_hw_params, |
| 118 | }; |
| 119 | |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 120 | static struct snd_soc_jack speyside_headset; |
| 121 | |
| 122 | /* Headset jack detection DAPM pins */ |
| 123 | static struct snd_soc_jack_pin speyside_headset_pins[] = { |
| 124 | { |
| 125 | .pin = "Headset Mic", |
| 126 | .mask = SND_JACK_MICROPHONE, |
| 127 | }, |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 128 | }; |
| 129 | |
| 130 | /* Default the headphone selection to active high */ |
| 131 | static int speyside_jack_polarity; |
| 132 | |
| 133 | static int speyside_get_micbias(struct snd_soc_dapm_widget *source, |
| 134 | struct snd_soc_dapm_widget *sink) |
| 135 | { |
| 136 | if (speyside_jack_polarity && (strcmp(source->name, "MICB1") == 0)) |
| 137 | return 1; |
| 138 | if (!speyside_jack_polarity && (strcmp(source->name, "MICB2") == 0)) |
| 139 | return 1; |
| 140 | |
| 141 | return 0; |
| 142 | } |
| 143 | |
| 144 | static void speyside_set_polarity(struct snd_soc_codec *codec, |
| 145 | int polarity) |
| 146 | { |
| 147 | speyside_jack_polarity = !polarity; |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 148 | gpio_direction_output(WM8996_HPSEL_GPIO, speyside_jack_polarity); |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 149 | |
| 150 | /* Re-run DAPM to make sure we're using the correct mic bias */ |
| 151 | snd_soc_dapm_sync(&codec->dapm); |
| 152 | } |
| 153 | |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 154 | static int speyside_wm8996_init(struct snd_soc_pcm_runtime *rtd) |
Mark Brown | ea0a591 | 2011-04-11 23:32:03 -0700 | [diff] [blame] | 155 | { |
| 156 | struct snd_soc_dai *dai = rtd->codec_dai; |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 157 | struct snd_soc_codec *codec = rtd->codec; |
| 158 | int ret; |
Mark Brown | ea0a591 | 2011-04-11 23:32:03 -0700 | [diff] [blame] | 159 | |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 160 | ret = snd_soc_dai_set_sysclk(dai, WM8996_SYSCLK_MCLK2, 32768, 0); |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 161 | if (ret < 0) |
| 162 | return ret; |
| 163 | |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 164 | ret = gpio_request(WM8996_HPSEL_GPIO, "HP_SEL"); |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 165 | if (ret != 0) |
| 166 | pr_err("Failed to request HP_SEL GPIO: %d\n", ret); |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 167 | gpio_direction_output(WM8996_HPSEL_GPIO, speyside_jack_polarity); |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 168 | |
| 169 | ret = snd_soc_jack_new(codec, "Headset", |
| 170 | SND_JACK_HEADSET | SND_JACK_BTN_0, |
| 171 | &speyside_headset); |
| 172 | if (ret) |
| 173 | return ret; |
| 174 | |
| 175 | ret = snd_soc_jack_add_pins(&speyside_headset, |
| 176 | ARRAY_SIZE(speyside_headset_pins), |
| 177 | speyside_headset_pins); |
| 178 | if (ret) |
| 179 | return ret; |
| 180 | |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 181 | wm8996_detect(codec, &speyside_headset, speyside_set_polarity); |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 182 | |
| 183 | return 0; |
Mark Brown | ea0a591 | 2011-04-11 23:32:03 -0700 | [diff] [blame] | 184 | } |
| 185 | |
Mark Brown | b7a5d14 | 2011-04-12 17:37:52 -0700 | [diff] [blame] | 186 | static int speyside_late_probe(struct snd_soc_card *card) |
| 187 | { |
| 188 | snd_soc_dapm_ignore_suspend(&card->dapm, "Headphone"); |
| 189 | snd_soc_dapm_ignore_suspend(&card->dapm, "Headset Mic"); |
| 190 | snd_soc_dapm_ignore_suspend(&card->dapm, "Main AMIC"); |
| 191 | snd_soc_dapm_ignore_suspend(&card->dapm, "Main DMIC"); |
| 192 | snd_soc_dapm_ignore_suspend(&card->dapm, "Speaker"); |
| 193 | snd_soc_dapm_ignore_suspend(&card->dapm, "WM1250 Output"); |
| 194 | snd_soc_dapm_ignore_suspend(&card->dapm, "WM1250 Input"); |
| 195 | |
| 196 | return 0; |
| 197 | } |
| 198 | |
Mark Brown | 9b8dc66 | 2011-04-12 17:24:39 -0700 | [diff] [blame] | 199 | static struct snd_soc_dai_link speyside_dai[] = { |
| 200 | { |
| 201 | .name = "CPU", |
| 202 | .stream_name = "CPU", |
| 203 | .cpu_dai_name = "samsung-i2s.0", |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 204 | .codec_dai_name = "wm8996-aif1", |
Mark Brown | 9b8dc66 | 2011-04-12 17:24:39 -0700 | [diff] [blame] | 205 | .platform_name = "samsung-audio", |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 206 | .codec_name = "wm8996.1-001a", |
| 207 | .init = speyside_wm8996_init, |
Mark Brown | 9b8dc66 | 2011-04-12 17:24:39 -0700 | [diff] [blame] | 208 | .ops = &speyside_ops, |
| 209 | }, |
Mark Brown | 556e4fb | 2011-04-12 14:15:10 -0700 | [diff] [blame] | 210 | { |
| 211 | .name = "Baseband", |
| 212 | .stream_name = "Baseband", |
Mark Brown | a9ba615 | 2011-06-24 12:10:44 +0100 | [diff] [blame] | 213 | .cpu_dai_name = "wm8996-aif2", |
Mark Brown | 556e4fb | 2011-04-12 14:15:10 -0700 | [diff] [blame] | 214 | .codec_dai_name = "wm1250-ev1", |
| 215 | .codec_name = "wm1250-ev1.1-0027", |
Mark Brown | 556e4fb | 2011-04-12 14:15:10 -0700 | [diff] [blame] | 216 | .ops = &speyside_ops, |
Mark Brown | b7a5d14 | 2011-04-12 17:37:52 -0700 | [diff] [blame] | 217 | .ignore_suspend = 1, |
Mark Brown | 556e4fb | 2011-04-12 14:15:10 -0700 | [diff] [blame] | 218 | }, |
Mark Brown | 9b8dc66 | 2011-04-12 17:24:39 -0700 | [diff] [blame] | 219 | }; |
| 220 | |
Mark Brown | ea3e98e | 2011-04-11 23:42:25 -0700 | [diff] [blame] | 221 | static int speyside_wm9081_init(struct snd_soc_dapm_context *dapm) |
| 222 | { |
| 223 | snd_soc_dapm_nc_pin(dapm, "LINEOUT"); |
| 224 | |
| 225 | /* At any time the WM9081 is active it will have this clock */ |
Mark Brown | da1c6ea | 2011-08-24 20:09:01 +0100 | [diff] [blame^] | 226 | return snd_soc_codec_set_sysclk(dapm->codec, WM9081_SYSCLK_MCLK, 0, |
Mark Brown | ea3e98e | 2011-04-11 23:42:25 -0700 | [diff] [blame] | 227 | 48000 * 256, 0); |
| 228 | } |
| 229 | |
| 230 | static struct snd_soc_aux_dev speyside_aux_dev[] = { |
| 231 | { |
| 232 | .name = "wm9081", |
| 233 | .codec_name = "wm9081.1-006c", |
| 234 | .init = speyside_wm9081_init, |
| 235 | }, |
| 236 | }; |
| 237 | |
| 238 | static struct snd_soc_codec_conf speyside_codec_conf[] = { |
| 239 | { |
| 240 | .dev_name = "wm9081.1-006c", |
| 241 | .name_prefix = "Sub", |
| 242 | }, |
| 243 | }; |
| 244 | |
Mark Brown | ea0e60d | 2011-04-12 00:09:53 -0700 | [diff] [blame] | 245 | static const struct snd_kcontrol_new controls[] = { |
| 246 | SOC_DAPM_PIN_SWITCH("Main Speaker"), |
| 247 | SOC_DAPM_PIN_SWITCH("Main DMIC"), |
| 248 | SOC_DAPM_PIN_SWITCH("Main AMIC"), |
Mark Brown | 556e4fb | 2011-04-12 14:15:10 -0700 | [diff] [blame] | 249 | SOC_DAPM_PIN_SWITCH("WM1250 Input"), |
| 250 | SOC_DAPM_PIN_SWITCH("WM1250 Output"), |
Mark Brown | 68d5a59 | 2011-08-04 18:13:45 +0900 | [diff] [blame] | 251 | SOC_DAPM_PIN_SWITCH("Headphone"), |
Mark Brown | ea0e60d | 2011-04-12 00:09:53 -0700 | [diff] [blame] | 252 | }; |
| 253 | |
Mark Brown | ecfb1ad | 2011-04-11 23:09:15 -0700 | [diff] [blame] | 254 | static struct snd_soc_dapm_widget widgets[] = { |
| 255 | SND_SOC_DAPM_HP("Headphone", NULL), |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 256 | SND_SOC_DAPM_MIC("Headset Mic", NULL), |
Mark Brown | ecfb1ad | 2011-04-11 23:09:15 -0700 | [diff] [blame] | 257 | |
| 258 | SND_SOC_DAPM_SPK("Main Speaker", NULL), |
| 259 | |
| 260 | SND_SOC_DAPM_MIC("Main AMIC", NULL), |
| 261 | SND_SOC_DAPM_MIC("Main DMIC", NULL), |
| 262 | }; |
| 263 | |
| 264 | static struct snd_soc_dapm_route audio_paths[] = { |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 265 | { "IN1RN", NULL, "MICB1" }, |
| 266 | { "IN1RP", NULL, "MICB1" }, |
| 267 | { "IN1RN", NULL, "MICB2" }, |
| 268 | { "IN1RP", NULL, "MICB2" }, |
| 269 | { "MICB1", NULL, "Headset Mic", speyside_get_micbias }, |
| 270 | { "MICB2", NULL, "Headset Mic", speyside_get_micbias }, |
| 271 | |
Mark Brown | ecfb1ad | 2011-04-11 23:09:15 -0700 | [diff] [blame] | 272 | { "IN1LP", NULL, "MICB2" }, |
Mark Brown | 68688e7 | 2011-04-12 00:00:36 -0700 | [diff] [blame] | 273 | { "IN1RN", NULL, "MICB1" }, |
Mark Brown | ecfb1ad | 2011-04-11 23:09:15 -0700 | [diff] [blame] | 274 | { "MICB2", NULL, "Main AMIC" }, |
| 275 | |
| 276 | { "DMIC1DAT", NULL, "MICB1" }, |
| 277 | { "DMIC2DAT", NULL, "MICB1" }, |
| 278 | { "MICB1", NULL, "Main DMIC" }, |
| 279 | |
| 280 | { "Headphone", NULL, "HPOUT1L" }, |
| 281 | { "Headphone", NULL, "HPOUT1R" }, |
| 282 | |
Mark Brown | ea3e98e | 2011-04-11 23:42:25 -0700 | [diff] [blame] | 283 | { "Sub IN1", NULL, "HPOUT2L" }, |
| 284 | { "Sub IN2", NULL, "HPOUT2R" }, |
| 285 | |
| 286 | { "Main Speaker", NULL, "Sub SPKN" }, |
| 287 | { "Main Speaker", NULL, "Sub SPKP" }, |
Mark Brown | ecfb1ad | 2011-04-11 23:09:15 -0700 | [diff] [blame] | 288 | { "Main Speaker", NULL, "SPKDAT" }, |
| 289 | }; |
| 290 | |
Mark Brown | 9b8dc66 | 2011-04-12 17:24:39 -0700 | [diff] [blame] | 291 | static struct snd_soc_card speyside = { |
| 292 | .name = "Speyside", |
| 293 | .dai_link = speyside_dai, |
| 294 | .num_links = ARRAY_SIZE(speyside_dai), |
Mark Brown | ea3e98e | 2011-04-11 23:42:25 -0700 | [diff] [blame] | 295 | .aux_dev = speyside_aux_dev, |
| 296 | .num_aux_devs = ARRAY_SIZE(speyside_aux_dev), |
| 297 | .codec_conf = speyside_codec_conf, |
| 298 | .num_configs = ARRAY_SIZE(speyside_codec_conf), |
Mark Brown | ecfb1ad | 2011-04-11 23:09:15 -0700 | [diff] [blame] | 299 | |
Mark Brown | ea0a591 | 2011-04-11 23:32:03 -0700 | [diff] [blame] | 300 | .set_bias_level = speyside_set_bias_level, |
Mark Brown | 995e54f | 2011-06-08 16:11:18 +0100 | [diff] [blame] | 301 | .set_bias_level_post = speyside_set_bias_level_post, |
Mark Brown | ea0a591 | 2011-04-11 23:32:03 -0700 | [diff] [blame] | 302 | |
Mark Brown | ea0e60d | 2011-04-12 00:09:53 -0700 | [diff] [blame] | 303 | .controls = controls, |
| 304 | .num_controls = ARRAY_SIZE(controls), |
Mark Brown | ecfb1ad | 2011-04-11 23:09:15 -0700 | [diff] [blame] | 305 | .dapm_widgets = widgets, |
| 306 | .num_dapm_widgets = ARRAY_SIZE(widgets), |
| 307 | .dapm_routes = audio_paths, |
| 308 | .num_dapm_routes = ARRAY_SIZE(audio_paths), |
Mark Brown | b7a5d14 | 2011-04-12 17:37:52 -0700 | [diff] [blame] | 309 | |
| 310 | .late_probe = speyside_late_probe, |
Mark Brown | 9b8dc66 | 2011-04-12 17:24:39 -0700 | [diff] [blame] | 311 | }; |
| 312 | |
| 313 | static __devinit int speyside_probe(struct platform_device *pdev) |
| 314 | { |
| 315 | struct snd_soc_card *card = &speyside; |
| 316 | int ret; |
| 317 | |
| 318 | card->dev = &pdev->dev; |
| 319 | |
| 320 | ret = snd_soc_register_card(card); |
| 321 | if (ret) { |
| 322 | dev_err(&pdev->dev, "snd_soc_register_card() failed: %d\n", |
| 323 | ret); |
| 324 | return ret; |
| 325 | } |
| 326 | |
| 327 | return 0; |
| 328 | } |
| 329 | |
| 330 | static int __devexit speyside_remove(struct platform_device *pdev) |
| 331 | { |
| 332 | struct snd_soc_card *card = platform_get_drvdata(pdev); |
| 333 | |
| 334 | snd_soc_unregister_card(card); |
| 335 | |
| 336 | return 0; |
| 337 | } |
| 338 | |
| 339 | static struct platform_driver speyside_driver = { |
| 340 | .driver = { |
| 341 | .name = "speyside", |
| 342 | .owner = THIS_MODULE, |
| 343 | .pm = &snd_soc_pm_ops, |
| 344 | }, |
| 345 | .probe = speyside_probe, |
| 346 | .remove = __devexit_p(speyside_remove), |
| 347 | }; |
| 348 | |
| 349 | static int __init speyside_audio_init(void) |
| 350 | { |
| 351 | return platform_driver_register(&speyside_driver); |
| 352 | } |
| 353 | module_init(speyside_audio_init); |
| 354 | |
| 355 | static void __exit speyside_audio_exit(void) |
| 356 | { |
| 357 | platform_driver_unregister(&speyside_driver); |
| 358 | } |
| 359 | module_exit(speyside_audio_exit); |
| 360 | |
| 361 | MODULE_DESCRIPTION("Speyside audio support"); |
| 362 | MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); |
| 363 | MODULE_LICENSE("GPL"); |
| 364 | MODULE_ALIAS("platform:speyside"); |