linux/sound/soc/samsung/lowland.c

// SPDX-License-Identifier: GPL-2.0+
//
// Lowland audio support
//
// Copyright 2011 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/wm5100.h"
#include "../codecs/wm9081.h"

#define MCLK1_RATE
#define CLKOUT_RATE

static struct snd_soc_jack lowland_headset;

/* Headset jack detection DAPM pins */
static struct snd_soc_jack_pin lowland_headset_pins[] =;

static int lowland_wm5100_init(struct snd_soc_pcm_runtime *rtd)
{}

static int lowland_wm9081_init(struct snd_soc_pcm_runtime *rtd)
{}

static const struct snd_soc_pcm_stream sub_params =;

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();

static struct snd_soc_dai_link lowland_dai[] =;

static struct snd_soc_codec_conf lowland_codec_conf[] =;

static const struct snd_kcontrol_new controls[] =;

static const struct snd_soc_dapm_widget widgets[] =;

static const struct snd_soc_dapm_route audio_paths[] =;

static struct snd_soc_card lowland =;

static int lowland_probe(struct platform_device *pdev)
{}

static struct platform_driver lowland_driver =;

module_platform_driver();

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