1# MCUXpresso SDK SPI 2 3# Copyright (c) 2018, NXP 4# SPDX-License-Identifier: Apache-2.0 5 6config SPI_MCUX_LPSPI 7 bool "MCUX SPI driver" 8 default y 9 depends on DT_HAS_NXP_IMX_LPSPI_ENABLED 10 depends on CLOCK_CONTROL 11 select PINCTRL 12 help 13 Enable support for mcux spi driver. 14 15if SPI_MCUX_LPSPI 16config SPI_MCUX_LPSPI_DMA 17 bool "MCUX LPSPI SPI DMA Support" 18 select DMA 19 help 20 Enable the SPI DMA mode for SPI instances 21 that enable dma channels in their device tree node. 22 23if SPI_RTIO 24config SPI_MCUX_RTIO_SQ_SIZE 25 int "number of available submission queue entries" 26 default 8 # sensible default that covers most common spi transactions 27 help 28 when rtio is use with spi each driver holds a context with which blocking 29 api calls use to perform spi transactions. this queue needs to be as deep 30 as the longest set of spi_buf_sets used, where normal spi operations are 31 used (equal length buffers). it may need to be slightly deeper where the 32 spi buffer sets for transmit/receive are not always matched equally in 33 length as these are transformed into normal transceives. 34endif # SPI_RTIO 35 36endif # SPI_MCUX_LPSPI 37