linux/sound/soc/samsung/aries_wm8994.c

// SPDX-License-Identifier: GPL-2.0+
#include <linux/extcon.h>
#include <linux/gpio/consumer.h>
#include <linux/iio/consumer.h>
#include <linux/input-event-codes.h>
#include <linux/mfd/wm8994/registers.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regulator/consumer.h>
#include <sound/jack.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>

#include "i2s.h"
#include "../codecs/wm8994.h"

#define ARIES_MCLK1_FREQ

struct aries_wm8994_variant {};

struct aries_wm8994_data {};

/* USB dock */
static struct snd_soc_jack aries_dock;

static struct snd_soc_jack_pin dock_pins[] =;

static int aries_extcon_notifier(struct notifier_block *this,
				 unsigned long connected, void *_cmd)
{}

static struct notifier_block aries_extcon_notifier_block =;

/* Headset jack */
static struct snd_soc_jack aries_headset;

static struct snd_soc_jack_pin jack_pins[] =;

static struct snd_soc_jack_zone headset_zones[] =;

static irqreturn_t headset_det_irq_thread(int irq, void *data)
{}

static int headset_button_check(void *data)
{}

static struct snd_soc_jack_gpio headset_button_gpio[] =;

static int aries_spk_cfg(struct snd_soc_dapm_widget *w,
			struct snd_kcontrol *kcontrol, int event)
{}

static int aries_main_bias(struct snd_soc_dapm_widget *w,
			  struct snd_kcontrol *kcontrol, int event)
{}

static int aries_headset_bias(struct snd_soc_dapm_widget *w,
			  struct snd_kcontrol *kcontrol, int event)
{}

static const struct snd_kcontrol_new aries_controls[] =;

static const struct snd_soc_dapm_widget aries_dapm_widgets[] =;

static int aries_hw_params(struct snd_pcm_substream *substream,
	struct snd_pcm_hw_params *params)
{}

static int aries_hw_free(struct snd_pcm_substream *substream)
{}

/*
 * Main DAI operations
 */
static const struct snd_soc_ops aries_ops =;

static int aries_baseband_init(struct snd_soc_pcm_runtime *rtd)
{}

static int aries_late_probe(struct snd_soc_card *card)
{}

static const struct snd_soc_pcm_stream baseband_params =;

static const struct snd_soc_pcm_stream bluetooth_params =;

static const struct snd_soc_dapm_widget aries_modem_widgets[] =;

static const struct snd_soc_dapm_route aries_modem_routes[] =;

static const struct snd_soc_component_driver aries_component =;

static struct snd_soc_dai_driver aries_ext_dai[] =;

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();

static struct snd_soc_dai_link aries_dai[] =;

static struct snd_soc_card aries_card =;

static const struct aries_wm8994_variant fascinate4g_variant =;

static const struct aries_wm8994_variant aries_variant =;

static const struct of_device_id samsung_wm8994_of_match[] =;
MODULE_DEVICE_TABLE(of, samsung_wm8994_of_match);

static int aries_audio_probe(struct platform_device *pdev)
{}

static struct platform_driver aries_audio_driver =;

module_platform_driver();

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