2019-11-01 20:45:29 +08:00
|
|
|
# MCUXpresso SDK SPI
|
|
|
|
|
2018-09-15 05:06:13 +08:00
|
|
|
# Copyright (c) 2018, NXP
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-10-22 07:04:04 +08:00
|
|
|
config SPI_MCUX_LPSPI
|
2018-09-15 05:06:13 +08:00
|
|
|
bool "MCUX SPI driver"
|
2022-07-21 05:14:56 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_NXP_IMX_LPSPI_ENABLED
|
|
|
|
depends on CLOCK_CONTROL
|
2018-09-15 05:06:13 +08:00
|
|
|
help
|
|
|
|
Enable support for mcux spi driver.
|
2021-11-02 03:53:09 +08:00
|
|
|
|
|
|
|
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
|