linux/sound/soc/intel/avs/boards/dmic.c

// SPDX-License-Identifier: GPL-2.0-only
//
// Copyright(c) 2021-2022 Intel Corporation
//
// Authors: Cezary Rojewski <[email protected]>
//          Amadeusz Slawinski <[email protected]>
//

#include <linux/device.h>
#include <linux/module.h>
#include <sound/soc.h>
#include <sound/soc-acpi.h>

SND_SOC_DAILINK_DEF(dmic_pin, DAILINK_COMP_ARRAY(COMP_CPU("DMIC Pin")));
SND_SOC_DAILINK_DEF(dmic_wov_pin, DAILINK_COMP_ARRAY(COMP_CPU("DMIC WoV Pin")));
SND_SOC_DAILINK_DEF(dmic_codec, DAILINK_COMP_ARRAY(COMP_CODEC("dmic-codec", "dmic-hifi")));
/* Name overridden on probe */
SND_SOC_DAILINK_DEF(platform, DAILINK_COMP_ARRAY(COMP_PLATFORM("")));

static struct snd_soc_dai_link card_dai_links[] =;

static const struct snd_soc_dapm_widget card_widgets[] =;

static const struct snd_soc_dapm_route card_routes[] =;

static int avs_dmic_probe(struct platform_device *pdev)
{}

static const struct platform_device_id avs_dmic_driver_ids[] =;
MODULE_DEVICE_TABLE(platform, avs_dmic_driver_ids);

static struct platform_driver avs_dmic_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();