| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
/* |
| 3 |
* Copyright(c) 2023 Intel Corporation. |
| 4 |
*/ |
| 5 |
|
| 6 |
#ifndef __SOF_HDMI_COMMON_H |
| 7 |
#define __SOF_HDMI_COMMON_H |
| 8 |
|
| 9 |
#include <sound/soc.h> |
| 10 |
|
| 11 |
#define IDISP_CODEC_MASK 0x4 |
| 12 |
|
| 13 |
/* |
| 14 |
* sof_hdmi_private: data for Intel HDMI dai link (idisp) initialization |
| 15 |
* |
| 16 |
* @hdmi_comp: ASoC component of idisp codec |
| 17 |
* @idisp_codec: true to indicate idisp codec is present |
| 18 |
*/ |
| 19 |
struct sof_hdmi_private { |
| 20 |
struct snd_soc_component *hdmi_comp; |
| 21 |
bool idisp_codec; |
| 22 |
}; |
| 23 |
|
| 24 |
#endif /* __SOF_HDMI_COMMON_H */ |