1# Copyright (c) 2016, Freescale Semiconductor, Inc.
2# Copyright (c) 2017-2020, NXP
3# SPDX-License-Identifier: Apache-2.0
4
5config SPI_MCUX_FLEXCOMM
6	bool "MCUX FLEXCOMM SPI driver"
7	default y
8	depends on DT_HAS_NXP_LPC_SPI_ENABLED
9	select PINCTRL
10	help
11	  Enable support for mcux flexcomm spi driver.
12
13if SPI_MCUX_FLEXCOMM
14config SPI_MCUX_FLEXCOMM_DMA
15	bool "MCUX FLEXCOMM SPI DMA Support"
16	select DMA
17	help
18	  Enable the SPI DMA mode for SPI instances
19	  that enable dma channels in their device tree node.
20endif # SPI_MCUX_FLEXCOMM
21