linux/sound/soc/codecs/es7134.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017 BayLibre, SAS.
 * Author: Jerome Brunet <[email protected]>
 */

#include <linux/of_platform.h>
#include <linux/module.h>
#include <sound/soc.h>

/*
 * The everest 7134 is a very simple DA converter with no register
 */

struct es7134_clock_mode {};

struct es7134_chip {};

struct es7134_data {};

static int es7134_check_mclk(struct snd_soc_dai *dai,
			     struct es7134_data *priv,
			     unsigned int rate)
{}

static int es7134_hw_params(struct snd_pcm_substream *substream,
			    struct snd_pcm_hw_params *params,
			    struct snd_soc_dai *dai)
{}

static int es7134_set_sysclk(struct snd_soc_dai *dai, int clk_id,
			     unsigned int freq, int dir)
{}

static int es7134_set_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt)
{}

static int es7134_component_probe(struct snd_soc_component *c)
{}

static const struct snd_soc_dai_ops es7134_dai_ops =;

static struct snd_soc_dai_driver es7134_dai =;

static const struct es7134_clock_mode es7134_modes[] =;

/* Digital I/O are also supplied by VDD on the es7134 */
static const struct snd_soc_dapm_route es7134_extra_routes[] =;

static const struct es7134_chip es7134_chip __maybe_unused =;

static const struct snd_soc_dapm_widget es7134_dapm_widgets[] =;

static const struct snd_soc_dapm_route es7134_dapm_routes[] =;

static const struct snd_soc_component_driver es7134_component_driver =;

static struct snd_soc_dai_driver es7154_dai =;

static const struct es7134_clock_mode es7154_modes[] =;

/* Es7154 has a separate supply for digital I/O  */
static const struct snd_soc_dapm_widget es7154_extra_widgets[] =;

static const struct snd_soc_dapm_route es7154_extra_routes[] =;

static const struct es7134_chip es7154_chip __maybe_unused =;

static int es7134_probe(struct platform_device *pdev)
{}

#ifdef CONFIG_OF
static const struct of_device_id es7134_ids[] =;
MODULE_DEVICE_TABLE(of, es7134_ids);
#endif

static struct platform_driver es7134_driver =;

module_platform_driver();

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