2022-08-30 10:26:38 +08:00
|
|
|
# Kconfig Andes ATCSPI200 SPI configuration options
|
|
|
|
#
|
|
|
|
# Copyright (c) 2022 Andes Technology Corporation.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
config SPI_ANDES_ATCSPI200
|
|
|
|
bool "Andes ATCSPI200 SPI driver"
|
|
|
|
default y
|
|
|
|
depends on DT_HAS_ANDESTECH_ATCSPI200_ENABLED
|
|
|
|
help
|
|
|
|
Enable driver for Andes ATCSPI200 SPI controller
|
2023-09-15 10:18:16 +08:00
|
|
|
|
|
|
|
if SPI_ANDES_ATCSPI200
|
|
|
|
|
|
|
|
config ANDES_SPI_DMA_MODE
|
|
|
|
bool "Using DMA mode for spi"
|
|
|
|
default y
|
|
|
|
depends on DMA
|
|
|
|
|
|
|
|
endif # SPI_ANDES_ATCSPI200
|