zephyr/drivers/ipm/Kconfig
Kumar Gala f389f702cb drivers: ipm: Update drivers to use devicetree Kconfig symbol
Update IPM drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol
to expose the driver and enable it by default based on devicetree.

We remove 'depend on' Kconfig for symbols that would be implied by
the devicetree node existing.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2022-10-31 16:45:56 -05:00

51 lines
1.1 KiB
Plaintext

# SPDX-License-Identifier: Apache-2.0
menuconfig IPM
bool "IPM drivers"
help
Include interrupt-based inter-processor mailboxes
drivers in system configuration
if IPM
config IPM_MHU
bool "IPM MHU driver"
default y
depends on DT_HAS_ARM_MHU_ENABLED
help
Driver for SSE 200 MHU (Message Handling Unit)
config IPM_NRFX
bool "IPM NRF driver"
default y
depends on DT_HAS_NORDIC_NRF_IPC_ENABLED
select NRFX_IPC
help
Driver for Nordic nRF messaging unit, based
on nRF IPC peripheral HW.
config IPM_NRF_SINGLE_INSTANCE
bool "Single instance of IPM device"
help
Enable this option if the IPM device should have
a single instance, instead of one per IPC
message channel.
config ESP32_SOFT_IPM
bool "ESP32 Software IPM driver"
default y
depends on DT_HAS_ESPRESSIF_ESP32_IPM_ENABLED
help
Interprocessor driver for ESP32 when using AMP.
source "drivers/ipm/Kconfig.nrfx"
source "drivers/ipm/Kconfig.imx"
source "drivers/ipm/Kconfig.stm32"
source "drivers/ipm/Kconfig.intel_adsp"
module = IPM
module-str = ipm
source "subsys/logging/Kconfig.template.log_config"
endif #IPM