0001
0002
0003
0004
0005
0006
0007 #include <sound/core.h>
0008 #include <sound/soc.h>
0009 #include <sound/pcm.h>
0010 #include <sound/pcm_params.h>
0011 #include <sound/soc-dapm.h>
0012 #include <sound/jack.h>
0013 #include <linux/clk.h>
0014 #include <linux/gpio.h>
0015 #include <linux/gpio/consumer.h>
0016 #include <linux/module.h>
0017 #include <linux/i2c.h>
0018 #include <linux/input.h>
0019 #include <linux/io.h>
0020 #include <linux/acpi.h>
0021
0022 #include "raven/acp3x.h"
0023 #include "../codecs/rt5682.h"
0024 #include "../codecs/rt1015.h"
0025
0026 #define PCO_PLAT_CLK 48000000
0027 #define RT5682_PLL_FREQ (48000 * 512)
0028 #define DUAL_CHANNEL 2
0029
0030 static struct snd_soc_jack pco_jack;
0031 static struct clk *rt5682_dai_wclk;
0032 static struct clk *rt5682_dai_bclk;
0033 static struct gpio_desc *dmic_sel;
0034 void *soc_is_rltk_max(struct device *dev);
0035
0036 enum {
0037 RT5682 = 0,
0038 MAX,
0039 EC,
0040 };
0041
0042 static int acp3x_5682_init(struct snd_soc_pcm_runtime *rtd)
0043 {
0044 int ret;
0045 struct snd_soc_card *card = rtd->card;
0046 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0);
0047 struct snd_soc_component *component = codec_dai->component;
0048
0049 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name);
0050
0051
0052 ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S
0053 | SND_SOC_DAIFMT_NB_NF
0054 | SND_SOC_DAIFMT_CBP_CFP);
0055 if (ret < 0) {
0056 dev_err(rtd->card->dev,
0057 "Failed to set rt5682 dai fmt: %d\n", ret);
0058 return ret;
0059 }
0060
0061
0062 ret = snd_soc_dai_set_pll(codec_dai, RT5682_PLL2, RT5682_PLL2_S_MCLK,
0063 PCO_PLAT_CLK, RT5682_PLL_FREQ);
0064 if (ret < 0) {
0065 dev_err(rtd->dev, "can't set rt5682 PLL: %d\n", ret);
0066 return ret;
0067 }
0068
0069
0070 ret = snd_soc_dai_set_sysclk(codec_dai, RT5682_SCLK_S_PLL2,
0071 RT5682_PLL_FREQ, SND_SOC_CLOCK_IN);
0072 if (ret < 0) {
0073 dev_err(rtd->dev,
0074 "Failed to set rt5682 SYSCLK: %d\n", ret);
0075 return ret;
0076 }
0077
0078
0079 ret = snd_soc_dai_set_bclk_ratio(codec_dai, 64);
0080 if (ret < 0) {
0081 dev_err(rtd->dev,
0082 "Failed to set rt5682 tdm bclk ratio: %d\n", ret);
0083 return ret;
0084 }
0085
0086 rt5682_dai_wclk = clk_get(component->dev, "rt5682-dai-wclk");
0087 rt5682_dai_bclk = clk_get(component->dev, "rt5682-dai-bclk");
0088
0089 ret = snd_soc_card_jack_new(card, "Headset Jack",
0090 SND_JACK_HEADSET | SND_JACK_LINEOUT |
0091 SND_JACK_BTN_0 | SND_JACK_BTN_1 |
0092 SND_JACK_BTN_2 | SND_JACK_BTN_3,
0093 &pco_jack);
0094 if (ret) {
0095 dev_err(card->dev, "HP jack creation failed %d\n", ret);
0096 return ret;
0097 }
0098
0099 snd_jack_set_key(pco_jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
0100 snd_jack_set_key(pco_jack.jack, SND_JACK_BTN_1, KEY_VOICECOMMAND);
0101 snd_jack_set_key(pco_jack.jack, SND_JACK_BTN_2, KEY_VOLUMEUP);
0102 snd_jack_set_key(pco_jack.jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN);
0103
0104 ret = snd_soc_component_set_jack(component, &pco_jack, NULL);
0105 if (ret) {
0106 dev_err(rtd->dev, "Headset Jack call-back failed: %d\n", ret);
0107 return ret;
0108 }
0109
0110 return ret;
0111 }
0112
0113 static int rt5682_clk_enable(struct snd_pcm_substream *substream)
0114 {
0115 int ret = 0;
0116 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
0117
0118
0119 clk_set_rate(rt5682_dai_wclk, 48000);
0120 clk_set_rate(rt5682_dai_bclk, 48000 * 64);
0121 ret = clk_prepare_enable(rt5682_dai_wclk);
0122 if (ret < 0) {
0123 dev_err(rtd->dev, "can't enable wclk %d\n", ret);
0124 return ret;
0125 }
0126
0127 return ret;
0128 }
0129
0130 static int acp3x_1015_hw_params(struct snd_pcm_substream *substream,
0131 struct snd_pcm_hw_params *params)
0132 {
0133 struct snd_soc_pcm_runtime *rtd = substream->private_data;
0134 struct snd_soc_dai *codec_dai;
0135 int srate, i, ret;
0136
0137 ret = 0;
0138 srate = params_rate(params);
0139
0140 for_each_rtd_codec_dais(rtd, i, codec_dai) {
0141 if (strcmp(codec_dai->name, "rt1015-aif"))
0142 continue;
0143
0144 ret = snd_soc_dai_set_pll(codec_dai, 0, RT1015_PLL_S_BCLK,
0145 64 * srate, 256 * srate);
0146 if (ret < 0)
0147 return ret;
0148 ret = snd_soc_dai_set_sysclk(codec_dai, RT1015_SCLK_S_PLL,
0149 256 * srate, SND_SOC_CLOCK_IN);
0150 if (ret < 0)
0151 return ret;
0152 }
0153 return ret;
0154 }
0155
0156 static void rt5682_clk_disable(void)
0157 {
0158 clk_disable_unprepare(rt5682_dai_wclk);
0159 }
0160
0161 static const unsigned int channels[] = {
0162 DUAL_CHANNEL,
0163 };
0164
0165 static const unsigned int rates[] = {
0166 48000,
0167 };
0168
0169 static const struct snd_pcm_hw_constraint_list constraints_rates = {
0170 .count = ARRAY_SIZE(rates),
0171 .list = rates,
0172 .mask = 0,
0173 };
0174
0175 static const struct snd_pcm_hw_constraint_list constraints_channels = {
0176 .count = ARRAY_SIZE(channels),
0177 .list = channels,
0178 .mask = 0,
0179 };
0180
0181 static int acp3x_5682_startup(struct snd_pcm_substream *substream)
0182 {
0183 struct snd_pcm_runtime *runtime = substream->runtime;
0184 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
0185 struct snd_soc_card *card = rtd->card;
0186 struct acp3x_platform_info *machine = snd_soc_card_get_drvdata(card);
0187
0188 machine->play_i2s_instance = I2S_SP_INSTANCE;
0189 machine->cap_i2s_instance = I2S_SP_INSTANCE;
0190
0191 runtime->hw.channels_max = DUAL_CHANNEL;
0192 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
0193 &constraints_channels);
0194 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
0195 &constraints_rates);
0196 return rt5682_clk_enable(substream);
0197 }
0198
0199 static int acp3x_max_startup(struct snd_pcm_substream *substream)
0200 {
0201 struct snd_pcm_runtime *runtime = substream->runtime;
0202 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
0203 struct snd_soc_card *card = rtd->card;
0204 struct acp3x_platform_info *machine = snd_soc_card_get_drvdata(card);
0205
0206 machine->play_i2s_instance = I2S_BT_INSTANCE;
0207
0208 runtime->hw.channels_max = DUAL_CHANNEL;
0209 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
0210 &constraints_channels);
0211 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
0212 &constraints_rates);
0213 return rt5682_clk_enable(substream);
0214 }
0215
0216 static int acp3x_ec_dmic0_startup(struct snd_pcm_substream *substream)
0217 {
0218 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
0219 struct snd_soc_card *card = rtd->card;
0220 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0);
0221 struct acp3x_platform_info *machine = snd_soc_card_get_drvdata(card);
0222
0223 machine->cap_i2s_instance = I2S_BT_INSTANCE;
0224 snd_soc_dai_set_bclk_ratio(codec_dai, 64);
0225
0226 return rt5682_clk_enable(substream);
0227 }
0228
0229 static int dmic_switch;
0230
0231 static int dmic_get(struct snd_kcontrol *kcontrol,
0232 struct snd_ctl_elem_value *ucontrol)
0233 {
0234 ucontrol->value.integer.value[0] = dmic_switch;
0235 return 0;
0236 }
0237
0238 static int dmic_set(struct snd_kcontrol *kcontrol,
0239 struct snd_ctl_elem_value *ucontrol)
0240 {
0241 if (dmic_sel) {
0242 dmic_switch = ucontrol->value.integer.value[0];
0243 gpiod_set_value(dmic_sel, dmic_switch);
0244 }
0245 return 0;
0246 }
0247
0248 static void rt5682_shutdown(struct snd_pcm_substream *substream)
0249 {
0250 rt5682_clk_disable();
0251 }
0252
0253 static const struct snd_soc_ops acp3x_5682_ops = {
0254 .startup = acp3x_5682_startup,
0255 .shutdown = rt5682_shutdown,
0256 };
0257
0258 static const struct snd_soc_ops acp3x_max_play_ops = {
0259 .startup = acp3x_max_startup,
0260 .shutdown = rt5682_shutdown,
0261 .hw_params = acp3x_1015_hw_params,
0262 };
0263
0264 static const struct snd_soc_ops acp3x_ec_cap0_ops = {
0265 .startup = acp3x_ec_dmic0_startup,
0266 .shutdown = rt5682_shutdown,
0267 };
0268
0269 SND_SOC_DAILINK_DEF(acp3x_i2s,
0270 DAILINK_COMP_ARRAY(COMP_CPU("acp3x_i2s_playcap.0")));
0271 SND_SOC_DAILINK_DEF(acp3x_bt,
0272 DAILINK_COMP_ARRAY(COMP_CPU("acp3x_i2s_playcap.2")));
0273
0274 SND_SOC_DAILINK_DEF(rt5682,
0275 DAILINK_COMP_ARRAY(COMP_CODEC("i2c-10EC5682:00", "rt5682-aif1")));
0276 SND_SOC_DAILINK_DEF(max,
0277 DAILINK_COMP_ARRAY(COMP_CODEC("MX98357A:00", "HiFi")));
0278 SND_SOC_DAILINK_DEF(rt1015p,
0279 DAILINK_COMP_ARRAY(COMP_CODEC("RTL1015:00", "HiFi")));
0280 SND_SOC_DAILINK_DEF(rt1015,
0281 DAILINK_COMP_ARRAY(COMP_CODEC("i2c-10EC1015:00", "rt1015-aif"),
0282 COMP_CODEC("i2c-10EC1015:01", "rt1015-aif")));
0283 SND_SOC_DAILINK_DEF(cros_ec,
0284 DAILINK_COMP_ARRAY(COMP_CODEC("GOOG0013:00", "EC Codec I2S RX")));
0285
0286 SND_SOC_DAILINK_DEF(platform,
0287 DAILINK_COMP_ARRAY(COMP_PLATFORM("acp3x_rv_i2s_dma.0")));
0288
0289 static struct snd_soc_codec_conf rt1015_conf[] = {
0290 {
0291 .dlc = COMP_CODEC_CONF("i2c-10EC1015:00"),
0292 .name_prefix = "Left",
0293 },
0294 {
0295 .dlc = COMP_CODEC_CONF("i2c-10EC1015:01"),
0296 .name_prefix = "Right",
0297 },
0298 };
0299
0300 static struct snd_soc_dai_link acp3x_dai[] = {
0301 [RT5682] = {
0302 .name = "acp3x-5682-play",
0303 .stream_name = "Playback",
0304 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
0305 | SND_SOC_DAIFMT_CBP_CFP,
0306 .init = acp3x_5682_init,
0307 .dpcm_playback = 1,
0308 .dpcm_capture = 1,
0309 .ops = &acp3x_5682_ops,
0310 SND_SOC_DAILINK_REG(acp3x_i2s, rt5682, platform),
0311 },
0312 [MAX] = {
0313 .name = "acp3x-max98357-play",
0314 .stream_name = "HiFi Playback",
0315 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
0316 | SND_SOC_DAIFMT_CBC_CFC,
0317 .dpcm_playback = 1,
0318 .ops = &acp3x_max_play_ops,
0319 .cpus = acp3x_bt,
0320 .num_cpus = ARRAY_SIZE(acp3x_bt),
0321 .platforms = platform,
0322 .num_platforms = ARRAY_SIZE(platform),
0323 },
0324 [EC] = {
0325 .name = "acp3x-ec-dmic0-capture",
0326 .stream_name = "Capture DMIC0",
0327 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
0328 | SND_SOC_DAIFMT_CBC_CFC,
0329 .dpcm_capture = 1,
0330 .ops = &acp3x_ec_cap0_ops,
0331 SND_SOC_DAILINK_REG(acp3x_bt, cros_ec, platform),
0332 },
0333 };
0334
0335 static const char * const dmic_mux_text[] = {
0336 "Front Mic",
0337 "Rear Mic",
0338 };
0339
0340 static SOC_ENUM_SINGLE_DECL(
0341 acp3x_dmic_enum, SND_SOC_NOPM, 0, dmic_mux_text);
0342
0343 static const struct snd_kcontrol_new acp3x_dmic_mux_control =
0344 SOC_DAPM_ENUM_EXT("DMIC Select Mux", acp3x_dmic_enum,
0345 dmic_get, dmic_set);
0346
0347 static const struct snd_soc_dapm_widget acp3x_5682_widgets[] = {
0348 SND_SOC_DAPM_HP("Headphone Jack", NULL),
0349 SND_SOC_DAPM_SPK("Spk", NULL),
0350 SND_SOC_DAPM_MIC("Headset Mic", NULL),
0351 SND_SOC_DAPM_MUX("Dmic Mux", SND_SOC_NOPM, 0, 0,
0352 &acp3x_dmic_mux_control),
0353 };
0354
0355 static const struct snd_soc_dapm_route acp3x_5682_audio_route[] = {
0356 {"Headphone Jack", NULL, "HPOL"},
0357 {"Headphone Jack", NULL, "HPOR"},
0358 {"IN1P", NULL, "Headset Mic"},
0359 {"Spk", NULL, "Speaker"},
0360 {"Dmic Mux", "Front Mic", "DMIC"},
0361 {"Dmic Mux", "Rear Mic", "DMIC"},
0362 };
0363
0364 static const struct snd_kcontrol_new acp3x_5682_mc_controls[] = {
0365 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
0366 SOC_DAPM_PIN_SWITCH("Spk"),
0367 SOC_DAPM_PIN_SWITCH("Headset Mic"),
0368 };
0369
0370 static struct snd_soc_card acp3x_5682 = {
0371 .name = "acp3xalc5682m98357",
0372 .owner = THIS_MODULE,
0373 .dai_link = acp3x_dai,
0374 .num_links = ARRAY_SIZE(acp3x_dai),
0375 .dapm_widgets = acp3x_5682_widgets,
0376 .num_dapm_widgets = ARRAY_SIZE(acp3x_5682_widgets),
0377 .dapm_routes = acp3x_5682_audio_route,
0378 .num_dapm_routes = ARRAY_SIZE(acp3x_5682_audio_route),
0379 .controls = acp3x_5682_mc_controls,
0380 .num_controls = ARRAY_SIZE(acp3x_5682_mc_controls),
0381 };
0382
0383 static const struct snd_soc_dapm_widget acp3x_1015_widgets[] = {
0384 SND_SOC_DAPM_HP("Headphone Jack", NULL),
0385 SND_SOC_DAPM_MIC("Headset Mic", NULL),
0386 SND_SOC_DAPM_MUX("Dmic Mux", SND_SOC_NOPM, 0, 0,
0387 &acp3x_dmic_mux_control),
0388 SND_SOC_DAPM_SPK("Left Spk", NULL),
0389 SND_SOC_DAPM_SPK("Right Spk", NULL),
0390 };
0391
0392 static const struct snd_soc_dapm_route acp3x_1015_route[] = {
0393 {"Headphone Jack", NULL, "HPOL"},
0394 {"Headphone Jack", NULL, "HPOR"},
0395 {"IN1P", NULL, "Headset Mic"},
0396 {"Dmic Mux", "Front Mic", "DMIC"},
0397 {"Dmic Mux", "Rear Mic", "DMIC"},
0398 {"Left Spk", NULL, "Left SPO"},
0399 {"Right Spk", NULL, "Right SPO"},
0400 };
0401
0402 static const struct snd_kcontrol_new acp3x_mc_1015_controls[] = {
0403 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
0404 SOC_DAPM_PIN_SWITCH("Headset Mic"),
0405 SOC_DAPM_PIN_SWITCH("Left Spk"),
0406 SOC_DAPM_PIN_SWITCH("Right Spk"),
0407 };
0408
0409 static struct snd_soc_card acp3x_1015 = {
0410 .name = "acp3xalc56821015",
0411 .owner = THIS_MODULE,
0412 .dai_link = acp3x_dai,
0413 .num_links = ARRAY_SIZE(acp3x_dai),
0414 .dapm_widgets = acp3x_1015_widgets,
0415 .num_dapm_widgets = ARRAY_SIZE(acp3x_1015_widgets),
0416 .dapm_routes = acp3x_1015_route,
0417 .num_dapm_routes = ARRAY_SIZE(acp3x_1015_route),
0418 .codec_conf = rt1015_conf,
0419 .num_configs = ARRAY_SIZE(rt1015_conf),
0420 .controls = acp3x_mc_1015_controls,
0421 .num_controls = ARRAY_SIZE(acp3x_mc_1015_controls),
0422 };
0423
0424 static const struct snd_soc_dapm_widget acp3x_1015p_widgets[] = {
0425 SND_SOC_DAPM_HP("Headphone Jack", NULL),
0426 SND_SOC_DAPM_MIC("Headset Mic", NULL),
0427 SND_SOC_DAPM_MUX("Dmic Mux", SND_SOC_NOPM, 0, 0,
0428 &acp3x_dmic_mux_control),
0429 SND_SOC_DAPM_SPK("Speakers", NULL),
0430 };
0431
0432 static const struct snd_soc_dapm_route acp3x_1015p_route[] = {
0433 {"Headphone Jack", NULL, "HPOL"},
0434 {"Headphone Jack", NULL, "HPOR"},
0435 {"IN1P", NULL, "Headset Mic"},
0436 {"Dmic Mux", "Front Mic", "DMIC"},
0437 {"Dmic Mux", "Rear Mic", "DMIC"},
0438
0439 { "Speakers", NULL, "Speaker" },
0440 };
0441
0442 static const struct snd_kcontrol_new acp3x_mc_1015p_controls[] = {
0443 SOC_DAPM_PIN_SWITCH("Speakers"),
0444 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
0445 SOC_DAPM_PIN_SWITCH("Headset Mic"),
0446 };
0447
0448 static struct snd_soc_card acp3x_1015p = {
0449 .name = "acp3xalc56821015p",
0450 .owner = THIS_MODULE,
0451 .dai_link = acp3x_dai,
0452 .num_links = ARRAY_SIZE(acp3x_dai),
0453 .dapm_widgets = acp3x_1015p_widgets,
0454 .num_dapm_widgets = ARRAY_SIZE(acp3x_1015p_widgets),
0455 .dapm_routes = acp3x_1015p_route,
0456 .num_dapm_routes = ARRAY_SIZE(acp3x_1015p_route),
0457 .controls = acp3x_mc_1015p_controls,
0458 .num_controls = ARRAY_SIZE(acp3x_mc_1015p_controls),
0459 };
0460
0461 void *soc_is_rltk_max(struct device *dev)
0462 {
0463 const struct acpi_device_id *match;
0464
0465 match = acpi_match_device(dev->driver->acpi_match_table, dev);
0466 if (!match)
0467 return NULL;
0468 return (void *)match->driver_data;
0469 }
0470
0471 static void card_spk_dai_link_present(struct snd_soc_dai_link *links,
0472 const char *card_name)
0473 {
0474 if (!strcmp(card_name, "acp3xalc56821015")) {
0475 links[1].codecs = rt1015;
0476 links[1].num_codecs = ARRAY_SIZE(rt1015);
0477 } else if (!strcmp(card_name, "acp3xalc56821015p")) {
0478 links[1].codecs = rt1015p;
0479 links[1].num_codecs = ARRAY_SIZE(rt1015p);
0480 } else {
0481 links[1].codecs = max;
0482 links[1].num_codecs = ARRAY_SIZE(max);
0483 }
0484 }
0485
0486 static int acp3x_probe(struct platform_device *pdev)
0487 {
0488 int ret;
0489 struct snd_soc_card *card;
0490 struct acp3x_platform_info *machine;
0491 struct device *dev = &pdev->dev;
0492
0493 card = (struct snd_soc_card *)soc_is_rltk_max(dev);
0494 if (!card)
0495 return -ENODEV;
0496
0497 machine = devm_kzalloc(&pdev->dev, sizeof(*machine), GFP_KERNEL);
0498 if (!machine)
0499 return -ENOMEM;
0500
0501 card_spk_dai_link_present(card->dai_link, card->name);
0502 card->dev = &pdev->dev;
0503 platform_set_drvdata(pdev, card);
0504 snd_soc_card_set_drvdata(card, machine);
0505
0506 dmic_sel = devm_gpiod_get(&pdev->dev, "dmic", GPIOD_OUT_LOW);
0507 if (IS_ERR(dmic_sel)) {
0508 dev_err(&pdev->dev, "DMIC gpio failed err=%ld\n",
0509 PTR_ERR(dmic_sel));
0510 return PTR_ERR(dmic_sel);
0511 }
0512
0513 ret = devm_snd_soc_register_card(&pdev->dev, card);
0514 if (ret) {
0515 return dev_err_probe(&pdev->dev, ret,
0516 "devm_snd_soc_register_card(%s) failed\n",
0517 card->name);
0518 }
0519 return 0;
0520 }
0521
0522 static const struct acpi_device_id acp3x_audio_acpi_match[] = {
0523 { "AMDI5682", (unsigned long)&acp3x_5682},
0524 { "AMDI1015", (unsigned long)&acp3x_1015},
0525 { "10021015", (unsigned long)&acp3x_1015p},
0526 {},
0527 };
0528 MODULE_DEVICE_TABLE(acpi, acp3x_audio_acpi_match);
0529
0530 static struct platform_driver acp3x_audio = {
0531 .driver = {
0532 .name = "acp3x-alc5682-max98357",
0533 .acpi_match_table = ACPI_PTR(acp3x_audio_acpi_match),
0534 .pm = &snd_soc_pm_ops,
0535 },
0536 .probe = acp3x_probe,
0537 };
0538
0539 module_platform_driver(acp3x_audio);
0540
0541 MODULE_AUTHOR("akshu.agrawal@amd.com");
0542 MODULE_AUTHOR("Vishnuvardhanrao.Ravulapati@amd.com");
0543 MODULE_AUTHOR("Vijendar.Mukunda@amd.com");
0544 MODULE_DESCRIPTION("ALC5682 ALC1015, ALC1015P & MAX98357 audio support");
0545 MODULE_LICENSE("GPL v2");