zephyr/drivers/spi/Kconfig.sam

23 lines
492 B
Plaintext

# Atmel SAM SPI
# Copyright (c) 2019 Gerson Fernando Budke
# Copyright (c) 2018 qianfan Zhao
# SPDX-License-Identifier: Apache-2.0
config SPI_SAM
bool "Atmel SAM series SPI driver"
default y
depends on DT_HAS_ATMEL_SAM_SPI_ENABLED
select GPIO
help
Enable support for the SAM SPI driver.
if SPI_SAM
config SPI_SAM_DMA
bool "SPI SAM DMA Support"
select DMA
help
Enable using DMA with SPI for SPI instances that enable dma channels in
their device tree node.
endif # SPI_SAM