forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathKconfig
More file actions
30 lines (25 loc) · 764 Bytes
/
Copy pathKconfig
File metadata and controls
30 lines (25 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2018, 2024-2025 NXP
# SPDX-License-Identifier: Apache-2.0
config SPI_NXP_LPSPI
bool "NXP LPSPI peripheral"
default y
depends on DT_HAS_NXP_LPSPI_ENABLED
depends on CLOCK_CONTROL
select PINCTRL
help
Enable support for NXP LPSPI.
if SPI_NXP_LPSPI
config SPI_NXP_LPSPI_DMA
bool "NXP LPSPI SPI DMA Driver"
select DMA
depends on $(dt_compat_any_has_prop,$(DT_COMPAT_NXP_LPSPI),dmas)
help
Enable the SPI DMA mode for SPI instances
that enable dma channels in their device tree node.
config SPI_NXP_LPSPI_CPU
bool "NXP LPSPI CPU based driver"
default y
depends on $(dt_compat_any_not_has_prop,$(DT_COMPAT_NXP_LPSPI),dmas) || !SPI_NXP_LPSPI_DMA
help
Use the traditional (non-RTIO) SPI driver for NXP LPSPI.
endif # SPI_NXP_LPSPI