2 * File: sound/soc/codecs/ssm2602.c
3 * Author: Cliff Cai <Cliff.Cai@analog.com>
5 * Created: Tue June 06 2008
6 * Description: Driver for ssm2602 sound chip
9 * Copyright 2008 Analog Devices Inc.
11 * Bugs: Enter bugs at http://blackfin.uclinux.org/
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.
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.
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
29 #include <linux/module.h>
30 #include <linux/regmap.h>
31 #include <linux/slab.h>
33 #include <sound/pcm.h>
34 #include <sound/pcm_params.h>
35 #include <sound/soc.h>
36 #include <sound/tlv.h>
40 /* codec private data */
43 const struct snd_pcm_hw_constraint_list *sysclk_constraints;
45 struct regmap *regmap;
47 enum ssm2602_type type;
48 unsigned int clk_out_pwr;
52 * ssm2602 register cache
53 * We can't read the ssm2602 register space when we are
54 * using 2 wire for device control, so we cache them instead.
55 * There is no point in caching the reset register
57 static const struct reg_default ssm2602_reg[SSM2602_CACHEREGNUM] = {
58 { .reg = 0x00, .def = 0x0097 },
59 { .reg = 0x01, .def = 0x0097 },
60 { .reg = 0x02, .def = 0x0079 },
61 { .reg = 0x03, .def = 0x0079 },
62 { .reg = 0x04, .def = 0x000a },
63 { .reg = 0x05, .def = 0x0008 },
64 { .reg = 0x06, .def = 0x009f },
65 { .reg = 0x07, .def = 0x000a },
66 { .reg = 0x08, .def = 0x0000 },
67 { .reg = 0x09, .def = 0x0000 }
71 * ssm2602 register patch
72 * Workaround for playback distortions after power up: activates digital
73 * core, and then powers on output, DAC, and whole chip at the same time
76 static const struct reg_sequence ssm2602_patch[] = {
77 { SSM2602_ACTIVE, 0x01 },
78 { SSM2602_PWR, 0x07 },
79 { SSM2602_RESET, 0x00 },
83 /*Appending several "None"s just for OSS mixer use*/
84 static const char *ssm2602_input_select[] = {
88 static const char *ssm2602_deemph[] = {"None", "32Khz", "44.1Khz", "48Khz"};
90 static const struct soc_enum ssm2602_enum[] = {
91 SOC_ENUM_SINGLE(SSM2602_APANA, 2, ARRAY_SIZE(ssm2602_input_select),
92 ssm2602_input_select),
93 SOC_ENUM_SINGLE(SSM2602_APDIGI, 1, ARRAY_SIZE(ssm2602_deemph),
97 static const DECLARE_TLV_DB_RANGE(ssm260x_outmix_tlv,
98 0, 47, TLV_DB_SCALE_ITEM(TLV_DB_GAIN_MUTE, 0, 0),
99 48, 127, TLV_DB_SCALE_ITEM(-7400, 100, 0)
102 static const DECLARE_TLV_DB_SCALE(ssm260x_inpga_tlv, -3450, 150, 0);
103 static const DECLARE_TLV_DB_SCALE(ssm260x_sidetone_tlv, -1500, 300, 0);
105 static const struct snd_kcontrol_new ssm260x_snd_controls[] = {
106 SOC_DOUBLE_R_TLV("Capture Volume", SSM2602_LINVOL, SSM2602_RINVOL, 0, 45, 0,
108 SOC_DOUBLE_R("Capture Switch", SSM2602_LINVOL, SSM2602_RINVOL, 7, 1, 1),
110 SOC_SINGLE("ADC High Pass Filter Switch", SSM2602_APDIGI, 0, 1, 1),
111 SOC_SINGLE("Store DC Offset Switch", SSM2602_APDIGI, 4, 1, 0),
113 SOC_ENUM("Playback De-emphasis", ssm2602_enum[1]),
116 static const struct snd_kcontrol_new ssm2602_snd_controls[] = {
117 SOC_DOUBLE_R_TLV("Master Playback Volume", SSM2602_LOUT1V, SSM2602_ROUT1V,
118 0, 127, 0, ssm260x_outmix_tlv),
119 SOC_DOUBLE_R("Master Playback ZC Switch", SSM2602_LOUT1V, SSM2602_ROUT1V,
121 SOC_SINGLE_TLV("Sidetone Playback Volume", SSM2602_APANA, 6, 3, 1,
122 ssm260x_sidetone_tlv),
124 SOC_SINGLE("Mic Boost (+20dB)", SSM2602_APANA, 0, 1, 0),
125 SOC_SINGLE("Mic Boost2 (+20dB)", SSM2602_APANA, 8, 1, 0),
126 SOC_SINGLE("Mic Switch", SSM2602_APANA, 1, 1, 1),
130 static const struct snd_kcontrol_new ssm260x_output_mixer_controls[] = {
131 SOC_DAPM_SINGLE("Line Bypass Switch", SSM2602_APANA, 3, 1, 0),
132 SOC_DAPM_SINGLE("HiFi Playback Switch", SSM2602_APANA, 4, 1, 0),
133 SOC_DAPM_SINGLE("Mic Sidetone Switch", SSM2602_APANA, 5, 1, 0),
137 static const struct snd_kcontrol_new ssm2602_input_mux_controls =
138 SOC_DAPM_ENUM("Input Select", ssm2602_enum[0]);
140 static const struct snd_soc_dapm_widget ssm260x_dapm_widgets[] = {
141 SND_SOC_DAPM_DAC("DAC", "HiFi Playback", SSM2602_PWR, 3, 1),
142 SND_SOC_DAPM_ADC("ADC", "HiFi Capture", SSM2602_PWR, 2, 1),
143 SND_SOC_DAPM_PGA("Line Input", SSM2602_PWR, 0, 1, NULL, 0),
145 SND_SOC_DAPM_SUPPLY("Digital Core Power", SSM2602_ACTIVE, 0, 0, NULL, 0),
147 SND_SOC_DAPM_OUTPUT("LOUT"),
148 SND_SOC_DAPM_OUTPUT("ROUT"),
149 SND_SOC_DAPM_INPUT("RLINEIN"),
150 SND_SOC_DAPM_INPUT("LLINEIN"),
153 static const struct snd_soc_dapm_widget ssm2602_dapm_widgets[] = {
154 SND_SOC_DAPM_MIXER("Output Mixer", SSM2602_PWR, 4, 1,
155 ssm260x_output_mixer_controls,
156 ARRAY_SIZE(ssm260x_output_mixer_controls)),
158 SND_SOC_DAPM_MUX("Input Mux", SND_SOC_NOPM, 0, 0, &ssm2602_input_mux_controls),
159 SND_SOC_DAPM_MICBIAS("Mic Bias", SSM2602_PWR, 1, 1),
161 SND_SOC_DAPM_OUTPUT("LHPOUT"),
162 SND_SOC_DAPM_OUTPUT("RHPOUT"),
163 SND_SOC_DAPM_INPUT("MICIN"),
166 static const struct snd_soc_dapm_widget ssm2604_dapm_widgets[] = {
167 SND_SOC_DAPM_MIXER("Output Mixer", SND_SOC_NOPM, 0, 0,
168 ssm260x_output_mixer_controls,
169 ARRAY_SIZE(ssm260x_output_mixer_controls) - 1), /* Last element is the mic */
172 static const struct snd_soc_dapm_route ssm260x_routes[] = {
173 {"DAC", NULL, "Digital Core Power"},
174 {"ADC", NULL, "Digital Core Power"},
176 {"Output Mixer", "Line Bypass Switch", "Line Input"},
177 {"Output Mixer", "HiFi Playback Switch", "DAC"},
179 {"ROUT", NULL, "Output Mixer"},
180 {"LOUT", NULL, "Output Mixer"},
182 {"Line Input", NULL, "LLINEIN"},
183 {"Line Input", NULL, "RLINEIN"},
186 static const struct snd_soc_dapm_route ssm2602_routes[] = {
187 {"Output Mixer", "Mic Sidetone Switch", "Mic Bias"},
189 {"RHPOUT", NULL, "Output Mixer"},
190 {"LHPOUT", NULL, "Output Mixer"},
192 {"Input Mux", "Line", "Line Input"},
193 {"Input Mux", "Mic", "Mic Bias"},
194 {"ADC", NULL, "Input Mux"},
196 {"Mic Bias", NULL, "MICIN"},
199 static const struct snd_soc_dapm_route ssm2604_routes[] = {
200 {"ADC", NULL, "Line Input"},
203 static const unsigned int ssm2602_rates_12288000[] = {
204 8000, 16000, 32000, 48000, 96000,
207 static const struct snd_pcm_hw_constraint_list ssm2602_constraints_12288000 = {
208 .list = ssm2602_rates_12288000,
209 .count = ARRAY_SIZE(ssm2602_rates_12288000),
212 static const unsigned int ssm2602_rates_11289600[] = {
213 8000, 11025, 22050, 44100, 88200,
216 static const struct snd_pcm_hw_constraint_list ssm2602_constraints_11289600 = {
217 .list = ssm2602_rates_11289600,
218 .count = ARRAY_SIZE(ssm2602_rates_11289600),
221 struct ssm2602_coeff {
227 #define SSM2602_COEFF_SRATE(sr, bosr, usb) (((sr) << 2) | ((bosr) << 1) | (usb))
229 /* codec mclk clock coefficients */
230 static const struct ssm2602_coeff ssm2602_coeff_table[] = {
232 {12288000, 48000, SSM2602_COEFF_SRATE(0x0, 0x0, 0x0)},
233 {18432000, 48000, SSM2602_COEFF_SRATE(0x0, 0x1, 0x0)},
234 {12000000, 48000, SSM2602_COEFF_SRATE(0x0, 0x0, 0x1)},
237 {12288000, 32000, SSM2602_COEFF_SRATE(0x6, 0x0, 0x0)},
238 {18432000, 32000, SSM2602_COEFF_SRATE(0x6, 0x1, 0x0)},
239 {12000000, 32000, SSM2602_COEFF_SRATE(0x6, 0x0, 0x1)},
242 {12288000, 16000, SSM2602_COEFF_SRATE(0x5, 0x0, 0x0)},
243 {18432000, 16000, SSM2602_COEFF_SRATE(0x5, 0x1, 0x0)},
244 {12000000, 16000, SSM2602_COEFF_SRATE(0xa, 0x0, 0x1)},
247 {12288000, 8000, SSM2602_COEFF_SRATE(0x3, 0x0, 0x0)},
248 {18432000, 8000, SSM2602_COEFF_SRATE(0x3, 0x1, 0x0)},
249 {11289600, 8000, SSM2602_COEFF_SRATE(0xb, 0x0, 0x0)},
250 {16934400, 8000, SSM2602_COEFF_SRATE(0xb, 0x1, 0x0)},
251 {12000000, 8000, SSM2602_COEFF_SRATE(0x3, 0x0, 0x1)},
254 {12288000, 96000, SSM2602_COEFF_SRATE(0x7, 0x0, 0x0)},
255 {18432000, 96000, SSM2602_COEFF_SRATE(0x7, 0x1, 0x0)},
256 {12000000, 96000, SSM2602_COEFF_SRATE(0x7, 0x0, 0x1)},
259 {11289600, 11025, SSM2602_COEFF_SRATE(0xc, 0x0, 0x0)},
260 {16934400, 11025, SSM2602_COEFF_SRATE(0xc, 0x1, 0x0)},
261 {12000000, 11025, SSM2602_COEFF_SRATE(0xc, 0x1, 0x1)},
264 {11289600, 22050, SSM2602_COEFF_SRATE(0xd, 0x0, 0x0)},
265 {16934400, 22050, SSM2602_COEFF_SRATE(0xd, 0x1, 0x0)},
266 {12000000, 22050, SSM2602_COEFF_SRATE(0xd, 0x1, 0x1)},
269 {11289600, 44100, SSM2602_COEFF_SRATE(0x8, 0x0, 0x0)},
270 {16934400, 44100, SSM2602_COEFF_SRATE(0x8, 0x1, 0x0)},
271 {12000000, 44100, SSM2602_COEFF_SRATE(0x8, 0x1, 0x1)},
274 {11289600, 88200, SSM2602_COEFF_SRATE(0xf, 0x0, 0x0)},
275 {16934400, 88200, SSM2602_COEFF_SRATE(0xf, 0x1, 0x0)},
276 {12000000, 88200, SSM2602_COEFF_SRATE(0xf, 0x1, 0x1)},
279 static inline int ssm2602_get_coeff(int mclk, int rate)
283 for (i = 0; i < ARRAY_SIZE(ssm2602_coeff_table); i++) {
284 if (ssm2602_coeff_table[i].rate == rate &&
285 ssm2602_coeff_table[i].mclk == mclk)
286 return ssm2602_coeff_table[i].srate;
291 static int ssm2602_hw_params(struct snd_pcm_substream *substream,
292 struct snd_pcm_hw_params *params,
293 struct snd_soc_dai *dai)
295 struct snd_soc_codec *codec = dai->codec;
296 struct ssm2602_priv *ssm2602 = snd_soc_codec_get_drvdata(codec);
297 int srate = ssm2602_get_coeff(ssm2602->sysclk, params_rate(params));
303 regmap_write(ssm2602->regmap, SSM2602_SRATE, srate);
306 switch (params_width(params)) {
322 regmap_update_bits(ssm2602->regmap, SSM2602_IFACE,
323 IFACE_AUDIO_DATA_LEN, iface);
327 static int ssm2602_startup(struct snd_pcm_substream *substream,
328 struct snd_soc_dai *dai)
330 struct snd_soc_codec *codec = dai->codec;
331 struct ssm2602_priv *ssm2602 = snd_soc_codec_get_drvdata(codec);
333 if (ssm2602->sysclk_constraints) {
334 snd_pcm_hw_constraint_list(substream->runtime, 0,
335 SNDRV_PCM_HW_PARAM_RATE,
336 ssm2602->sysclk_constraints);
342 static int ssm2602_mute(struct snd_soc_dai *dai, int mute)
344 struct ssm2602_priv *ssm2602 = snd_soc_codec_get_drvdata(dai->codec);
347 regmap_update_bits(ssm2602->regmap, SSM2602_APDIGI,
348 APDIGI_ENABLE_DAC_MUTE,
349 APDIGI_ENABLE_DAC_MUTE);
351 regmap_update_bits(ssm2602->regmap, SSM2602_APDIGI,
352 APDIGI_ENABLE_DAC_MUTE, 0);
356 static int ssm2602_set_dai_sysclk(struct snd_soc_dai *codec_dai,
357 int clk_id, unsigned int freq, int dir)
359 struct snd_soc_codec *codec = codec_dai->codec;
360 struct ssm2602_priv *ssm2602 = snd_soc_codec_get_drvdata(codec);
362 if (dir == SND_SOC_CLOCK_IN) {
363 if (clk_id != SSM2602_SYSCLK)
369 ssm2602->sysclk_constraints = &ssm2602_constraints_12288000;
373 ssm2602->sysclk_constraints = &ssm2602_constraints_11289600;
376 ssm2602->sysclk_constraints = NULL;
381 ssm2602->sysclk = freq;
386 case SSM2602_CLK_CLKOUT:
387 mask = PWR_CLK_OUT_PDN;
389 case SSM2602_CLK_XTO:
397 ssm2602->clk_out_pwr |= mask;
399 ssm2602->clk_out_pwr &= ~mask;
401 regmap_update_bits(ssm2602->regmap, SSM2602_PWR,
402 PWR_CLK_OUT_PDN | PWR_OSC_PDN, ssm2602->clk_out_pwr);
408 static int ssm2602_set_dai_fmt(struct snd_soc_dai *codec_dai,
411 struct ssm2602_priv *ssm2602 = snd_soc_codec_get_drvdata(codec_dai->codec);
412 unsigned int iface = 0;
414 /* set master/slave audio interface */
415 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
416 case SND_SOC_DAIFMT_CBM_CFM:
419 case SND_SOC_DAIFMT_CBS_CFS:
425 /* interface format */
426 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
427 case SND_SOC_DAIFMT_I2S:
430 case SND_SOC_DAIFMT_RIGHT_J:
432 case SND_SOC_DAIFMT_LEFT_J:
435 case SND_SOC_DAIFMT_DSP_A:
438 case SND_SOC_DAIFMT_DSP_B:
445 /* clock inversion */
446 switch (fmt & SND_SOC_DAIFMT_INV_MASK) {
447 case SND_SOC_DAIFMT_NB_NF:
449 case SND_SOC_DAIFMT_IB_IF:
452 case SND_SOC_DAIFMT_IB_NF:
455 case SND_SOC_DAIFMT_NB_IF:
463 regmap_write(ssm2602->regmap, SSM2602_IFACE, iface);
467 static int ssm2602_set_bias_level(struct snd_soc_codec *codec,
468 enum snd_soc_bias_level level)
470 struct ssm2602_priv *ssm2602 = snd_soc_codec_get_drvdata(codec);
473 case SND_SOC_BIAS_ON:
474 /* vref/mid on, osc and clkout on if enabled */
475 regmap_update_bits(ssm2602->regmap, SSM2602_PWR,
476 PWR_POWER_OFF | PWR_CLK_OUT_PDN | PWR_OSC_PDN,
477 ssm2602->clk_out_pwr);
479 case SND_SOC_BIAS_PREPARE:
481 case SND_SOC_BIAS_STANDBY:
482 /* everything off except vref/vmid, */
483 regmap_update_bits(ssm2602->regmap, SSM2602_PWR,
484 PWR_POWER_OFF | PWR_CLK_OUT_PDN | PWR_OSC_PDN,
485 PWR_CLK_OUT_PDN | PWR_OSC_PDN);
487 case SND_SOC_BIAS_OFF:
489 regmap_update_bits(ssm2602->regmap, SSM2602_PWR,
490 PWR_POWER_OFF, PWR_POWER_OFF);
497 #define SSM2602_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
498 SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\
499 SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 |\
500 SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 |\
501 SNDRV_PCM_RATE_96000)
503 #define SSM2602_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
504 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
506 static const struct snd_soc_dai_ops ssm2602_dai_ops = {
507 .startup = ssm2602_startup,
508 .hw_params = ssm2602_hw_params,
509 .digital_mute = ssm2602_mute,
510 .set_sysclk = ssm2602_set_dai_sysclk,
511 .set_fmt = ssm2602_set_dai_fmt,
514 static struct snd_soc_dai_driver ssm2602_dai = {
515 .name = "ssm2602-hifi",
517 .stream_name = "Playback",
520 .rates = SSM2602_RATES,
521 .formats = SSM2602_FORMATS,},
523 .stream_name = "Capture",
526 .rates = SSM2602_RATES,
527 .formats = SSM2602_FORMATS,},
528 .ops = &ssm2602_dai_ops,
529 .symmetric_rates = 1,
530 .symmetric_samplebits = 1,
533 static int ssm2602_resume(struct snd_soc_codec *codec)
535 struct ssm2602_priv *ssm2602 = snd_soc_codec_get_drvdata(codec);
537 regcache_sync(ssm2602->regmap);
542 static int ssm2602_codec_probe(struct snd_soc_codec *codec)
544 struct snd_soc_dapm_context *dapm = snd_soc_codec_get_dapm(codec);
545 struct ssm2602_priv *ssm2602 = snd_soc_codec_get_drvdata(codec);
548 regmap_update_bits(ssm2602->regmap, SSM2602_LOUT1V,
549 LOUT1V_LRHP_BOTH, LOUT1V_LRHP_BOTH);
550 regmap_update_bits(ssm2602->regmap, SSM2602_ROUT1V,
551 ROUT1V_RLHP_BOTH, ROUT1V_RLHP_BOTH);
553 ret = snd_soc_add_codec_controls(codec, ssm2602_snd_controls,
554 ARRAY_SIZE(ssm2602_snd_controls));
558 ret = snd_soc_dapm_new_controls(dapm, ssm2602_dapm_widgets,
559 ARRAY_SIZE(ssm2602_dapm_widgets));
563 return snd_soc_dapm_add_routes(dapm, ssm2602_routes,
564 ARRAY_SIZE(ssm2602_routes));
567 static int ssm2604_codec_probe(struct snd_soc_codec *codec)
569 struct snd_soc_dapm_context *dapm = snd_soc_codec_get_dapm(codec);
572 ret = snd_soc_dapm_new_controls(dapm, ssm2604_dapm_widgets,
573 ARRAY_SIZE(ssm2604_dapm_widgets));
577 return snd_soc_dapm_add_routes(dapm, ssm2604_routes,
578 ARRAY_SIZE(ssm2604_routes));
581 static int ssm260x_codec_probe(struct snd_soc_codec *codec)
583 struct ssm2602_priv *ssm2602 = snd_soc_codec_get_drvdata(codec);
586 ret = regmap_write(ssm2602->regmap, SSM2602_RESET, 0);
588 dev_err(codec->dev, "Failed to issue reset: %d\n", ret);
592 regmap_register_patch(ssm2602->regmap, ssm2602_patch,
593 ARRAY_SIZE(ssm2602_patch));
595 /* set the update bits */
596 regmap_update_bits(ssm2602->regmap, SSM2602_LINVOL,
597 LINVOL_LRIN_BOTH, LINVOL_LRIN_BOTH);
598 regmap_update_bits(ssm2602->regmap, SSM2602_RINVOL,
599 RINVOL_RLIN_BOTH, RINVOL_RLIN_BOTH);
600 /*select Line in as default input*/
601 regmap_write(ssm2602->regmap, SSM2602_APANA, APANA_SELECT_DAC |
602 APANA_ENABLE_MIC_BOOST);
604 switch (ssm2602->type) {
606 ret = ssm2602_codec_probe(codec);
609 ret = ssm2604_codec_probe(codec);
616 static const struct snd_soc_codec_driver soc_codec_dev_ssm2602 = {
617 .probe = ssm260x_codec_probe,
618 .resume = ssm2602_resume,
619 .set_bias_level = ssm2602_set_bias_level,
620 .suspend_bias_off = true,
622 .component_driver = {
623 .controls = ssm260x_snd_controls,
624 .num_controls = ARRAY_SIZE(ssm260x_snd_controls),
625 .dapm_widgets = ssm260x_dapm_widgets,
626 .num_dapm_widgets = ARRAY_SIZE(ssm260x_dapm_widgets),
627 .dapm_routes = ssm260x_routes,
628 .num_dapm_routes = ARRAY_SIZE(ssm260x_routes),
632 static bool ssm2602_register_volatile(struct device *dev, unsigned int reg)
634 return reg == SSM2602_RESET;
637 const struct regmap_config ssm2602_regmap_config = {
641 .max_register = SSM2602_RESET,
642 .volatile_reg = ssm2602_register_volatile,
644 .cache_type = REGCACHE_RBTREE,
645 .reg_defaults = ssm2602_reg,
646 .num_reg_defaults = ARRAY_SIZE(ssm2602_reg),
648 EXPORT_SYMBOL_GPL(ssm2602_regmap_config);
650 int ssm2602_probe(struct device *dev, enum ssm2602_type type,
651 struct regmap *regmap)
653 struct ssm2602_priv *ssm2602;
656 return PTR_ERR(regmap);
658 ssm2602 = devm_kzalloc(dev, sizeof(*ssm2602), GFP_KERNEL);
662 dev_set_drvdata(dev, ssm2602);
663 ssm2602->type = type;
664 ssm2602->regmap = regmap;
666 return snd_soc_register_codec(dev, &soc_codec_dev_ssm2602,
669 EXPORT_SYMBOL_GPL(ssm2602_probe);
671 MODULE_DESCRIPTION("ASoC SSM2602/SSM2603/SSM2604 driver");
672 MODULE_AUTHOR("Cliff Cai");
673 MODULE_LICENSE("GPL");