linux/sound/soc/tegra/tegra210_ahub.c

// SPDX-License-Identifier: GPL-2.0-only
//
// tegra210_ahub.c - Tegra210 AHUB driver
//
// Copyright (c) 2020-2022, NVIDIA CORPORATION.  All rights reserved.

#include <linux/clk.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>
#include <sound/soc.h>
#include "tegra210_ahub.h"

static int tegra_ahub_get_value_enum(struct snd_kcontrol *kctl,
				     struct snd_ctl_elem_value *uctl)
{}

static int tegra_ahub_put_value_enum(struct snd_kcontrol *kctl,
				     struct snd_ctl_elem_value *uctl)
{}

static struct snd_soc_dai_driver tegra210_ahub_dais[] =;

static struct snd_soc_dai_driver tegra186_ahub_dais[] =;

static const char * const tegra210_ahub_mux_texts[] =;

static const char * const tegra186_ahub_mux_texts[] =;

static const unsigned int tegra210_ahub_mux_values[] =;

static const unsigned int tegra186_ahub_mux_values[] =;

/* Controls for t210 */
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();
MUX_ENUM_CTRL_DECL();

/* Controls for t186 */
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();
MUX_ENUM_CTRL_DECL_186();

/* Controls for t234 */
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();
MUX_ENUM_CTRL_DECL_234();

static const struct snd_soc_dapm_widget tegra210_ahub_widgets[] =;

static const struct snd_soc_dapm_widget tegra186_ahub_widgets[] =;

static const struct snd_soc_dapm_widget tegra234_ahub_widgets[] =;

#define TEGRA_COMMON_MUX_ROUTES(name)

#define TEGRA210_ONLY_MUX_ROUTES(name)

#define TEGRA186_ONLY_MUX_ROUTES(name)

#define TEGRA210_MUX_ROUTES(name)

#define TEGRA186_MUX_ROUTES(name)

/* Connect FEs with XBAR */
#define TEGRA_FE_ROUTES(name)

static const struct snd_soc_dapm_route tegra210_ahub_routes[] =;

static const struct snd_soc_dapm_route tegra186_ahub_routes[] =;

static const struct snd_soc_component_driver tegra210_ahub_component =;

static const struct snd_soc_component_driver tegra186_ahub_component =;

static const struct snd_soc_component_driver tegra234_ahub_component =;

static const struct regmap_config tegra210_ahub_regmap_config =;

static const struct regmap_config tegra186_ahub_regmap_config =;

static const struct tegra_ahub_soc_data soc_data_tegra210 =;

static const struct tegra_ahub_soc_data soc_data_tegra186 =;

static const struct tegra_ahub_soc_data soc_data_tegra234 =;

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

static int __maybe_unused tegra_ahub_runtime_suspend(struct device *dev)
{}

static int __maybe_unused tegra_ahub_runtime_resume(struct device *dev)
{}

static int tegra_ahub_probe(struct platform_device *pdev)
{}

static void tegra_ahub_remove(struct platform_device *pdev)
{}

static const struct dev_pm_ops tegra_ahub_pm_ops =;

static struct platform_driver tegra_ahub_driver =;
module_platform_driver();

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