1# Copyright (c) 2022 TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2# SPDX-License-Identifier: Apache-2.0
3
4config SPI_PL022
5	default y
6	depends on DT_HAS_ARM_PL022_ENABLED
7	select PINCTRL if DT_HAS_RASPBERRYPI_PICO_SPI_ENABLED
8	bool "ARM PL022 SPI driver"
9
10if SPI_PL022
11
12config SPI_PL022_INTERRUPT
13	bool "PL022 interrupt mode"
14	help
15	  Enables interrupt support for PL022 SPI driver.
16
17config SPI_PL022_DMA
18	bool "PL022 DMA mode"
19	select DMA
20	help
21	  Enables DMA support for PL022 SPI driver.
22
23endif
24