linux/sound/soc/codecs/cq93vc.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * ALSA SoC CQ0093 Voice Codec Driver for DaVinci platforms
 *
 * Copyright (C) 2010 Texas Instruments, Inc
 *
 * Author: Miguel Aguilar <[email protected]>
 */
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/platform_device.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/clk.h>
#include <linux/mfd/davinci_voicecodec.h>
#include <linux/spi/spi.h>

#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/initval.h>

static const struct snd_kcontrol_new cq93vc_snd_controls[] =;

static int cq93vc_mute(struct snd_soc_dai *dai, int mute, int direction)
{}

static int cq93vc_set_dai_sysclk(struct snd_soc_dai *codec_dai,
				 int clk_id, unsigned int freq, int dir)
{}

static int cq93vc_set_bias_level(struct snd_soc_component *component,
				enum snd_soc_bias_level level)
{}

#define CQ93VC_RATES
#define CQ93VC_FORMATS

static const struct snd_soc_dai_ops cq93vc_dai_ops =;

static struct snd_soc_dai_driver cq93vc_dai =;

static int cq93vc_probe(struct snd_soc_component *component)
{}

static const struct snd_soc_component_driver soc_component_dev_cq93vc =;

static int cq93vc_platform_probe(struct platform_device *pdev)
{}

static struct platform_driver cq93vc_codec_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();