1# MCUXpresso SDK SPI
2
3# Copyright (c) 2016, Freescale Semiconductor, Inc.
4# Copyright (c) 2017, 2021, NXP
5# SPDX-License-Identifier: Apache-2.0
6
7config SPI_MCUX_DSPI
8	bool "MCUX SPI driver"
9	default y
10	depends on DT_HAS_NXP_KINETIS_DSPI_ENABLED
11	depends on CLOCK_CONTROL
12	select PINCTRL
13	help
14	  Enable support for mcux spi driver.
15
16if SPI_MCUX_DSPI
17
18config DSPI_MCUX_EDMA
19	bool "ENABLE EDMA for DSPI driver"
20	depends on HAS_MCUX && HAS_MCUX_EDMA
21	help
22	  Enable the MCUX DSPI driver.
23
24if DSPI_MCUX_EDMA
25
26config MCUX_DSPI_BUFFER_SIZE
27	int "buffer size"
28	default 144
29	help
30	  data buffer size
31
32config MCUX_DSPI_EDMA_SHUFFLE_DATA
33	bool "use the internal data process"
34	default y
35	help
36	  TX data need pre-fix with command, user can choose not to use it
37
38endif # DSPI_MCUX_EDMA
39
40endif # SPI_MCUX_DSPI
41