linux/sound/soc/samsung/bells.c

// SPDX-License-Identifier: GPL-2.0+
//
// Bells audio support
//
// Copyright 2012 Wolfson Microelectronics

#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/jack.h>
#include <linux/gpio.h>
#include <linux/module.h>

#include "../codecs/wm5102.h"
#include "../codecs/wm9081.h"

/* BCLK2 is fixed at this currently */
#define BCLK2_RATE

/*
 * Expect a 24.576MHz crystal if one is fitted (the driver will function
 * if this is not fitted).
 */
#define MCLK_RATE

#define SYS_AUDIO_RATE
#define SYS_MCLK_RATE

#define DAI_AP_DSP
#define DAI_DSP_CODEC
#define DAI_CODEC_CP
#define DAI_CODEC_SUB

struct bells_drvdata {};

static struct bells_drvdata wm2200_drvdata =;

static struct bells_drvdata wm5102_drvdata =;

static struct bells_drvdata wm5110_drvdata =;

static int bells_set_bias_level(struct snd_soc_card *card,
				struct snd_soc_dapm_context *dapm,
				enum snd_soc_bias_level level)
{}

static int bells_set_bias_level_post(struct snd_soc_card *card,
				     struct snd_soc_dapm_context *dapm,
				     enum snd_soc_bias_level level)
{}

static int bells_late_probe(struct snd_soc_card *card)
{}

static const struct snd_soc_pcm_stream baseband_params =;

static const struct snd_soc_pcm_stream sub_params =;

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();

static struct snd_soc_dai_link bells_dai_wm2200[] =;

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();

static struct snd_soc_dai_link bells_dai_wm5102[] =;

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();


SND_SOC_DAILINK_DEFS();

static struct snd_soc_dai_link bells_dai_wm5110[] =;

static struct snd_soc_codec_conf bells_codec_conf[] =;

static const struct snd_soc_dapm_widget bells_widgets[] =;

static const struct snd_soc_dapm_route bells_routes[] =;

static struct snd_soc_card bells_cards[] =;

static int bells_probe(struct platform_device *pdev)
{}

static struct platform_driver bells_driver =;

module_platform_driver();

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