linux/sound/soc/xilinx/xlnx_i2s.c

// SPDX-License-Identifier: GPL-2.0
//
// Xilinx ASoC I2S audio support
//
// Copyright (C) 2018 Xilinx, Inc.
//
// Author: Praveen Vuppala <[email protected]>
// Author: Maruthi Srinivas Bayyavarapu <[email protected]>

#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>

#define DRV_NAME

#define I2S_CORE_CTRL_OFFSET
#define I2S_CORE_CTRL_32BIT_LRCLK
#define I2S_CORE_CTRL_ENABLE
#define I2S_I2STIM_OFFSET
#define I2S_CH0_OFFSET
#define I2S_I2STIM_VALID_MASK

struct xlnx_i2s_drv_data {};

static int xlnx_i2s_set_sclkout_div(struct snd_soc_dai *cpu_dai,
				    int div_id, int div)
{}

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

static int xlnx_i2s_startup(struct snd_pcm_substream *substream,
			    struct snd_soc_dai *dai)
{}

static int xlnx_i2s_hw_params(struct snd_pcm_substream *substream,
			      struct snd_pcm_hw_params *params,
			      struct snd_soc_dai *i2s_dai)
{}

static int xlnx_i2s_trigger(struct snd_pcm_substream *substream, int cmd,
			    struct snd_soc_dai *i2s_dai)
{}

static const struct snd_soc_dai_ops xlnx_i2s_dai_ops =;

static const struct snd_soc_component_driver xlnx_i2s_component =;

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

static int xlnx_i2s_probe(struct platform_device *pdev)
{}

static struct platform_driver xlnx_i2s_aud_driver =;

module_platform_driver();

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