From c08958b1825391f00d28d59e3114d19e511bae9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Stasiak?= Date: Thu, 23 Oct 2025 09:03:31 +0200 Subject: [PATCH] [nrf fromlist] modules: hal_nordic: nrfx: make NRFX_SPI(M/S) selectable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since selectable per-instance configs are removed, allow selecting the general symbol for driver. Upstream PR #: 96792 Signed-off-by: MichaƂ Stasiak --- modules/hal_nordic/nrfx/Kconfig | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/hal_nordic/nrfx/Kconfig b/modules/hal_nordic/nrfx/Kconfig index a0a90975f15..dc5c190f7f7 100644 --- a/modules/hal_nordic/nrfx/Kconfig +++ b/modules/hal_nordic/nrfx/Kconfig @@ -416,11 +416,17 @@ config NRFX_SPI2 depends on $(dt_nodelabel_exists,spi2) && SOC_SERIES_NRF52X select NRFX_SPI +DT_COMPAT_NORDIC_NRF_SPIM := nordic,nrf-spim + config NRFX_SPIM - bool + bool "SPIM driver" + depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIM)) + +DT_COMPAT_NORDIC_NRF_SPIS := nordic,nrf-spis config NRFX_SPIS - bool + bool "SPIS driver" + depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIS)) config NRFX_SYSTICK bool "SYSTICK driver"