linux/sound/soc/bcm/bcm63xx-i2s-whistler.c

// SPDX-License-Identifier: GPL-2.0-or-later
// linux/sound/bcm/bcm63xx-i2s-whistler.c
// BCM63xx whistler i2s driver
// Copyright (c) 2020 Broadcom Corporation
// Author: Kevin-Ke Li <[email protected]>

#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include "bcm63xx-i2s.h"

#define DRV_NAME

static bool brcm_i2s_wr_reg(struct device *dev, unsigned int reg)
{}

static bool brcm_i2s_rd_reg(struct device *dev, unsigned int reg)
{}

static bool brcm_i2s_volatile_reg(struct device *dev, unsigned int reg)
{}

static const struct regmap_config brcm_i2s_regmap_config =;

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

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

static void bcm63xx_i2s_shutdown(struct snd_pcm_substream *substream,
				struct snd_soc_dai *dai)
{}

static const struct snd_soc_dai_ops bcm63xx_i2s_dai_ops =;

static struct snd_soc_dai_driver bcm63xx_i2s_dai =;

static const struct snd_soc_component_driver bcm63xx_i2s_component =;

static int bcm63xx_i2s_dev_probe(struct platform_device *pdev)
{}

static void bcm63xx_i2s_dev_remove(struct platform_device *pdev)
{}

#ifdef CONFIG_OF
static const struct of_device_id snd_soc_bcm_audio_match[] =;
#endif

static struct platform_driver bcm63xx_i2s_driver =;

module_platform_driver();

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