platform: imx8m: Add SAI FIFO definitions

Without these changes SAI is unusable on this platform.

Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
This commit is contained in:
Paul Olaru 2020-03-18 15:06:09 +02:00 committed by Daniel Baluta
parent 48ad1b775e
commit c639886ddc
1 changed files with 11 additions and 0 deletions

View File

@ -18,6 +18,17 @@ static SHARED_DATA struct dai sai[] = {
.index = 3,
.plat_data = {
.base = SAI_3_BASE,
.fifo[SOF_IPC_STREAM_PLAYBACK] = {
.offset = SAI_3_BASE + REG_SAI_TDR0,
.depth = 16,
/* Handshake is SDMA hardware event */
.handshake = 5,
},
.fifo[SOF_IPC_STREAM_CAPTURE] = {
.offset = SAI_3_BASE + REG_SAI_RDR0,
.depth = 16,
.handshake = 4,
},
},
.drv = &sai_driver,
},