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