1# Copyright 2023 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4config DAI_NXP_SAI
5	bool "NXP Synchronous Audio Interface (SAI) driver"
6	default y
7	depends on DT_HAS_NXP_DAI_SAI_ENABLED
8	help
9		Select this to enable NXP SAI driver.
10
11if DAI_NXP_SAI
12
13config SAI_HAS_MCLK_CONFIG_OPTION
14	bool "Set if SAI has MCLK configuration options"
15	default n
16	help
17		Select this if the SAI IP allows configuration
18		of the master clock. Master clock configuration
19		refers to enabling/disabling the master clock,
20		setting the signal as input or output or dividing
21		the master clock output.
22
23config SAI_FIFO_WORD_SIZE
24	int "Size (in bytes) of a FIFO word"
25	default 4
26	help
27		Use this to set the size (in bytes) of a SAI
28		FIFO word.
29
30config SAI_IMX93_ERRATA_051421
31	bool "Set if your SAI IP version is affected by i.MX93's ERRATA 051421"
32	default n
33	help
34		Select this if your SAI ip version is affected by
35		i.MX93's ERRATA 051421. The errata states that if
36		the SAI is FSYNC/BCLK master, one of the directions
37		is SYNC with the other, and the ASYNC direction has
38		the BYP bit toggled, the SYNC direction's BCLK won't
39		be generated properly.
40
41endif # DAI_NXP_SAI
42