// 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) 2022 Advanced Micro Devices, Inc. // // Authors: Ajit Kumar Pandey <[email protected]> /* * Hardware interface for Audio DSP on Rembrandt platform */ #include <linux/platform_device.h> #include <linux/module.h> #include "../ops.h" #include "../sof-audio.h" #include "acp.h" #include "acp-dsp-offset.h" #define I2S_HS_INSTANCE … #define I2S_BT_INSTANCE … #define I2S_SP_INSTANCE … #define PDM_DMIC_INSTANCE … #define I2S_HS_VIRTUAL_INSTANCE … static struct snd_soc_dai_driver rembrandt_sof_dai[] = …; /* Rembrandt ops */ struct snd_sof_dsp_ops sof_rembrandt_ops; EXPORT_SYMBOL_NS(…); int sof_rembrandt_ops_init(struct snd_sof_dev *sdev) { … }