7b74dbb405
Adds DMA support to NXP's LPSPI driver. This can be enabled by selecting the KConfig symbol CONFIG_SPI_MCUX_LPSPI_DMA, and requires the LPSPI instances enabled in the devicetree to have valid DMA instances assigned. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
20 lines
443 B
Plaintext
20 lines
443 B
Plaintext
# MCUXpresso SDK SPI
|
|
|
|
# Copyright (c) 2018, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SPI_MCUX_LPSPI
|
|
bool "MCUX SPI driver"
|
|
depends on HAS_MCUX_LPSPI && CLOCK_CONTROL
|
|
help
|
|
Enable support for mcux spi driver.
|
|
|
|
if SPI_MCUX_LPSPI
|
|
config SPI_MCUX_LPSPI_DMA
|
|
bool "MCUX LPSPI SPI DMA Support"
|
|
select DMA
|
|
help
|
|
Enable the SPI DMA mode for SPI instances
|
|
that enable dma channels in their device tree node.
|
|
endif # SPI_MCUX_LPSPI
|