2019-11-01 13:45:29 +01:00
|
|
|
# DesignWare SPI driver configuration options
|
|
|
|
|
2016-03-17 11:21:49 -07:00
|
|
|
# Copyright (c) 2015-2016 Intel Corporation
|
2023-10-28 11:54:02 -07:00
|
|
|
# Copyright (c) 2023 Meta Platforms
|
2017-01-18 17:01:01 -08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-03-17 11:21:49 -07:00
|
|
|
|
|
|
|
menuconfig SPI_DW
|
2024-11-27 12:08:13 +00:00
|
|
|
bool "DesignWare SPI controller driver"
|
2022-07-20 16:14:56 -05:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_SNPS_DESIGNWARE_SPI_ENABLED
|
2024-11-27 12:02:35 +00:00
|
|
|
select PINCTRL if $(dt_compat_any_has_prop,$(DT_COMPAT_SNPS_DESIGNWARE_SPI),pinctrl-0)
|
2016-03-17 11:21:49 -07:00
|
|
|
help
|
2024-11-27 12:08:13 +00:00
|
|
|
Enable support for DesignWare SPI controllers.
|
2016-03-17 11:21:49 -07:00
|
|
|
|
|
|
|
if SPI_DW
|
|
|
|
|
2019-09-10 12:00:15 +08:00
|
|
|
config SPI_DW_ACCESS_WORD_ONLY
|
|
|
|
bool "DesignWare SPI only allows word access"
|
|
|
|
help
|
|
|
|
In some case, e.g. ARC HS Development kit, the peripheral space of
|
|
|
|
DesignWare SPI only allows word access, byte access will raise
|
|
|
|
exception.
|
|
|
|
|
2024-04-26 12:43:14 +02:00
|
|
|
config SPI_DW_HSSI
|
2024-11-27 12:08:13 +00:00
|
|
|
bool "DesignWare SPI HSSI variant"
|
2024-04-26 12:43:14 +02:00
|
|
|
help
|
|
|
|
Use register layout compatible with the SPI DW HSSI variant of the
|
|
|
|
peripheral.
|
|
|
|
|
2016-03-17 11:21:49 -07:00
|
|
|
endif # SPI_DW
|