linux/sound/soc/meson/aiu.c

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

#include <linux/bitfield.h>
#include <linux/clk.h>
#include <linux/module.h>
#include <linux/of_platform.h>
#include <linux/regmap.h>
#include <linux/reset.h>
#include <sound/soc.h>
#include <sound/soc-dai.h>

#include <dt-bindings/sound/meson-aiu.h>
#include "aiu.h"
#include "aiu-fifo.h"

#define AIU_I2S_MISC_958_SRC_SHIFT

static const char * const aiu_spdif_encode_sel_texts[] =;

static SOC_ENUM_SINGLE_DECL(aiu_spdif_encode_sel_enum, AIU_I2S_MISC,
			    AIU_I2S_MISC_958_SRC_SHIFT,
			    aiu_spdif_encode_sel_texts);

static const struct snd_kcontrol_new aiu_spdif_encode_mux =;

static const struct snd_soc_dapm_widget aiu_cpu_dapm_widgets[] =;

static const struct snd_soc_dapm_route aiu_cpu_dapm_routes[] =;

int aiu_of_xlate_dai_name(struct snd_soc_component *component,
			  const struct of_phandle_args *args,
			  const char **dai_name,
			  unsigned int component_id)
{}

static int aiu_cpu_of_xlate_dai_name(struct snd_soc_component *component,
				     const struct of_phandle_args *args,
				     const char **dai_name)
{}

static int aiu_cpu_component_probe(struct snd_soc_component *component)
{}

static void aiu_cpu_component_remove(struct snd_soc_component *component)
{}

static const struct snd_soc_component_driver aiu_cpu_component =;

static struct snd_soc_dai_driver aiu_cpu_dai_drv[] =;

static const struct regmap_config aiu_regmap_cfg =;

static int aiu_clk_bulk_get(struct device *dev,
			    const char * const *ids,
			    unsigned int num,
			    struct aiu_interface *interface)
{}

static const char * const aiu_i2s_ids[] =;

static const char * const aiu_spdif_ids[] =;

static int aiu_clk_get(struct device *dev)
{}

static int aiu_probe(struct platform_device *pdev)
{}

static void aiu_remove(struct platform_device *pdev)
{}

static const struct aiu_platform_data aiu_gxbb_pdata =;

static const struct aiu_platform_data aiu_gxl_pdata =;

static const struct aiu_platform_data aiu_meson8_pdata =;

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

static struct platform_driver aiu_pdrv =;
module_platform_driver();

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