1# DesignWare SPI driver configuration options
2
3# Copyright (c) 2015-2016 Intel Corporation
4# SPDX-License-Identifier: Apache-2.0
5
6config HAS_SPI_DW
7	bool
8	help
9	  Signifies whether DesignWare SPI compatible HW is available
10
11menuconfig SPI_DW
12	bool "Designware SPI controller driver"
13	default y
14	depends on DT_HAS_SNPS_DESIGNWARE_SPI_ENABLED
15	depends on HAS_SPI_DW
16	help
17	  Enable support for Designware's SPI controllers.
18
19if SPI_DW
20
21config SPI_DW_ACCESS_WORD_ONLY
22	bool "DesignWare SPI only allows word access"
23	help
24	  In some case, e.g. ARC HS Development kit, the peripheral space of
25	  DesignWare SPI only allows word access, byte access will raise
26	  exception.
27
28endif # SPI_DW
29