2023-10-03 19:11:53 +08:00
|
|
|
# Copyright 2023 NXP
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config DAI_NXP_SAI
|
|
|
|
bool "NXP Synchronous Audio Interface (SAI) driver"
|
|
|
|
default y
|
|
|
|
depends on DT_HAS_NXP_DAI_SAI_ENABLED
|
2024-03-28 23:44:10 +08:00
|
|
|
select PINCTRL
|
2023-10-03 19:11:53 +08:00
|
|
|
help
|
|
|
|
Select this to enable NXP SAI driver.
|
|
|
|
|
|
|
|
if DAI_NXP_SAI
|
|
|
|
|
|
|
|
config SAI_HAS_MCLK_CONFIG_OPTION
|
|
|
|
bool "Set if SAI has MCLK configuration options"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Select this if the SAI IP allows configuration
|
|
|
|
of the master clock. Master clock configuration
|
|
|
|
refers to enabling/disabling the master clock,
|
|
|
|
setting the signal as input or output or dividing
|
|
|
|
the master clock output.
|
|
|
|
|
|
|
|
config SAI_FIFO_WORD_SIZE
|
|
|
|
int "Size (in bytes) of a FIFO word"
|
|
|
|
default 4
|
|
|
|
help
|
|
|
|
Use this to set the size (in bytes) of a SAI
|
|
|
|
FIFO word.
|
|
|
|
|
2023-12-21 21:29:56 +08:00
|
|
|
config SAI_IMX93_ERRATA_051421
|
|
|
|
bool "Set if your SAI IP version is affected by i.MX93's ERRATA 051421"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Select this if your SAI ip version is affected by
|
|
|
|
i.MX93's ERRATA 051421. The errata states that if
|
|
|
|
the SAI is FSYNC/BCLK master, one of the directions
|
|
|
|
is SYNC with the other, and the ASYNC direction has
|
|
|
|
the BYP bit toggled, the SYNC direction's BCLK won't
|
|
|
|
be generated properly.
|
|
|
|
|
2023-10-03 19:11:53 +08:00
|
|
|
endif # DAI_NXP_SAI
|