Skip to content

Commit 6b40cae

Browse files
Jaska Uimonennashif
authored andcommitted
drivers: dai: add fifo depth parameter to dai properties
The fifo depth parameter was missing as it was not visible in original sof driver interface (which the dai interface is based on). So add it to properties as it might be used by apps using future alh and dmic drivers. Signed-off-by: Jaska Uimonen <[email protected]>
1 parent 94b316e commit 6b40cae

File tree

1 file changed

+2
-0
lines changed
  • include/zephyr/drivers

1 file changed

+2
-0
lines changed

include/zephyr/drivers/dai.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,13 @@ enum dai_trigger_cmd {
169169
* for example to setup dma outside the driver code.
170170
*
171171
* @param fifo_address Fifo hw address for e.g. when connecting to dma.
172+
* @param fifo_depth Fifo depth.
172173
* @param dma_hs_id Dma handshake id.
173174
* @param reg_init_delay Delay for initializing registers.
174175
*/
175176
struct dai_properties {
176177
uint32_t fifo_address; /* fifo address */
178+
uint32_t fifo_depth; /* fifo depth */
177179
uint32_t dma_hs_id; /* dma handshake id */
178180
uint32_t reg_init_delay; /* delay for register init */
179181
};

0 commit comments

Comments
 (0)