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	select RESET
11	help
12	  Enable support for mcux flexcomm spi driver.
13
14if SPI_MCUX_FLEXCOMM
15config SPI_MCUX_FLEXCOMM_DMA
16	bool "MCUX FLEXCOMM SPI DMA Support"
17	select DMA
18	help
19	  Enable the SPI DMA mode for SPI instances
20	  that enable dma channels in their device tree node.
21endif # SPI_MCUX_FLEXCOMM
22