zephyr/drivers/spi/Kconfig.ambiq

51 lines
1.3 KiB
Plaintext

# Ambiq SDK SPI
#
# Copyright (c) 2023 Antmicro <www.antmicro.com>
# Copyright (c) 2024 Ambiq Micro Inc. <www.ambiq.com>
#
# SPDX-License-Identifier: Apache-2.0
#
config SPI_AMBIQ
bool "AMBIQ SPI driver"
default y
depends on DT_HAS_AMBIQ_SPI_ENABLED
select AMBIQ_HAL
select AMBIQ_HAL_USE_SPI
help
Enable driver for Ambiq SPI.
config MSPI_AMBIQ
bool "AMBIQ MSPI driver"
default y
depends on DT_HAS_AMBIQ_MSPI_ENABLED
select AMBIQ_HAL
select AMBIQ_HAL_USE_MSPI
help
Enable driver for Ambiq MSPI.
config SPI_AMBIQ_BLEIF
bool "AMBIQ SPI-BLEIF driver"
default y
depends on DT_HAS_AMBIQ_SPI_BLEIF_ENABLED
select AMBIQ_HAL
select AMBIQ_HAL_USE_BLEIF
help
Enable driver for Ambiq Apollox Blue SOC (e.g. Apollo3 Blue)
which uses internal designed BLEIF module (different from the
general IOM module) for SPI transceiver. It is always used for
the Bluetooth HCI communication.
if SPI_AMBIQ_BLEIF
config SPI_AMBIQ_BLEIF_TIMING_TRACE
bool "Ambiq SPI-BLEIF timing trace"
help
The pins for the SPI transceiver are not exposed from the chips
and no need for user to confiugre them. But the chips design the
configurable BLEIF timing observation functions on other exposed
pins. The user can enable it to configure the pins for timing
trace purpose.
endif # SPI_AMBIQ_BLEIF