1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
5 * Author: Daniel Baluta <daniel.baluta@nxp.com>
8 #ifndef __INCLUDE_SOUND_SOF_DAI_IMX_H__
9 #define __INCLUDE_SOUND_SOF_DAI_IMX_H__
11 #include <sound/sof/header.h>
13 /* ESAI Configuration Request - SOF_IPC_DAI_ESAI_CONFIG */
14 struct sof_ipc_dai_esai_params
{
15 struct sof_ipc_hdr hdr
;
20 uint32_t mclk_direction
;
22 uint32_t mclk_rate
; /* MCLK frequency in Hz */
23 uint32_t fsync_rate
; /* FSYNC frequency in Hz */
24 uint32_t bclk_rate
; /* BCLK frequency in Hz */
30 uint16_t tdm_slot_width
;
31 uint16_t reserved2
; /* alignment */
34 /* SAI Configuration Request - SOF_IPC_DAI_SAI_CONFIG */
35 struct sof_ipc_dai_sai_params
{
36 struct sof_ipc_hdr hdr
;
41 uint32_t mclk_direction
;
43 uint32_t mclk_rate
; /* MCLK frequency in Hz */
44 uint32_t fsync_rate
; /* FSYNC frequency in Hz */
45 uint32_t bclk_rate
; /* BCLK frequency in Hz */
51 uint16_t tdm_slot_width
;
52 uint16_t reserved2
; /* alignment */