zephyr/drivers/spi/Kconfig.gd32
TOKITA Hiroshi 49522c061f drivers: spi: gd32: support interrupt-driven mode
Add supporting interrupt-based asynchronous operation for GD32 SPI.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2022-08-01 10:32:33 +02:00

20 lines
400 B
Plaintext

# Copyright (c) 2021 BrainCo Inc.
# SPDX-License-Identifier: Apache-2.0
config SPI_GD32
bool "Gigadevice GD32 SPI driver"
default y
depends on DT_HAS_GD_GD32_SPI_ENABLED
help
Enables Gigadevice GD32 SPI driver.
if SPI_GD32
config SPI_GD32_INTERRUPT
bool "GD32 MCU SPI Interrupt Support"
default y if SPI_ASYNC
help
Enable the interrupt driven mode for SPI instances
endif # SPI_GD32