1# DesignWare SPI driver configuration options 2 3# Copyright (c) 2015-2016 Intel Corporation 4# Copyright (c) 2023 Meta Platforms 5# SPDX-License-Identifier: Apache-2.0 6 7menuconfig SPI_DW 8 bool "DesignWare SPI controller driver" 9 default y 10 depends on DT_HAS_SNPS_DESIGNWARE_SPI_ENABLED 11 select PINCTRL if $(dt_compat_any_has_prop,$(DT_COMPAT_SNPS_DESIGNWARE_SPI),pinctrl-0) 12 help 13 Enable support for DesignWare SPI controllers. 14 15if SPI_DW 16 17config SPI_DW_ACCESS_WORD_ONLY 18 bool "DesignWare SPI only allows word access" 19 help 20 In some case, e.g. ARC HS Development kit, the peripheral space of 21 DesignWare SPI only allows word access, byte access will raise 22 exception. 23 24config SPI_DW_HSSI 25 bool "DesignWare SPI HSSI variant" 26 help 27 Use register layout compatible with the SPI DW HSSI variant of the 28 peripheral. 29 30endif # SPI_DW 31