1# MSPI driver configuration options 2 3# Copyright (c) 2024 Ambiq Micro Inc. <www.ambiq.com> 4# SPDX-License-Identifier: Apache-2.0 5 6# 7# MSPI Drivers 8# 9menuconfig MSPI 10 bool "Multi-bit Serial Peripheral Interface (MSPI) bus drivers" 11 help 12 Enable support for the MSPI hardware bus. 13 14if MSPI 15 16config MSPI_ASYNC 17 bool "Asynchronous call support" 18 select POLL 19 help 20 This option enables the asynchronous API calls. 21 22config MSPI_PERIPHERAL 23 bool "Peripheral support" 24 help 25 Enables Driver MSPI peripheral mode operations. Peripheral mode 26 support depends on the driver and the hardware it runs on. 27 28config MSPI_INIT_PRIORITY 29 int "Init priority" 30 default 70 31 help 32 Device driver initialization priority. 33 34config MSPI_COMPLETION_TIMEOUT_TOLERANCE 35 int "Completion timeout tolerance (ms)" 36 default 200 37 help 38 The tolerance value in ms for the MSPI completion timeout logic. 39 40config MSPI_XIP 41 bool "XIP eXecute In Place" 42 help 43 Describes controller hardware XIP capability and 44 enables mspi_xip_config calls in device drivers. 45 46config MSPI_SCRAMBLE 47 bool "Scrambling support" 48 help 49 Describes controller hardware scrambling capability and 50 enables mspi_scramble_config calls in device drivers. 51 52config MSPI_TIMING 53 bool "Timing support" 54 help 55 Enables mspi_timing_config calls in device drivers for those 56 controllers that need this to proper function at high frequencies. 57 58module = MSPI 59module-str = mspi 60source "subsys/logging/Kconfig.template.log_config" 61 62source "drivers/mspi/Kconfig.ambiq" 63source "drivers/mspi/Kconfig.mspi_emul" 64 65endif # MSPI 66