From 34af0b4c6d017538d1655f4949efb1ff38a05e9b Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Wed, 18 Dec 2024 22:03:42 +0530 Subject: [PATCH] [nrf fromlist] drivers: nrf_wifi: Add dependencies Add the feature flag and required GPIO in DTS as dependencies to avoid build failures. Upstream PR #: 83173 Signed-off-by: Chaitanya Tata --- drivers/wifi/nrf_wifi/Kconfig.nrfwifi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi index dea420370a6..0bb9b21b314 100644 --- a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi +++ b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi @@ -201,6 +201,8 @@ config NRF70_SR_COEX config NRF70_SR_COEX_RF_SWITCH bool "GPIO configuration to control SR side RF switch position" + depends on $(dt_node_has_prop,nrf70, srrf-switch-gpios) + depends on NRF70_SR_COEX help Select this option to enable GPIO configuration to control SR side RF switch position. If this GPIO is asserted (1), the SR side RF switch is connected to the Wi-Fi side (shared antenna).