sof_hdmi_common.h 508 B

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