linux/sound/soc/intel/boards/sof_sdw_common.h

/* SPDX-License-Identifier: GPL-2.0-only
 *  Copyright (c) 2020 Intel Corporation
 */

/*
 *  sof_sdw_common.h - prototypes for common helpers
 */

#ifndef SND_SOC_SOF_SDW_COMMON_H
#define SND_SOC_SOF_SDW_COMMON_H

#include <linux/bits.h>
#include <linux/types.h>
#include <sound/soc.h>
#include <sound/soc_sdw_utils.h>
#include "sof_hdmi_common.h"

#define MAX_HDMI_NUM
#define SOC_SDW_MAX_CPU_DAIS
#define SOC_SDW_INTEL_BIDIR_PDI_BASE

/* 8 combinations with 4 links + unused group 0 */
#define SDW_MAX_GROUPS

enum {};

enum {};

/* Deprecated and no longer supported by the code */
#define SOC_SDW_FOUR_SPK
#define SOF_SDW_TGL_HDMI
#define SOC_SDW_PCH_DMIC
#define SOF_SSP_PORT(x)
#define SOF_SSP_GET_PORT(quirk)
/* Deprecated and no longer supported by the code */
#define SOC_SDW_NO_AGGREGATION

/* BT audio offload: reserve 3 bits for future */
#define SOF_BT_OFFLOAD_SSP_SHIFT
#define SOF_BT_OFFLOAD_SSP_MASK
#define SOF_BT_OFFLOAD_SSP(quirk)
#define SOF_SSP_BT_OFFLOAD_PRESENT

struct intel_mc_ctx {};

/* generic HDMI support */
int sof_sdw_hdmi_init(struct snd_soc_pcm_runtime *rtd);

int sof_sdw_hdmi_card_late_probe(struct snd_soc_card *card);

#endif