zephyr/drivers/spi/Kconfig.andes_atcspi200
Kevin Wang c181dcced4 drivers: spi: Support dma mode for atcspi200
1. Support the dma mode for andes_atcspi200
   and use board adp_xc7k_ae350 for testing.
2. Refine the function mechanism.

Signed-off-by: Kevin Wang <kevinwang821020@google.com>
2024-01-31 15:03:28 +01:00

23 lines
464 B
Plaintext

# 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
if SPI_ANDES_ATCSPI200
config ANDES_SPI_DMA_MODE
bool "Using DMA mode for spi"
default y
depends on DMA
endif # SPI_ANDES_ATCSPI200