2 * Intel Skylake I2S Machine Driver for NAU88L25+SSM4567
4 * Copyright (C) 2015, Intel Corporation. All rights reserved.
7 * Intel Skylake I2S Machine Driver for NAU88L25 and SSM4567
9 * Copyright (C) 2015, Intel Corporation. All rights reserved.
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License version
13 * 2 as published by the Free Software Foundation.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
21 #include <linux/module.h>
22 #include <linux/platform_device.h>
23 #include <sound/core.h>
24 #include <sound/pcm.h>
25 #include <sound/soc.h>
26 #include <sound/jack.h>
27 #include <sound/pcm_params.h>
28 #include "../../codecs/nau8825.h"
29 #include "../../codecs/hdac_hdmi.h"
30 #include "../skylake/skl.h"
32 #define SKL_NUVOTON_CODEC_DAI "nau8825-hifi"
33 #define SKL_SSM_CODEC_DAI "ssm4567-hifi"
34 #define DMIC_CH(p) p->list[p->count-1]
36 static struct snd_soc_jack skylake_headset
;
37 static struct snd_soc_card skylake_audio_card
;
38 static const struct snd_pcm_hw_constraint_list
*dmic_constraints
;
41 struct list_head head
;
42 struct snd_soc_dai
*codec_dai
;
46 struct skl_nau88125_private
{
47 struct list_head hdmi_pcm_list
;
50 SKL_DPCM_AUDIO_PB
= 0,
52 SKL_DPCM_AUDIO_REF_CP
,
53 SKL_DPCM_AUDIO_DMIC_CP
,
54 SKL_DPCM_AUDIO_HDMI1_PB
,
55 SKL_DPCM_AUDIO_HDMI2_PB
,
56 SKL_DPCM_AUDIO_HDMI3_PB
,
59 static inline struct snd_soc_dai
*skl_get_codec_dai(struct snd_soc_card
*card
)
61 struct snd_soc_pcm_runtime
*rtd
;
63 list_for_each_entry(rtd
, &card
->rtd_list
, list
) {
65 if (!strncmp(rtd
->codec_dai
->name
, SKL_NUVOTON_CODEC_DAI
,
66 strlen(SKL_NUVOTON_CODEC_DAI
)))
67 return rtd
->codec_dai
;
73 static const struct snd_kcontrol_new skylake_controls
[] = {
74 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
75 SOC_DAPM_PIN_SWITCH("Headset Mic"),
76 SOC_DAPM_PIN_SWITCH("Left Speaker"),
77 SOC_DAPM_PIN_SWITCH("Right Speaker"),
80 static int platform_clock_control(struct snd_soc_dapm_widget
*w
,
81 struct snd_kcontrol
*k
, int event
)
83 struct snd_soc_dapm_context
*dapm
= w
->dapm
;
84 struct snd_soc_card
*card
= dapm
->card
;
85 struct snd_soc_dai
*codec_dai
;
88 codec_dai
= skl_get_codec_dai(card
);
90 dev_err(card
->dev
, "Codec dai not found\n");
94 if (SND_SOC_DAPM_EVENT_ON(event
)) {
95 ret
= snd_soc_dai_set_sysclk(codec_dai
,
96 NAU8825_CLK_MCLK
, 24000000, SND_SOC_CLOCK_IN
);
98 dev_err(card
->dev
, "set sysclk err = %d\n", ret
);
102 ret
= snd_soc_dai_set_sysclk(codec_dai
,
103 NAU8825_CLK_INTERNAL
, 0, SND_SOC_CLOCK_IN
);
105 dev_err(card
->dev
, "set sysclk err = %d\n", ret
);
112 static const struct snd_soc_dapm_widget skylake_widgets
[] = {
113 SND_SOC_DAPM_HP("Headphone Jack", NULL
),
114 SND_SOC_DAPM_MIC("Headset Mic", NULL
),
115 SND_SOC_DAPM_SPK("Left Speaker", NULL
),
116 SND_SOC_DAPM_SPK("Right Speaker", NULL
),
117 SND_SOC_DAPM_MIC("SoC DMIC", NULL
),
118 SND_SOC_DAPM_SPK("DP", NULL
),
119 SND_SOC_DAPM_SPK("HDMI", NULL
),
120 SND_SOC_DAPM_SUPPLY("Platform Clock", SND_SOC_NOPM
, 0, 0,
121 platform_clock_control
, SND_SOC_DAPM_PRE_PMU
|
122 SND_SOC_DAPM_POST_PMD
),
125 static const struct snd_soc_dapm_route skylake_map
[] = {
126 /* HP jack connectors - unknown if we have jack detection */
127 {"Headphone Jack", NULL
, "HPOL"},
128 {"Headphone Jack", NULL
, "HPOR"},
131 {"Left Speaker", NULL
, "Left OUT"},
132 {"Right Speaker", NULL
, "Right OUT"},
135 {"MIC", NULL
, "Headset Mic"},
136 {"DMic", NULL
, "SoC DMIC"},
138 {"HDMI", NULL
, "hif5 Output"},
139 {"DP", NULL
, "hif6 Output"},
140 /* CODEC BE connections */
141 { "Left Playback", NULL
, "ssp0 Tx"},
142 { "Right Playback", NULL
, "ssp0 Tx"},
143 { "ssp0 Tx", NULL
, "codec0_out"},
145 /* IV feedback path */
146 { "codec0_lp_in", NULL
, "ssp0 Rx"},
147 { "ssp0 Rx", NULL
, "Left Capture Sense" },
148 { "ssp0 Rx", NULL
, "Right Capture Sense" },
150 { "Playback", NULL
, "ssp1 Tx"},
151 { "ssp1 Tx", NULL
, "codec1_out"},
153 { "codec0_in", NULL
, "ssp1 Rx" },
154 { "ssp1 Rx", NULL
, "Capture" },
157 { "dmic01_hifi", NULL
, "DMIC01 Rx" },
158 { "DMIC01 Rx", NULL
, "DMIC AIF" },
160 { "hifi3", NULL
, "iDisp3 Tx"},
161 { "iDisp3 Tx", NULL
, "iDisp3_out"},
162 { "hifi2", NULL
, "iDisp2 Tx"},
163 { "iDisp2 Tx", NULL
, "iDisp2_out"},
164 { "hifi1", NULL
, "iDisp1 Tx"},
165 { "iDisp1 Tx", NULL
, "iDisp1_out"},
167 { "Headphone Jack", NULL
, "Platform Clock" },
168 { "Headset Mic", NULL
, "Platform Clock" },
171 static struct snd_soc_codec_conf ssm4567_codec_conf
[] = {
173 .dev_name
= "i2c-INT343B:00",
174 .name_prefix
= "Left",
177 .dev_name
= "i2c-INT343B:01",
178 .name_prefix
= "Right",
182 static struct snd_soc_dai_link_component ssm4567_codec_components
[] = {
184 .name
= "i2c-INT343B:00",
185 .dai_name
= SKL_SSM_CODEC_DAI
,
188 .name
= "i2c-INT343B:01",
189 .dai_name
= SKL_SSM_CODEC_DAI
,
193 static int skylake_ssm4567_codec_init(struct snd_soc_pcm_runtime
*rtd
)
197 /* Slot 1 for left */
198 ret
= snd_soc_dai_set_tdm_slot(rtd
->codec_dais
[0], 0x01, 0x01, 2, 48);
202 /* Slot 2 for right */
203 ret
= snd_soc_dai_set_tdm_slot(rtd
->codec_dais
[1], 0x02, 0x02, 2, 48);
210 static int skylake_nau8825_codec_init(struct snd_soc_pcm_runtime
*rtd
)
213 struct snd_soc_codec
*codec
= rtd
->codec
;
216 * 4 buttons here map to the google Reference headset
217 * The use of these buttons can be decided by the user space.
219 ret
= snd_soc_card_jack_new(&skylake_audio_card
, "Headset Jack",
220 SND_JACK_HEADSET
| SND_JACK_BTN_0
| SND_JACK_BTN_1
|
221 SND_JACK_BTN_2
| SND_JACK_BTN_3
, &skylake_headset
,
224 dev_err(rtd
->dev
, "Headset Jack creation failed %d\n", ret
);
228 nau8825_enable_jack_detect(codec
, &skylake_headset
);
230 snd_soc_dapm_ignore_suspend(&rtd
->card
->dapm
, "SoC DMIC");
235 static int skylake_hdmi1_init(struct snd_soc_pcm_runtime
*rtd
)
237 struct skl_nau88125_private
*ctx
= snd_soc_card_get_drvdata(rtd
->card
);
238 struct snd_soc_dai
*dai
= rtd
->codec_dai
;
239 struct skl_hdmi_pcm
*pcm
;
241 pcm
= devm_kzalloc(rtd
->card
->dev
, sizeof(*pcm
), GFP_KERNEL
);
245 pcm
->device
= SKL_DPCM_AUDIO_HDMI1_PB
;
246 pcm
->codec_dai
= dai
;
248 list_add_tail(&pcm
->head
, &ctx
->hdmi_pcm_list
);
253 static int skylake_hdmi2_init(struct snd_soc_pcm_runtime
*rtd
)
255 struct skl_nau88125_private
*ctx
= snd_soc_card_get_drvdata(rtd
->card
);
256 struct snd_soc_dai
*dai
= rtd
->codec_dai
;
257 struct skl_hdmi_pcm
*pcm
;
259 pcm
= devm_kzalloc(rtd
->card
->dev
, sizeof(*pcm
), GFP_KERNEL
);
263 pcm
->device
= SKL_DPCM_AUDIO_HDMI2_PB
;
264 pcm
->codec_dai
= dai
;
266 list_add_tail(&pcm
->head
, &ctx
->hdmi_pcm_list
);
272 static int skylake_hdmi3_init(struct snd_soc_pcm_runtime
*rtd
)
274 struct skl_nau88125_private
*ctx
= snd_soc_card_get_drvdata(rtd
->card
);
275 struct snd_soc_dai
*dai
= rtd
->codec_dai
;
276 struct skl_hdmi_pcm
*pcm
;
278 pcm
= devm_kzalloc(rtd
->card
->dev
, sizeof(*pcm
), GFP_KERNEL
);
282 pcm
->device
= SKL_DPCM_AUDIO_HDMI3_PB
;
283 pcm
->codec_dai
= dai
;
285 list_add_tail(&pcm
->head
, &ctx
->hdmi_pcm_list
);
290 static int skylake_nau8825_fe_init(struct snd_soc_pcm_runtime
*rtd
)
292 struct snd_soc_dapm_context
*dapm
;
293 struct snd_soc_component
*component
= rtd
->cpu_dai
->component
;
295 dapm
= snd_soc_component_get_dapm(component
);
296 snd_soc_dapm_ignore_suspend(dapm
, "Reference Capture");
301 static unsigned int rates
[] = {
305 static struct snd_pcm_hw_constraint_list constraints_rates
= {
306 .count
= ARRAY_SIZE(rates
),
311 static unsigned int channels
[] = {
315 static struct snd_pcm_hw_constraint_list constraints_channels
= {
316 .count
= ARRAY_SIZE(channels
),
321 static int skl_fe_startup(struct snd_pcm_substream
*substream
)
323 struct snd_pcm_runtime
*runtime
= substream
->runtime
;
326 * on this platform for PCM device we support,
332 runtime
->hw
.channels_max
= 2;
333 snd_pcm_hw_constraint_list(runtime
, 0, SNDRV_PCM_HW_PARAM_CHANNELS
,
334 &constraints_channels
);
336 runtime
->hw
.formats
= SNDRV_PCM_FMTBIT_S16_LE
;
337 snd_pcm_hw_constraint_msbits(runtime
, 0, 16, 16);
339 snd_pcm_hw_constraint_list(runtime
, 0,
340 SNDRV_PCM_HW_PARAM_RATE
, &constraints_rates
);
345 static const struct snd_soc_ops skylake_nau8825_fe_ops
= {
346 .startup
= skl_fe_startup
,
349 static int skylake_ssp_fixup(struct snd_soc_pcm_runtime
*rtd
,
350 struct snd_pcm_hw_params
*params
)
352 struct snd_interval
*rate
= hw_param_interval(params
,
353 SNDRV_PCM_HW_PARAM_RATE
);
354 struct snd_interval
*channels
= hw_param_interval(params
,
355 SNDRV_PCM_HW_PARAM_CHANNELS
);
356 struct snd_mask
*fmt
= hw_param_mask(params
, SNDRV_PCM_HW_PARAM_FORMAT
);
358 /* The ADSP will covert the FE rate to 48k, stereo */
359 rate
->min
= rate
->max
= 48000;
360 channels
->min
= channels
->max
= 2;
362 /* set SSP0 to 24 bit */
364 snd_mask_set(fmt
, SNDRV_PCM_FORMAT_S24_LE
);
368 static int skylake_dmic_fixup(struct snd_soc_pcm_runtime
*rtd
,
369 struct snd_pcm_hw_params
*params
)
371 struct snd_interval
*channels
= hw_param_interval(params
,
372 SNDRV_PCM_HW_PARAM_CHANNELS
);
373 if (params_channels(params
) == 2 || DMIC_CH(dmic_constraints
) == 2)
374 channels
->min
= channels
->max
= 2;
376 channels
->min
= channels
->max
= 4;
381 static int skylake_nau8825_hw_params(struct snd_pcm_substream
*substream
,
382 struct snd_pcm_hw_params
*params
)
384 struct snd_soc_pcm_runtime
*rtd
= substream
->private_data
;
385 struct snd_soc_dai
*codec_dai
= rtd
->codec_dai
;
388 ret
= snd_soc_dai_set_sysclk(codec_dai
,
389 NAU8825_CLK_MCLK
, 24000000, SND_SOC_CLOCK_IN
);
392 dev_err(rtd
->dev
, "snd_soc_dai_set_sysclk err = %d\n", ret
);
397 static const struct snd_soc_ops skylake_nau8825_ops
= {
398 .hw_params
= skylake_nau8825_hw_params
,
401 static unsigned int channels_dmic
[] = {
405 static struct snd_pcm_hw_constraint_list constraints_dmic_channels
= {
406 .count
= ARRAY_SIZE(channels_dmic
),
407 .list
= channels_dmic
,
411 static const unsigned int dmic_2ch
[] = {
415 static const struct snd_pcm_hw_constraint_list constraints_dmic_2ch
= {
416 .count
= ARRAY_SIZE(dmic_2ch
),
421 static int skylake_dmic_startup(struct snd_pcm_substream
*substream
)
423 struct snd_pcm_runtime
*runtime
= substream
->runtime
;
425 runtime
->hw
.channels_max
= DMIC_CH(dmic_constraints
);
426 snd_pcm_hw_constraint_list(runtime
, 0, SNDRV_PCM_HW_PARAM_CHANNELS
,
429 return snd_pcm_hw_constraint_list(substream
->runtime
, 0,
430 SNDRV_PCM_HW_PARAM_RATE
, &constraints_rates
);
433 static const struct snd_soc_ops skylake_dmic_ops
= {
434 .startup
= skylake_dmic_startup
,
437 static unsigned int rates_16000
[] = {
441 static struct snd_pcm_hw_constraint_list constraints_16000
= {
442 .count
= ARRAY_SIZE(rates_16000
),
446 static const unsigned int ch_mono
[] = {
450 static const struct snd_pcm_hw_constraint_list constraints_refcap
= {
451 .count
= ARRAY_SIZE(ch_mono
),
455 static int skylake_refcap_startup(struct snd_pcm_substream
*substream
)
457 substream
->runtime
->hw
.channels_max
= 1;
458 snd_pcm_hw_constraint_list(substream
->runtime
, 0,
459 SNDRV_PCM_HW_PARAM_CHANNELS
,
460 &constraints_refcap
);
462 return snd_pcm_hw_constraint_list(substream
->runtime
, 0,
463 SNDRV_PCM_HW_PARAM_RATE
,
467 static const struct snd_soc_ops skylaye_refcap_ops
= {
468 .startup
= skylake_refcap_startup
,
471 /* skylake digital audio interface glue - connects codec <--> CPU */
472 static struct snd_soc_dai_link skylake_dais
[] = {
473 /* Front End DAI links */
474 [SKL_DPCM_AUDIO_PB
] = {
475 .name
= "Skl Audio Port",
476 .stream_name
= "Audio",
477 .cpu_dai_name
= "System Pin",
478 .platform_name
= "0000:00:1f.3",
480 .codec_name
= "snd-soc-dummy",
481 .codec_dai_name
= "snd-soc-dummy-dai",
483 .init
= skylake_nau8825_fe_init
,
485 SND_SOC_DPCM_TRIGGER_POST
, SND_SOC_DPCM_TRIGGER_POST
},
487 .ops
= &skylake_nau8825_fe_ops
,
489 [SKL_DPCM_AUDIO_CP
] = {
490 .name
= "Skl Audio Capture Port",
491 .stream_name
= "Audio Record",
492 .cpu_dai_name
= "System Pin",
493 .platform_name
= "0000:00:1f.3",
495 .codec_name
= "snd-soc-dummy",
496 .codec_dai_name
= "snd-soc-dummy-dai",
499 SND_SOC_DPCM_TRIGGER_POST
, SND_SOC_DPCM_TRIGGER_POST
},
501 .ops
= &skylake_nau8825_fe_ops
,
503 [SKL_DPCM_AUDIO_REF_CP
] = {
504 .name
= "Skl Audio Reference cap",
505 .stream_name
= "Wake on Voice",
506 .cpu_dai_name
= "Reference Pin",
507 .codec_name
= "snd-soc-dummy",
508 .codec_dai_name
= "snd-soc-dummy-dai",
509 .platform_name
= "0000:00:1f.3",
514 .ops
= &skylaye_refcap_ops
,
516 [SKL_DPCM_AUDIO_DMIC_CP
] = {
517 .name
= "Skl Audio DMIC cap",
518 .stream_name
= "dmiccap",
519 .cpu_dai_name
= "DMIC Pin",
520 .codec_name
= "snd-soc-dummy",
521 .codec_dai_name
= "snd-soc-dummy-dai",
522 .platform_name
= "0000:00:1f.3",
527 .ops
= &skylake_dmic_ops
,
529 [SKL_DPCM_AUDIO_HDMI1_PB
] = {
530 .name
= "Skl HDMI Port1",
531 .stream_name
= "Hdmi1",
532 .cpu_dai_name
= "HDMI1 Pin",
533 .codec_name
= "snd-soc-dummy",
534 .codec_dai_name
= "snd-soc-dummy-dai",
535 .platform_name
= "0000:00:1f.3",
539 SND_SOC_DPCM_TRIGGER_POST
, SND_SOC_DPCM_TRIGGER_POST
},
543 [SKL_DPCM_AUDIO_HDMI2_PB
] = {
544 .name
= "Skl HDMI Port2",
545 .stream_name
= "Hdmi2",
546 .cpu_dai_name
= "HDMI2 Pin",
547 .codec_name
= "snd-soc-dummy",
548 .codec_dai_name
= "snd-soc-dummy-dai",
549 .platform_name
= "0000:00:1f.3",
553 SND_SOC_DPCM_TRIGGER_POST
, SND_SOC_DPCM_TRIGGER_POST
},
557 [SKL_DPCM_AUDIO_HDMI3_PB
] = {
558 .name
= "Skl HDMI Port3",
559 .stream_name
= "Hdmi3",
560 .cpu_dai_name
= "HDMI3 Pin",
561 .codec_name
= "snd-soc-dummy",
562 .codec_dai_name
= "snd-soc-dummy-dai",
563 .platform_name
= "0000:00:1f.3",
565 SND_SOC_DPCM_TRIGGER_POST
, SND_SOC_DPCM_TRIGGER_POST
},
572 /* Back End DAI links */
575 .name
= "SSP0-Codec",
577 .cpu_dai_name
= "SSP0 Pin",
578 .platform_name
= "0000:00:1f.3",
580 .codecs
= ssm4567_codec_components
,
581 .num_codecs
= ARRAY_SIZE(ssm4567_codec_components
),
582 .dai_fmt
= SND_SOC_DAIFMT_DSP_A
|
583 SND_SOC_DAIFMT_IB_NF
|
584 SND_SOC_DAIFMT_CBS_CFS
,
585 .init
= skylake_ssm4567_codec_init
,
586 .ignore_pmdown_time
= 1,
587 .be_hw_params_fixup
= skylake_ssp_fixup
,
593 .name
= "SSP1-Codec",
595 .cpu_dai_name
= "SSP1 Pin",
596 .platform_name
= "0000:00:1f.3",
598 .codec_name
= "i2c-10508825:00",
599 .codec_dai_name
= SKL_NUVOTON_CODEC_DAI
,
600 .init
= skylake_nau8825_codec_init
,
601 .dai_fmt
= SND_SOC_DAIFMT_I2S
| SND_SOC_DAIFMT_NB_NF
|
602 SND_SOC_DAIFMT_CBS_CFS
,
603 .ignore_pmdown_time
= 1,
604 .be_hw_params_fixup
= skylake_ssp_fixup
,
605 .ops
= &skylake_nau8825_ops
,
612 .cpu_dai_name
= "DMIC01 Pin",
613 .codec_name
= "dmic-codec",
614 .codec_dai_name
= "dmic-hifi",
615 .platform_name
= "0000:00:1f.3",
617 .be_hw_params_fixup
= skylake_dmic_fixup
,
624 .cpu_dai_name
= "iDisp1 Pin",
625 .codec_name
= "ehdaudio0D2",
626 .codec_dai_name
= "intel-hdmi-hifi1",
627 .platform_name
= "0000:00:1f.3",
629 .init
= skylake_hdmi1_init
,
635 .cpu_dai_name
= "iDisp2 Pin",
636 .codec_name
= "ehdaudio0D2",
637 .codec_dai_name
= "intel-hdmi-hifi2",
638 .platform_name
= "0000:00:1f.3",
639 .init
= skylake_hdmi2_init
,
646 .cpu_dai_name
= "iDisp3 Pin",
647 .codec_name
= "ehdaudio0D2",
648 .codec_dai_name
= "intel-hdmi-hifi3",
649 .platform_name
= "0000:00:1f.3",
650 .init
= skylake_hdmi3_init
,
656 static int skylake_card_late_probe(struct snd_soc_card
*card
)
658 struct skl_nau88125_private
*ctx
= snd_soc_card_get_drvdata(card
);
659 struct skl_hdmi_pcm
*pcm
;
662 list_for_each_entry(pcm
, &ctx
->hdmi_pcm_list
, head
) {
663 err
= hdac_hdmi_jack_init(pcm
->codec_dai
, pcm
->device
);
671 /* skylake audio machine driver for SPT + NAU88L25 */
672 static struct snd_soc_card skylake_audio_card
= {
673 .name
= "sklnau8825adi",
674 .owner
= THIS_MODULE
,
675 .dai_link
= skylake_dais
,
676 .num_links
= ARRAY_SIZE(skylake_dais
),
677 .controls
= skylake_controls
,
678 .num_controls
= ARRAY_SIZE(skylake_controls
),
679 .dapm_widgets
= skylake_widgets
,
680 .num_dapm_widgets
= ARRAY_SIZE(skylake_widgets
),
681 .dapm_routes
= skylake_map
,
682 .num_dapm_routes
= ARRAY_SIZE(skylake_map
),
683 .codec_conf
= ssm4567_codec_conf
,
684 .num_configs
= ARRAY_SIZE(ssm4567_codec_conf
),
685 .fully_routed
= true,
686 .late_probe
= skylake_card_late_probe
,
689 static int skylake_audio_probe(struct platform_device
*pdev
)
691 struct skl_nau88125_private
*ctx
;
692 struct skl_machine_pdata
*pdata
;
694 ctx
= devm_kzalloc(&pdev
->dev
, sizeof(*ctx
), GFP_ATOMIC
);
698 INIT_LIST_HEAD(&ctx
->hdmi_pcm_list
);
700 skylake_audio_card
.dev
= &pdev
->dev
;
701 snd_soc_card_set_drvdata(&skylake_audio_card
, ctx
);
703 pdata
= dev_get_drvdata(&pdev
->dev
);
705 dmic_constraints
= pdata
->dmic_num
== 2 ?
706 &constraints_dmic_2ch
: &constraints_dmic_channels
;
708 return devm_snd_soc_register_card(&pdev
->dev
, &skylake_audio_card
);
711 static const struct platform_device_id skl_board_ids
[] = {
712 { .name
= "skl_n88l25_s4567" },
713 { .name
= "kbl_n88l25_s4567" },
717 static struct platform_driver skylake_audio
= {
718 .probe
= skylake_audio_probe
,
720 .name
= "skl_n88l25_s4567",
721 .pm
= &snd_soc_pm_ops
,
723 .id_table
= skl_board_ids
,
726 module_platform_driver(skylake_audio
)
728 /* Module information */
729 MODULE_AUTHOR("Conrad Cooke <conrad.cooke@intel.com>");
730 MODULE_AUTHOR("Harsha Priya <harshapriya.n@intel.com>");
731 MODULE_AUTHOR("Naveen M <naveen.m@intel.com>");
732 MODULE_AUTHOR("Sathya Prakash M R <sathya.prakash.m.r@intel.com>");
733 MODULE_AUTHOR("Yong Zhi <yong.zhi@intel.com>");
734 MODULE_DESCRIPTION("Intel Audio Machine driver for SKL with NAU88L25 and SSM4567 in I2S Mode");
735 MODULE_LICENSE("GPL v2");
736 MODULE_ALIAS("platform:skl_n88l25_s4567");
737 MODULE_ALIAS("platform:kbl_n88l25_s4567");