linux/sound/soc/qcom/lpass-ipq806x.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2010-2011,2013-2015 The Linux Foundation. All rights reserved.
 *
 * lpass-ipq806x.c -- ALSA SoC CPU DAI driver for QTi LPASS
 * Splited out the IPQ8064 soc specific from lpass-cpu.c
 */

#include <linux/clk.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include <sound/soc-dai.h>

#include "lpass-lpaif-reg.h"
#include "lpass.h"

enum lpaif_i2s_ports {};

enum lpaif_dma_channels {};

static struct snd_soc_dai_driver ipq806x_lpass_cpu_dai_driver =;

static int ipq806x_lpass_init(struct platform_device *pdev)
{}

static int ipq806x_lpass_exit(struct platform_device *pdev)
{}

static int ipq806x_lpass_alloc_dma_channel(struct lpass_data *drvdata, int dir, unsigned int dai_id)
{}

static int ipq806x_lpass_free_dma_channel(struct lpass_data *drvdata, int chan, unsigned int dai_id)
{}

static const struct lpass_variant ipq806x_data =;

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

static struct platform_driver ipq806x_lpass_cpu_platform_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();