linux/sound/soc/amd/acp/acp63.c

// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
//
// This file is provided under a dual BSD/GPLv2 license. When using or
// redistributing this file, you may do so under either license.
//
// Copyright(c) 2023 Advanced Micro Devices, Inc.
//
// Authors: Syed Saba kareem <[email protected]>
/*
 * Hardware interface for ACP6.3 block
 */

#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/io.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dai.h>
#include <linux/dma-mapping.h>
#include <linux/pm_runtime.h>
#include <linux/pci.h>
#include "amd.h"
#include "acp-mach.h"
#include "../mach-config.h"

#define DRV_NAME

#define CLK_PLL_PWR_REQ_N0
#define CLK_SPLL_FIELD_2_N0
#define CLK_PLL_REQ_N0
#define CLK_DFSBYPASS_CONTR
#define CLK_DFS_CNTL_N0

#define PLL_AUTO_STOP_REQ
#define PLL_AUTO_START_REQ
#define PLL_FRANCE_EN
#define EXIT_DPF_BYPASS_0
#define EXIT_DPF_BYPASS_1
#define CLK0_DIVIDER

clk_pll_req_no;

static struct acp_resource rsrc =;

static struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_acp_machines[] =;

static struct snd_soc_dai_driver acp63_dai[] =;

static int acp63_i2s_master_clock_generate(struct acp_dev_data *adata)
{}

static int acp63_audio_probe(struct platform_device *pdev)
{}

static void acp63_audio_remove(struct platform_device *pdev)
{}

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

static const struct dev_pm_ops acp63_dma_pm_ops =;

static struct platform_driver acp63_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_IMPORT_NS();
MODULE_LICENSE();
MODULE_ALIAS();