2 * neo1973_wm8753.c -- SoC audio for Neo1973
4 * Copyright 2007 Wolfson Microelectronics PLC.
5 * Author: Graeme Gregory
6 * graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
15 #include <linux/module.h>
16 #include <linux/moduleparam.h>
17 #include <linux/timer.h>
18 #include <linux/interrupt.h>
19 #include <linux/platform_device.h>
20 #include <linux/i2c.h>
21 #include <sound/core.h>
22 #include <sound/pcm.h>
23 #include <sound/soc.h>
24 #include <sound/soc-dapm.h>
25 #include <sound/tlv.h>
27 #include <asm/mach-types.h>
28 #include <asm/hardware/scoop.h>
29 #include <mach/regs-clock.h>
30 #include <mach/regs-gpio.h>
31 #include <mach/hardware.h>
33 #include <mach/spi-gpio.h>
35 #include <plat/regs-iis.h>
37 #include "../codecs/wm8753.h"
40 #include "s3c24xx-i2s.h"
42 /* define the scenarios */
43 #define NEO_AUDIO_OFF 0
44 #define NEO_GSM_CALL_AUDIO_HANDSET 1
45 #define NEO_GSM_CALL_AUDIO_HEADSET 2
46 #define NEO_GSM_CALL_AUDIO_BLUETOOTH 3
47 #define NEO_STEREO_TO_SPEAKERS 4
48 #define NEO_STEREO_TO_HEADPHONES 5
49 #define NEO_CAPTURE_HANDSET 6
50 #define NEO_CAPTURE_HEADSET 7
51 #define NEO_CAPTURE_BLUETOOTH 8
53 static struct snd_soc_card neo1973
;
54 static struct i2c_client
*i2c
;
56 static int neo1973_hifi_hw_params(struct snd_pcm_substream
*substream
,
57 struct snd_pcm_hw_params
*params
)
59 struct snd_soc_pcm_runtime
*rtd
= substream
->private_data
;
60 struct snd_soc_dai
*codec_dai
= rtd
->codec_dai
;
61 struct snd_soc_dai
*cpu_dai
= rtd
->cpu_dai
;
62 unsigned int pll_out
= 0, bclk
= 0;
64 unsigned long iis_clkrate
;
66 pr_debug("Entered %s\n", __func__
);
68 iis_clkrate
= s3c24xx_i2s_get_clockrate();
70 switch (params_rate(params
)) {
76 bclk
= WM8753_BCLK_DIV_4
;
80 bclk
= WM8753_BCLK_DIV_2
;
84 bclk
= WM8753_BCLK_DIV_16
;
88 bclk
= WM8753_BCLK_DIV_8
;
92 bclk
= WM8753_BCLK_DIV_4
;
96 bclk
= WM8753_BCLK_DIV_2
;
101 /* set codec DAI configuration */
102 ret
= snd_soc_dai_set_fmt(codec_dai
,
103 SND_SOC_DAIFMT_I2S
| SND_SOC_DAIFMT_NB_NF
|
104 SND_SOC_DAIFMT_CBM_CFM
);
108 /* set cpu DAI configuration */
109 ret
= snd_soc_dai_set_fmt(cpu_dai
,
110 SND_SOC_DAIFMT_I2S
| SND_SOC_DAIFMT_NB_NF
|
111 SND_SOC_DAIFMT_CBM_CFM
);
115 /* set the codec system clock for DAC and ADC */
116 ret
= snd_soc_dai_set_sysclk(codec_dai
, WM8753_MCLK
, pll_out
,
121 /* set MCLK division for sample rate */
122 ret
= snd_soc_dai_set_clkdiv(cpu_dai
, S3C24XX_DIV_MCLK
,
123 S3C2410_IISMOD_32FS
);
127 /* set codec BCLK division for sample rate */
128 ret
= snd_soc_dai_set_clkdiv(codec_dai
, WM8753_BCLKDIV
, bclk
);
132 /* set prescaler division for sample rate */
133 ret
= snd_soc_dai_set_clkdiv(cpu_dai
, S3C24XX_DIV_PRESCALER
,
134 S3C24XX_PRESCALE(4, 4));
138 /* codec PLL input is PCLK/4 */
139 ret
= snd_soc_dai_set_pll(codec_dai
, WM8753_PLL1
, 0,
140 iis_clkrate
/ 4, pll_out
);
147 static int neo1973_hifi_hw_free(struct snd_pcm_substream
*substream
)
149 struct snd_soc_pcm_runtime
*rtd
= substream
->private_data
;
150 struct snd_soc_dai
*codec_dai
= rtd
->codec_dai
;
152 pr_debug("Entered %s\n", __func__
);
154 /* disable the PLL */
155 return snd_soc_dai_set_pll(codec_dai
, WM8753_PLL1
, 0, 0, 0);
159 * Neo1973 WM8753 HiFi DAI opserations.
161 static struct snd_soc_ops neo1973_hifi_ops
= {
162 .hw_params
= neo1973_hifi_hw_params
,
163 .hw_free
= neo1973_hifi_hw_free
,
166 static int neo1973_voice_hw_params(struct snd_pcm_substream
*substream
,
167 struct snd_pcm_hw_params
*params
)
169 struct snd_soc_pcm_runtime
*rtd
= substream
->private_data
;
170 struct snd_soc_dai
*codec_dai
= rtd
->codec_dai
;
171 unsigned int pcmdiv
= 0;
173 unsigned long iis_clkrate
;
175 pr_debug("Entered %s\n", __func__
);
177 iis_clkrate
= s3c24xx_i2s_get_clockrate();
179 if (params_rate(params
) != 8000)
181 if (params_channels(params
) != 1)
184 pcmdiv
= WM8753_PCM_DIV_6
; /* 2.048 MHz */
186 /* todo: gg check mode (DSP_B) against CSR datasheet */
187 /* set codec DAI configuration */
188 ret
= snd_soc_dai_set_fmt(codec_dai
, SND_SOC_DAIFMT_DSP_B
|
189 SND_SOC_DAIFMT_NB_NF
| SND_SOC_DAIFMT_CBS_CFS
);
193 /* set the codec system clock for DAC and ADC */
194 ret
= snd_soc_dai_set_sysclk(codec_dai
, WM8753_PCMCLK
, 12288000,
199 /* set codec PCM division for sample rate */
200 ret
= snd_soc_dai_set_clkdiv(codec_dai
, WM8753_PCMDIV
, pcmdiv
);
204 /* configure and enable PLL for 12.288MHz output */
205 ret
= snd_soc_dai_set_pll(codec_dai
, WM8753_PLL2
, 0,
206 iis_clkrate
/ 4, 12288000);
213 static int neo1973_voice_hw_free(struct snd_pcm_substream
*substream
)
215 struct snd_soc_pcm_runtime
*rtd
= substream
->private_data
;
216 struct snd_soc_dai
*codec_dai
= rtd
->codec_dai
;
218 pr_debug("Entered %s\n", __func__
);
220 /* disable the PLL */
221 return snd_soc_dai_set_pll(codec_dai
, WM8753_PLL2
, 0, 0, 0);
224 static struct snd_soc_ops neo1973_voice_ops
= {
225 .hw_params
= neo1973_voice_hw_params
,
226 .hw_free
= neo1973_voice_hw_free
,
229 static int neo1973_scenario
;
231 static int neo1973_get_scenario(struct snd_kcontrol
*kcontrol
,
232 struct snd_ctl_elem_value
*ucontrol
)
234 ucontrol
->value
.integer
.value
[0] = neo1973_scenario
;
238 static int set_scenario_endpoints(struct snd_soc_codec
*codec
, int scenario
)
240 struct snd_soc_dapm_context
*dapm
= &codec
->dapm
;
242 pr_debug("Entered %s\n", __func__
);
244 switch (neo1973_scenario
) {
246 snd_soc_dapm_disable_pin(dapm
, "Audio Out");
247 snd_soc_dapm_disable_pin(dapm
, "GSM Line Out");
248 snd_soc_dapm_disable_pin(dapm
, "GSM Line In");
249 snd_soc_dapm_disable_pin(dapm
, "Headset Mic");
250 snd_soc_dapm_disable_pin(dapm
, "Call Mic");
252 case NEO_GSM_CALL_AUDIO_HANDSET
:
253 snd_soc_dapm_enable_pin(dapm
, "Audio Out");
254 snd_soc_dapm_enable_pin(dapm
, "GSM Line Out");
255 snd_soc_dapm_enable_pin(dapm
, "GSM Line In");
256 snd_soc_dapm_disable_pin(dapm
, "Headset Mic");
257 snd_soc_dapm_enable_pin(dapm
, "Call Mic");
259 case NEO_GSM_CALL_AUDIO_HEADSET
:
260 snd_soc_dapm_enable_pin(dapm
, "Audio Out");
261 snd_soc_dapm_enable_pin(dapm
, "GSM Line Out");
262 snd_soc_dapm_enable_pin(dapm
, "GSM Line In");
263 snd_soc_dapm_enable_pin(dapm
, "Headset Mic");
264 snd_soc_dapm_disable_pin(dapm
, "Call Mic");
266 case NEO_GSM_CALL_AUDIO_BLUETOOTH
:
267 snd_soc_dapm_disable_pin(dapm
, "Audio Out");
268 snd_soc_dapm_enable_pin(dapm
, "GSM Line Out");
269 snd_soc_dapm_enable_pin(dapm
, "GSM Line In");
270 snd_soc_dapm_disable_pin(dapm
, "Headset Mic");
271 snd_soc_dapm_disable_pin(dapm
, "Call Mic");
273 case NEO_STEREO_TO_SPEAKERS
:
274 snd_soc_dapm_enable_pin(dapm
, "Audio Out");
275 snd_soc_dapm_disable_pin(dapm
, "GSM Line Out");
276 snd_soc_dapm_disable_pin(dapm
, "GSM Line In");
277 snd_soc_dapm_disable_pin(dapm
, "Headset Mic");
278 snd_soc_dapm_disable_pin(dapm
, "Call Mic");
280 case NEO_STEREO_TO_HEADPHONES
:
281 snd_soc_dapm_enable_pin(dapm
, "Audio Out");
282 snd_soc_dapm_disable_pin(dapm
, "GSM Line Out");
283 snd_soc_dapm_disable_pin(dapm
, "GSM Line In");
284 snd_soc_dapm_disable_pin(dapm
, "Headset Mic");
285 snd_soc_dapm_disable_pin(dapm
, "Call Mic");
287 case NEO_CAPTURE_HANDSET
:
288 snd_soc_dapm_disable_pin(dapm
, "Audio Out");
289 snd_soc_dapm_disable_pin(dapm
, "GSM Line Out");
290 snd_soc_dapm_disable_pin(dapm
, "GSM Line In");
291 snd_soc_dapm_disable_pin(dapm
, "Headset Mic");
292 snd_soc_dapm_enable_pin(dapm
, "Call Mic");
294 case NEO_CAPTURE_HEADSET
:
295 snd_soc_dapm_disable_pin(dapm
, "Audio Out");
296 snd_soc_dapm_disable_pin(dapm
, "GSM Line Out");
297 snd_soc_dapm_disable_pin(dapm
, "GSM Line In");
298 snd_soc_dapm_enable_pin(dapm
, "Headset Mic");
299 snd_soc_dapm_disable_pin(dapm
, "Call Mic");
301 case NEO_CAPTURE_BLUETOOTH
:
302 snd_soc_dapm_disable_pin(dapm
, "Audio Out");
303 snd_soc_dapm_disable_pin(dapm
, "GSM Line Out");
304 snd_soc_dapm_disable_pin(dapm
, "GSM Line In");
305 snd_soc_dapm_disable_pin(dapm
, "Headset Mic");
306 snd_soc_dapm_disable_pin(dapm
, "Call Mic");
309 snd_soc_dapm_disable_pin(dapm
, "Audio Out");
310 snd_soc_dapm_disable_pin(dapm
, "GSM Line Out");
311 snd_soc_dapm_disable_pin(dapm
, "GSM Line In");
312 snd_soc_dapm_disable_pin(dapm
, "Headset Mic");
313 snd_soc_dapm_disable_pin(dapm
, "Call Mic");
316 snd_soc_dapm_sync(dapm
);
321 static int neo1973_set_scenario(struct snd_kcontrol
*kcontrol
,
322 struct snd_ctl_elem_value
*ucontrol
)
324 struct snd_soc_codec
*codec
= snd_kcontrol_chip(kcontrol
);
326 pr_debug("Entered %s\n", __func__
);
328 if (neo1973_scenario
== ucontrol
->value
.integer
.value
[0])
331 neo1973_scenario
= ucontrol
->value
.integer
.value
[0];
332 set_scenario_endpoints(codec
, neo1973_scenario
);
336 static u8 lm4857_regs
[4] = {0x00, 0x40, 0x80, 0xC0};
338 static void lm4857_write_regs(void)
340 pr_debug("Entered %s\n", __func__
);
342 if (i2c_master_send(i2c
, lm4857_regs
, 4) != 4)
343 printk(KERN_ERR
"lm4857: i2c write failed\n");
346 static int lm4857_get_reg(struct snd_kcontrol
*kcontrol
,
347 struct snd_ctl_elem_value
*ucontrol
)
349 struct soc_mixer_control
*mc
=
350 (struct soc_mixer_control
*)kcontrol
->private_value
;
352 int shift
= mc
->shift
;
355 pr_debug("Entered %s\n", __func__
);
357 ucontrol
->value
.integer
.value
[0] = (lm4857_regs
[reg
] >> shift
) & mask
;
361 static int lm4857_set_reg(struct snd_kcontrol
*kcontrol
,
362 struct snd_ctl_elem_value
*ucontrol
)
364 struct soc_mixer_control
*mc
=
365 (struct soc_mixer_control
*)kcontrol
->private_value
;
367 int shift
= mc
->shift
;
370 if (((lm4857_regs
[reg
] >> shift
) & mask
) ==
371 ucontrol
->value
.integer
.value
[0])
374 lm4857_regs
[reg
] &= ~(mask
<< shift
);
375 lm4857_regs
[reg
] |= ucontrol
->value
.integer
.value
[0] << shift
;
380 static int lm4857_get_mode(struct snd_kcontrol
*kcontrol
,
381 struct snd_ctl_elem_value
*ucontrol
)
383 u8 value
= lm4857_regs
[LM4857_CTRL
] & 0x0F;
385 pr_debug("Entered %s\n", __func__
);
390 ucontrol
->value
.integer
.value
[0] = value
;
394 static int lm4857_set_mode(struct snd_kcontrol
*kcontrol
,
395 struct snd_ctl_elem_value
*ucontrol
)
397 u8 value
= ucontrol
->value
.integer
.value
[0];
399 pr_debug("Entered %s\n", __func__
);
404 if ((lm4857_regs
[LM4857_CTRL
] & 0x0F) == value
)
407 lm4857_regs
[LM4857_CTRL
] &= 0xF0;
408 lm4857_regs
[LM4857_CTRL
] |= value
;
413 static const struct snd_soc_dapm_widget wm8753_dapm_widgets
[] = {
414 SND_SOC_DAPM_LINE("Audio Out", NULL
),
415 SND_SOC_DAPM_LINE("GSM Line Out", NULL
),
416 SND_SOC_DAPM_LINE("GSM Line In", NULL
),
417 SND_SOC_DAPM_MIC("Headset Mic", NULL
),
418 SND_SOC_DAPM_MIC("Call Mic", NULL
),
422 static const struct snd_soc_dapm_route dapm_routes
[] = {
424 /* Connections to the lm4857 amp */
425 {"Audio Out", NULL
, "LOUT1"},
426 {"Audio Out", NULL
, "ROUT1"},
428 /* Connections to the GSM Module */
429 {"GSM Line Out", NULL
, "MONO1"},
430 {"GSM Line Out", NULL
, "MONO2"},
431 {"RXP", NULL
, "GSM Line In"},
432 {"RXN", NULL
, "GSM Line In"},
434 /* Connections to Headset */
435 {"MIC1", NULL
, "Mic Bias"},
436 {"Mic Bias", NULL
, "Headset Mic"},
439 {"MIC2", NULL
, "Mic Bias"},
440 {"MIC2N", NULL
, "Mic Bias"},
441 {"Mic Bias", NULL
, "Call Mic"},
443 /* Connect the ALC pins */
444 {"ACIN", NULL
, "ACOP"},
447 static const char *lm4857_mode
[] = {
451 "Stereo Speakers + Headphones",
455 static const struct soc_enum lm4857_mode_enum
[] = {
456 SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(lm4857_mode
), lm4857_mode
),
459 static const char *neo_scenarios
[] = {
471 static const struct soc_enum neo_scenario_enum
[] = {
472 SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(neo_scenarios
), neo_scenarios
),
475 static const DECLARE_TLV_DB_SCALE(stereo_tlv
, -4050, 150, 0);
476 static const DECLARE_TLV_DB_SCALE(mono_tlv
, -3450, 150, 0);
478 static const struct snd_kcontrol_new wm8753_neo1973_controls
[] = {
479 SOC_SINGLE_EXT_TLV("Amp Left Playback Volume", LM4857_LVOL
, 0, 31, 0,
480 lm4857_get_reg
, lm4857_set_reg
, stereo_tlv
),
481 SOC_SINGLE_EXT_TLV("Amp Right Playback Volume", LM4857_RVOL
, 0, 31, 0,
482 lm4857_get_reg
, lm4857_set_reg
, stereo_tlv
),
483 SOC_SINGLE_EXT_TLV("Amp Mono Playback Volume", LM4857_MVOL
, 0, 31, 0,
484 lm4857_get_reg
, lm4857_set_reg
, mono_tlv
),
485 SOC_ENUM_EXT("Amp Mode", lm4857_mode_enum
[0],
486 lm4857_get_mode
, lm4857_set_mode
),
487 SOC_ENUM_EXT("Neo Mode", neo_scenario_enum
[0],
488 neo1973_get_scenario
, neo1973_set_scenario
),
489 SOC_SINGLE_EXT("Amp Spk 3D Playback Switch", LM4857_LVOL
, 5, 1, 0,
490 lm4857_get_reg
, lm4857_set_reg
),
491 SOC_SINGLE_EXT("Amp HP 3d Playback Switch", LM4857_RVOL
, 5, 1, 0,
492 lm4857_get_reg
, lm4857_set_reg
),
493 SOC_SINGLE_EXT("Amp Fast Wakeup Playback Switch", LM4857_CTRL
, 5, 1, 0,
494 lm4857_get_reg
, lm4857_set_reg
),
495 SOC_SINGLE_EXT("Amp Earpiece 6dB Playback Switch", LM4857_CTRL
, 4, 1, 0,
496 lm4857_get_reg
, lm4857_set_reg
),
500 * This is an example machine initialisation for a wm8753 connected to a
501 * neo1973 II. It is missing logic to detect hp/mic insertions and logic
502 * to re-route the audio in such an event.
504 static int neo1973_wm8753_init(struct snd_soc_pcm_runtime
*rtd
)
506 struct snd_soc_codec
*codec
= rtd
->codec
;
507 struct snd_soc_dapm_context
*dapm
= &codec
->dapm
;
510 pr_debug("Entered %s\n", __func__
);
512 /* set up NC codec pins */
513 snd_soc_dapm_nc_pin(dapm
, "LOUT2");
514 snd_soc_dapm_nc_pin(dapm
, "ROUT2");
515 snd_soc_dapm_nc_pin(dapm
, "OUT3");
516 snd_soc_dapm_nc_pin(dapm
, "OUT4");
517 snd_soc_dapm_nc_pin(dapm
, "LINE1");
518 snd_soc_dapm_nc_pin(dapm
, "LINE2");
520 /* Add neo1973 specific widgets */
521 snd_soc_dapm_new_controls(dapm
, wm8753_dapm_widgets
,
522 ARRAY_SIZE(wm8753_dapm_widgets
));
524 /* set endpoints to default mode */
525 set_scenario_endpoints(codec
, NEO_AUDIO_OFF
);
527 /* add neo1973 specific controls */
528 err
= snd_soc_add_controls(codec
, wm8753_neo1973_controls
,
529 ARRAY_SIZE(8753_neo1973_controls
));
533 /* set up neo1973 specific audio routes */
534 err
= snd_soc_dapm_add_routes(dapm
, dapm_routes
,
535 ARRAY_SIZE(dapm_routes
));
537 snd_soc_dapm_sync(dapm
);
544 static struct snd_soc_dai bt_dai
= {
545 .name
= "bluetooth-dai",
549 .rates
= SNDRV_PCM_RATE_8000
,
550 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,},
554 .rates
= SNDRV_PCM_RATE_8000
,
555 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,},
558 static struct snd_soc_dai_link neo1973_dai
[] = {
559 { /* Hifi Playback - for similatious use with voice below */
561 .stream_name
= "WM8753 HiFi",
562 .platform_name
= "s3c24xx-pcm-audio",
563 .cpu_dai_name
= "s3c24xx-i2s",
564 .codec_dai_name
= "wm8753-hifi",
565 .codec_name
= "wm8753-codec.0-0x1a",
566 .init
= neo1973_wm8753_init
,
567 .ops
= &neo1973_hifi_ops
,
571 .stream_name
= "Voice",
572 .platform_name
= "s3c24xx-pcm-audio",
573 .cpu_dai_name
= "bluetooth-dai",
574 .codec_dai_name
= "wm8753-voice",
575 .codec_name
= "wm8753-codec.0-0x1a",
576 .ops
= &neo1973_voice_ops
,
580 static struct snd_soc_card neo1973
= {
582 .dai_link
= neo1973_dai
,
583 .num_links
= ARRAY_SIZE(neo1973_dai
),
586 static int lm4857_i2c_probe(struct i2c_client
*client
,
587 const struct i2c_device_id
*id
)
589 pr_debug("Entered %s\n", __func__
);
597 static int lm4857_i2c_remove(struct i2c_client
*client
)
599 pr_debug("Entered %s\n", __func__
);
606 static u8 lm4857_state
;
608 static int lm4857_suspend(struct i2c_client
*dev
, pm_message_t state
)
610 pr_debug("Entered %s\n", __func__
);
612 dev_dbg(&dev
->dev
, "lm4857_suspend\n");
613 lm4857_state
= lm4857_regs
[LM4857_CTRL
] & 0xf;
615 lm4857_regs
[LM4857_CTRL
] &= 0xf0;
621 static int lm4857_resume(struct i2c_client
*dev
)
623 pr_debug("Entered %s\n", __func__
);
626 lm4857_regs
[LM4857_CTRL
] |= (lm4857_state
& 0x0f);
632 static void lm4857_shutdown(struct i2c_client
*dev
)
634 pr_debug("Entered %s\n", __func__
);
636 dev_dbg(&dev
->dev
, "lm4857_shutdown\n");
637 lm4857_regs
[LM4857_CTRL
] &= 0xf0;
641 static const struct i2c_device_id lm4857_i2c_id
[] = {
642 { "neo1973_lm4857", 0 },
646 static struct i2c_driver lm4857_i2c_driver
= {
648 .name
= "LM4857 I2C Amp",
649 .owner
= THIS_MODULE
,
651 .suspend
= lm4857_suspend
,
652 .resume
= lm4857_resume
,
653 .shutdown
= lm4857_shutdown
,
654 .probe
= lm4857_i2c_probe
,
655 .remove
= lm4857_i2c_remove
,
656 .id_table
= lm4857_i2c_id
,
659 static struct platform_device
*neo1973_snd_device
;
661 static int __init
neo1973_init(void)
665 pr_debug("Entered %s\n", __func__
);
667 if (!machine_is_neo1973_gta01()) {
669 "Only GTA01 hardware supported by ASoC driver\n");
673 neo1973_snd_device
= platform_device_alloc("soc-audio", -1);
674 if (!neo1973_snd_device
)
677 platform_set_drvdata(neo1973_snd_device
, &neo1973
);
678 ret
= platform_device_add(neo1973_snd_device
);
681 platform_device_put(neo1973_snd_device
);
685 ret
= i2c_add_driver(&lm4857_i2c_driver
);
688 platform_device_unregister(neo1973_snd_device
);
693 static void __exit
neo1973_exit(void)
695 pr_debug("Entered %s\n", __func__
);
697 i2c_del_driver(&lm4857_i2c_driver
);
698 platform_device_unregister(neo1973_snd_device
);
701 module_init(neo1973_init
);
702 module_exit(neo1973_exit
);
704 /* Module information */
705 MODULE_AUTHOR("Graeme Gregory, graeme@openmoko.org, www.openmoko.org");
706 MODULE_DESCRIPTION("ALSA SoC WM8753 Neo1973");
707 MODULE_LICENSE("GPL");