2024-05-30 14:51:48 +08:00
|
|
|
# Copyright (c) 2024 Analog Devices, Inc.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config SPI_MAX32
|
|
|
|
bool "MAX32 MCU SPI controller driver"
|
|
|
|
default y
|
|
|
|
depends on DT_HAS_ADI_MAX32_SPI_ENABLED
|
2024-08-16 17:35:33 +08:00
|
|
|
select PINCTRL
|
2024-05-30 14:51:48 +08:00
|
|
|
help
|
|
|
|
Enable SPI support on the MAX32 family of processors.
|
|
|
|
|
|
|
|
if SPI_MAX32
|
|
|
|
|
|
|
|
config SPI_MAX32_INTERRUPT
|
|
|
|
bool "MAX32 MCU SPI Interrupt Support"
|
|
|
|
help
|
|
|
|
Enable interrupt support for MAX32 MCU SPI driver.
|
|
|
|
|
2024-01-18 19:03:58 +08:00
|
|
|
config SPI_MAX32_DMA
|
|
|
|
bool "MAX32 MCU SPI DMA Support"
|
|
|
|
select DMA
|
|
|
|
select CACHE_MANAGEMENT if CPU_HAS_DCACHE
|
|
|
|
help
|
|
|
|
Enable DMA support for MAX32 MCU SPI driver.
|
|
|
|
|
2024-05-30 14:51:48 +08:00
|
|
|
endif # SPI_MAX32
|