blob: 9b4a09f14b6c4b2ed859dc45eb890049efac8de7 [file] [log] [blame]
Graeme Gregory74930bb2007-05-14 11:03:52 +02001/*
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +01002 * neo1973_wm8753.c -- SoC audio for Openmoko Neo1973 and Freerunner devices
Graeme Gregory74930bb2007-05-14 11:03:52 +02003 *
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +01004 * Copyright 2007 Openmoko Inc
5 * Author: Graeme Gregory <graeme@openmoko.org>
Graeme Gregory74930bb2007-05-14 11:03:52 +02006 * Copyright 2007 Wolfson Microelectronics PLC.
7 * Author: Graeme Gregory
8 * graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +01009 * Copyright 2009 Wolfson Microelectronics
Graeme Gregory74930bb2007-05-14 11:03:52 +020010 *
11 * This program is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License as published by the
13 * Free Software Foundation; either version 2 of the License, or (at your
14 * option) any later version.
Graeme Gregory74930bb2007-05-14 11:03:52 +020015 */
16
17#include <linux/module.h>
Graeme Gregory74930bb2007-05-14 11:03:52 +020018#include <linux/platform_device.h>
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +010019#include <linux/gpio.h>
20
Graeme Gregory74930bb2007-05-14 11:03:52 +020021#include <sound/soc.h>
Graeme Gregory74930bb2007-05-14 11:03:52 +020022
Sachin Kamatabffae62014-01-22 17:30:38 +053023#include <mach/gpio-samsung.h>
Mark Brownfb2aa072008-10-08 13:02:20 +010024#include <asm/mach-types.h>
Arnd Bergmann5d229ce52013-04-11 19:08:42 +020025#include "regs-iis.h"
Harald Welteaa9673c2007-12-19 15:37:49 +010026
Graeme Gregory74930bb2007-05-14 11:03:52 +020027#include "../codecs/wm8753.h"
Graeme Gregory74930bb2007-05-14 11:03:52 +020028#include "s3c24xx-i2s.h"
29
Graeme Gregory74930bb2007-05-14 11:03:52 +020030static int neo1973_hifi_hw_params(struct snd_pcm_substream *substream,
31 struct snd_pcm_hw_params *params)
32{
33 struct snd_soc_pcm_runtime *rtd = substream->private_data;
Liam Girdwoodf0fba2a2010-03-17 20:15:21 +000034 struct snd_soc_dai *codec_dai = rtd->codec_dai;
35 struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
Graeme Gregory74930bb2007-05-14 11:03:52 +020036 unsigned int pll_out = 0, bclk = 0;
37 int ret = 0;
38 unsigned long iis_clkrate;
39
40 iis_clkrate = s3c24xx_i2s_get_clockrate();
41
42 switch (params_rate(params)) {
43 case 8000:
44 case 16000:
45 pll_out = 12288000;
46 break;
47 case 48000:
48 bclk = WM8753_BCLK_DIV_4;
49 pll_out = 12288000;
50 break;
51 case 96000:
52 bclk = WM8753_BCLK_DIV_2;
53 pll_out = 12288000;
54 break;
55 case 11025:
56 bclk = WM8753_BCLK_DIV_16;
57 pll_out = 11289600;
58 break;
59 case 22050:
60 bclk = WM8753_BCLK_DIV_8;
61 pll_out = 11289600;
62 break;
63 case 44100:
64 bclk = WM8753_BCLK_DIV_4;
65 pll_out = 11289600;
66 break;
67 case 88200:
68 bclk = WM8753_BCLK_DIV_2;
69 pll_out = 11289600;
70 break;
71 }
72
73 /* set codec DAI configuration */
Liam Girdwood64105cf2008-07-08 13:19:18 +010074 ret = snd_soc_dai_set_fmt(codec_dai,
Graeme Gregory74930bb2007-05-14 11:03:52 +020075 SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
76 SND_SOC_DAIFMT_CBM_CFM);
77 if (ret < 0)
78 return ret;
79
80 /* set cpu DAI configuration */
Liam Girdwood64105cf2008-07-08 13:19:18 +010081 ret = snd_soc_dai_set_fmt(cpu_dai,
Graeme Gregory74930bb2007-05-14 11:03:52 +020082 SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
83 SND_SOC_DAIFMT_CBM_CFM);
84 if (ret < 0)
85 return ret;
86
87 /* set the codec system clock for DAC and ADC */
Liam Girdwood64105cf2008-07-08 13:19:18 +010088 ret = snd_soc_dai_set_sysclk(codec_dai, WM8753_MCLK, pll_out,
Graeme Gregory74930bb2007-05-14 11:03:52 +020089 SND_SOC_CLOCK_IN);
90 if (ret < 0)
91 return ret;
92
93 /* set MCLK division for sample rate */
Liam Girdwood64105cf2008-07-08 13:19:18 +010094 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C24XX_DIV_MCLK,
Graeme Gregory8ba02ac2008-04-30 20:24:54 +020095 S3C2410_IISMOD_32FS);
Graeme Gregory74930bb2007-05-14 11:03:52 +020096 if (ret < 0)
97 return ret;
98
99 /* set codec BCLK division for sample rate */
Liam Girdwood64105cf2008-07-08 13:19:18 +0100100 ret = snd_soc_dai_set_clkdiv(codec_dai, WM8753_BCLKDIV, bclk);
Graeme Gregory74930bb2007-05-14 11:03:52 +0200101 if (ret < 0)
102 return ret;
103
104 /* set prescaler division for sample rate */
Liam Girdwood64105cf2008-07-08 13:19:18 +0100105 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C24XX_DIV_PRESCALER,
Graeme Gregory8ba02ac2008-04-30 20:24:54 +0200106 S3C24XX_PRESCALE(4, 4));
Graeme Gregory74930bb2007-05-14 11:03:52 +0200107 if (ret < 0)
108 return ret;
109
110 /* codec PLL input is PCLK/4 */
Mark Brown85488032009-09-05 18:52:16 +0100111 ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL1, 0,
Graeme Gregory74930bb2007-05-14 11:03:52 +0200112 iis_clkrate / 4, pll_out);
113 if (ret < 0)
114 return ret;
115
116 return 0;
117}
118
119static int neo1973_hifi_hw_free(struct snd_pcm_substream *substream)
120{
121 struct snd_soc_pcm_runtime *rtd = substream->private_data;
Liam Girdwoodf0fba2a2010-03-17 20:15:21 +0000122 struct snd_soc_dai *codec_dai = rtd->codec_dai;
Graeme Gregory74930bb2007-05-14 11:03:52 +0200123
124 /* disable the PLL */
Takashi Iwai140318a2009-10-01 08:40:32 +0200125 return snd_soc_dai_set_pll(codec_dai, WM8753_PLL1, 0, 0, 0);
Graeme Gregory74930bb2007-05-14 11:03:52 +0200126}
127
128/*
129 * Neo1973 WM8753 HiFi DAI opserations.
130 */
131static struct snd_soc_ops neo1973_hifi_ops = {
132 .hw_params = neo1973_hifi_hw_params,
133 .hw_free = neo1973_hifi_hw_free,
134};
135
136static int neo1973_voice_hw_params(struct snd_pcm_substream *substream,
137 struct snd_pcm_hw_params *params)
138{
139 struct snd_soc_pcm_runtime *rtd = substream->private_data;
Liam Girdwoodf0fba2a2010-03-17 20:15:21 +0000140 struct snd_soc_dai *codec_dai = rtd->codec_dai;
Graeme Gregory74930bb2007-05-14 11:03:52 +0200141 unsigned int pcmdiv = 0;
142 int ret = 0;
143 unsigned long iis_clkrate;
144
145 iis_clkrate = s3c24xx_i2s_get_clockrate();
146
147 if (params_rate(params) != 8000)
148 return -EINVAL;
149 if (params_channels(params) != 1)
150 return -EINVAL;
151
152 pcmdiv = WM8753_PCM_DIV_6; /* 2.048 MHz */
153
154 /* todo: gg check mode (DSP_B) against CSR datasheet */
155 /* set codec DAI configuration */
Liam Girdwood64105cf2008-07-08 13:19:18 +0100156 ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_DSP_B |
Graeme Gregory74930bb2007-05-14 11:03:52 +0200157 SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS);
158 if (ret < 0)
159 return ret;
160
161 /* set the codec system clock for DAC and ADC */
Liam Girdwood64105cf2008-07-08 13:19:18 +0100162 ret = snd_soc_dai_set_sysclk(codec_dai, WM8753_PCMCLK, 12288000,
Graeme Gregory74930bb2007-05-14 11:03:52 +0200163 SND_SOC_CLOCK_IN);
164 if (ret < 0)
165 return ret;
166
167 /* set codec PCM division for sample rate */
Liam Girdwood64105cf2008-07-08 13:19:18 +0100168 ret = snd_soc_dai_set_clkdiv(codec_dai, WM8753_PCMDIV, pcmdiv);
Graeme Gregory74930bb2007-05-14 11:03:52 +0200169 if (ret < 0)
170 return ret;
171
Andrea Gelminifa2eb002010-10-16 15:19:20 +0200172 /* configure and enable PLL for 12.288MHz output */
Takashi Iwai140318a2009-10-01 08:40:32 +0200173 ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0,
Graeme Gregory74930bb2007-05-14 11:03:52 +0200174 iis_clkrate / 4, 12288000);
175 if (ret < 0)
176 return ret;
177
178 return 0;
179}
180
181static int neo1973_voice_hw_free(struct snd_pcm_substream *substream)
182{
183 struct snd_soc_pcm_runtime *rtd = substream->private_data;
Liam Girdwoodf0fba2a2010-03-17 20:15:21 +0000184 struct snd_soc_dai *codec_dai = rtd->codec_dai;
Graeme Gregory74930bb2007-05-14 11:03:52 +0200185
186 /* disable the PLL */
Takashi Iwai140318a2009-10-01 08:40:32 +0200187 return snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, 0, 0);
Graeme Gregory74930bb2007-05-14 11:03:52 +0200188}
189
190static struct snd_soc_ops neo1973_voice_ops = {
191 .hw_params = neo1973_voice_hw_params,
192 .hw_free = neo1973_voice_hw_free,
193};
194
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100195static int gta02_speaker_enabled;
196
197static int lm4853_set_spk(struct snd_kcontrol *kcontrol,
198 struct snd_ctl_elem_value *ucontrol)
199{
200 gta02_speaker_enabled = ucontrol->value.integer.value[0];
201
Kukjin Kimb2ca7872013-01-02 09:57:59 -0800202 gpio_set_value(S3C2410_GPJ(2), !gta02_speaker_enabled);
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100203
204 return 0;
205}
206
207static int lm4853_get_spk(struct snd_kcontrol *kcontrol,
208 struct snd_ctl_elem_value *ucontrol)
209{
210 ucontrol->value.integer.value[0] = gta02_speaker_enabled;
211 return 0;
212}
213
214static int lm4853_event(struct snd_soc_dapm_widget *w,
215 struct snd_kcontrol *k, int event)
216{
Kukjin Kimb2ca7872013-01-02 09:57:59 -0800217 gpio_set_value(S3C2410_GPJ(1), SND_SOC_DAPM_EVENT_OFF(event));
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100218
219 return 0;
220}
221
Lars-Peter Clausen61e7fe22014-03-01 16:17:02 +0100222static const struct snd_soc_dapm_widget neo1973_wm8753_dapm_widgets[] = {
223 SND_SOC_DAPM_LINE("GSM Line Out", NULL),
224 SND_SOC_DAPM_LINE("GSM Line In", NULL),
225 SND_SOC_DAPM_MIC("Headset Mic", NULL),
226 SND_SOC_DAPM_MIC("Handset Mic", NULL),
227 SND_SOC_DAPM_SPK("Handset Spk", NULL),
228 SND_SOC_DAPM_SPK("Stereo Out", lm4853_event),
229};
230
231static const struct snd_soc_dapm_route neo1973_wm8753_routes[] = {
232 /* Connections to the GSM Module */
233 {"GSM Line Out", NULL, "MONO1"},
234 {"GSM Line Out", NULL, "MONO2"},
235 {"RXP", NULL, "GSM Line In"},
236 {"RXN", NULL, "GSM Line In"},
237
238 /* Connections to Headset */
239 {"MIC1", NULL, "Mic Bias"},
240 {"Mic Bias", NULL, "Headset Mic"},
241
242 /* Call Mic */
243 {"MIC2", NULL, "Mic Bias"},
244 {"MIC2N", NULL, "Mic Bias"},
245 {"Mic Bias", NULL, "Handset Mic"},
246
247 /* Connect the ALC pins */
248 {"ACIN", NULL, "ACOP"},
249
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100250 /* Connections to the amp */
251 {"Stereo Out", NULL, "LOUT1"},
252 {"Stereo Out", NULL, "ROUT1"},
253
254 /* Call Speaker */
255 {"Handset Spk", NULL, "LOUT2"},
256 {"Handset Spk", NULL, "ROUT2"},
257};
258
Lars-Peter Clausen61e7fe22014-03-01 16:17:02 +0100259static const struct snd_kcontrol_new neo1973_wm8753_controls[] = {
260 SOC_DAPM_PIN_SWITCH("GSM Line Out"),
261 SOC_DAPM_PIN_SWITCH("GSM Line In"),
262 SOC_DAPM_PIN_SWITCH("Headset Mic"),
263 SOC_DAPM_PIN_SWITCH("Handset Mic"),
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100264 SOC_DAPM_PIN_SWITCH("Handset Spk"),
265 SOC_DAPM_PIN_SWITCH("Stereo Out"),
266
267 SOC_SINGLE_BOOL_EXT("Amp Spk Switch", 0,
268 lm4853_get_spk,
269 lm4853_set_spk),
270};
271
Liam Girdwoodf0fba2a2010-03-17 20:15:21 +0000272static int neo1973_wm8753_init(struct snd_soc_pcm_runtime *rtd)
Graeme Gregory74930bb2007-05-14 11:03:52 +0200273{
Lars-Peter Clausen4f07c9c2014-03-01 16:17:03 +0100274 struct snd_soc_card *card = rtd->card;
Tim Niemeyer1894c592008-05-05 14:16:12 +0200275
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100276 /* set endpoints to default off mode */
Lars-Peter Clausen4f07c9c2014-03-01 16:17:03 +0100277 snd_soc_dapm_disable_pin(&card->dapm, "GSM Line Out");
278 snd_soc_dapm_disable_pin(&card->dapm, "GSM Line In");
279 snd_soc_dapm_disable_pin(&card->dapm, "Headset Mic");
280 snd_soc_dapm_disable_pin(&card->dapm, "Handset Mic");
281 snd_soc_dapm_disable_pin(&card->dapm, "Stereo Out");
282 snd_soc_dapm_disable_pin(&card->dapm, "Handset Spk");
Jonas Bonne8089942008-10-01 18:17:12 +0100283
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100284 /* allow audio paths from the GSM modem to run during suspend */
Lars-Peter Clausen4f07c9c2014-03-01 16:17:03 +0100285 snd_soc_dapm_ignore_suspend(&card->dapm, "GSM Line Out");
286 snd_soc_dapm_ignore_suspend(&card->dapm, "GSM Line In");
287 snd_soc_dapm_ignore_suspend(&card->dapm, "Headset Mic");
288 snd_soc_dapm_ignore_suspend(&card->dapm, "Handset Mic");
289 snd_soc_dapm_ignore_suspend(&card->dapm, "Stereo Out");
290 snd_soc_dapm_ignore_suspend(&card->dapm, "Handset Spk");
Graeme Gregory74930bb2007-05-14 11:03:52 +0200291
Graeme Gregory74930bb2007-05-14 11:03:52 +0200292 return 0;
293}
294
Graeme Gregory74930bb2007-05-14 11:03:52 +0200295static struct snd_soc_dai_link neo1973_dai[] = {
296{ /* Hifi Playback - for similatious use with voice below */
297 .name = "WM8753",
298 .stream_name = "WM8753 HiFi",
Padmavathi Vennaa08485d82012-12-07 13:59:21 +0530299 .platform_name = "s3c24xx-iis",
Lars-Peter Clausen518aa592011-01-24 22:12:42 +0100300 .cpu_dai_name = "s3c24xx-iis",
Liam Girdwoodf0fba2a2010-03-17 20:15:21 +0000301 .codec_dai_name = "wm8753-hifi",
Denis 'GNUtoo' Cariklib2ccf062012-02-26 19:21:54 +0100302 .codec_name = "wm8753.0-001a",
Graeme Gregory74930bb2007-05-14 11:03:52 +0200303 .init = neo1973_wm8753_init,
304 .ops = &neo1973_hifi_ops,
305},
306{ /* Voice via BT */
307 .name = "Bluetooth",
308 .stream_name = "Voice",
Barry Song200ceb92013-05-18 20:25:00 +0800309 .cpu_dai_name = "bt-sco-pcm",
Liam Girdwoodf0fba2a2010-03-17 20:15:21 +0000310 .codec_dai_name = "wm8753-voice",
Denis 'GNUtoo' Cariklib2ccf062012-02-26 19:21:54 +0100311 .codec_name = "wm8753.0-001a",
Graeme Gregory74930bb2007-05-14 11:03:52 +0200312 .ops = &neo1973_voice_ops,
313},
314};
315
Lars-Peter Clausen9b0a25f2011-03-07 08:04:55 +0100316static struct snd_soc_aux_dev neo1973_aux_devs[] = {
317 {
Lars-Peter Clausena077ff92011-03-07 08:04:59 +0100318 .name = "dfbmcs320",
319 .codec_name = "dfbmcs320.0",
320 },
Lars-Peter Clausen9b0a25f2011-03-07 08:04:55 +0100321};
322
323static struct snd_soc_codec_conf neo1973_codec_conf[] = {
324 {
325 .dev_name = "lm4857.0-007c",
326 .name_prefix = "Amp",
327 },
328};
329
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100330static const struct gpio neo1973_gta02_gpios[] = {
Kukjin Kimb2ca7872013-01-02 09:57:59 -0800331 { S3C2410_GPJ(2), GPIOF_OUT_INIT_HIGH, "GTA02_HP_IN" },
332 { S3C2410_GPJ(1), GPIOF_OUT_INIT_HIGH, "GTA02_AMP_SHUT" },
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100333};
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100334
Mark Brown87506542008-11-18 20:50:34 +0000335static struct snd_soc_card neo1973 = {
Graeme Gregory74930bb2007-05-14 11:03:52 +0200336 .name = "neo1973",
Axel Lin095d79d2011-12-22 10:53:15 +0800337 .owner = THIS_MODULE,
Graeme Gregory74930bb2007-05-14 11:03:52 +0200338 .dai_link = neo1973_dai,
339 .num_links = ARRAY_SIZE(neo1973_dai),
Lars-Peter Clausen9b0a25f2011-03-07 08:04:55 +0100340 .aux_dev = neo1973_aux_devs,
341 .num_aux_devs = ARRAY_SIZE(neo1973_aux_devs),
342 .codec_conf = neo1973_codec_conf,
343 .num_configs = ARRAY_SIZE(neo1973_codec_conf),
Lars-Peter Clausen4f07c9c2014-03-01 16:17:03 +0100344
345 .controls = neo1973_wm8753_controls,
346 .num_controls = ARRAY_SIZE(neo1973_wm8753_controls),
347 .dapm_widgets = neo1973_wm8753_dapm_widgets,
348 .num_dapm_widgets = ARRAY_SIZE(neo1973_wm8753_dapm_widgets),
349 .dapm_routes = neo1973_wm8753_routes,
350 .num_dapm_routes = ARRAY_SIZE(neo1973_wm8753_routes),
Lars-Peter Clausenfbfad492014-05-20 11:13:28 +0200351 .fully_routed = true,
Graeme Gregory74930bb2007-05-14 11:03:52 +0200352};
353
354static struct platform_device *neo1973_snd_device;
355
356static int __init neo1973_init(void)
357{
358 int ret;
359
Denis 'GNUtoo' Carikli1ae5cbc2012-01-30 00:31:47 +0100360 if (!machine_is_neo1973_gta02())
Mark Brownfb2aa072008-10-08 13:02:20 +0100361 return -ENODEV;
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100362
363 if (machine_is_neo1973_gta02()) {
364 neo1973.name = "neo1973gta02";
Lars-Peter Clausena077ff92011-03-07 08:04:59 +0100365 neo1973.num_aux_devs = 1;
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100366
367 ret = gpio_request_array(neo1973_gta02_gpios,
368 ARRAY_SIZE(neo1973_gta02_gpios));
369 if (ret)
370 return ret;
Mark Brownfb2aa072008-10-08 13:02:20 +0100371 }
372
Graeme Gregory74930bb2007-05-14 11:03:52 +0200373 neo1973_snd_device = platform_device_alloc("soc-audio", -1);
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100374 if (!neo1973_snd_device) {
375 ret = -ENOMEM;
376 goto err_gpio_free;
377 }
378
Liam Girdwoodf0fba2a2010-03-17 20:15:21 +0000379 platform_set_drvdata(neo1973_snd_device, &neo1973);
Graeme Gregory74930bb2007-05-14 11:03:52 +0200380 ret = platform_device_add(neo1973_snd_device);
381
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100382 if (ret)
Lars-Peter Clausena077ff92011-03-07 08:04:59 +0100383 goto err_put_device;
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100384
385 return 0;
386
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100387err_put_device:
388 platform_device_put(neo1973_snd_device);
389err_gpio_free:
390 if (machine_is_neo1973_gta02()) {
391 gpio_free_array(neo1973_gta02_gpios,
392 ARRAY_SIZE(neo1973_gta02_gpios));
Jean Delvared2802892008-09-01 17:44:05 +0200393 }
Graeme Gregory74930bb2007-05-14 11:03:52 +0200394 return ret;
395}
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100396module_init(neo1973_init);
Graeme Gregory74930bb2007-05-14 11:03:52 +0200397
398static void __exit neo1973_exit(void)
399{
Graeme Gregory74930bb2007-05-14 11:03:52 +0200400 platform_device_unregister(neo1973_snd_device);
Graeme Gregory74930bb2007-05-14 11:03:52 +0200401
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100402 if (machine_is_neo1973_gta02()) {
403 gpio_free_array(neo1973_gta02_gpios,
404 ARRAY_SIZE(neo1973_gta02_gpios));
405 }
406}
Graeme Gregory74930bb2007-05-14 11:03:52 +0200407module_exit(neo1973_exit);
408
409/* Module information */
Graeme Gregory443590e2008-04-30 20:25:23 +0200410MODULE_AUTHOR("Graeme Gregory, graeme@openmoko.org, www.openmoko.org");
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +0100411MODULE_DESCRIPTION("ALSA SoC WM8753 Neo1973 and Frerunner");
Graeme Gregory74930bb2007-05-14 11:03:52 +0200412MODULE_LICENSE("GPL");