From 6ac77d6a4e72cf40381e2686fa43ff983c6e7881 Mon Sep 17 00:00:00 2001 From: Joakim Andersson Date: Thu, 17 Mar 2022 14:38:37 +0100 Subject: [PATCH] soc: nordic_nrf: Add query items for HW peripheral CTRLAP Add Kconfig items that can be used to query if the current SoC support the HW peripheral CTRLAP. Signed-off-by: Joakim Andersson --- soc/arm/nordic_nrf/Kconfig.peripherals | 3 +++ soc/arm/nordic_nrf/nrf53/Kconfig.soc | 1 + soc/arm/nordic_nrf/nrf91/Kconfig.soc | 1 + 3 files changed, 5 insertions(+) diff --git a/soc/arm/nordic_nrf/Kconfig.peripherals b/soc/arm/nordic_nrf/Kconfig.peripherals index b605a65a035..604e9494a16 100644 --- a/soc/arm/nordic_nrf/Kconfig.peripherals +++ b/soc/arm/nordic_nrf/Kconfig.peripherals @@ -30,6 +30,9 @@ config HAS_HW_NRF_CLOCK config HAS_HW_NRF_COMP bool +config HAS_HW_NRF_CTRLAP + bool + config HAS_HW_NRF_DCNF bool diff --git a/soc/arm/nordic_nrf/nrf53/Kconfig.soc b/soc/arm/nordic_nrf/nrf53/Kconfig.soc index 32ef83bc7cf..e4a52d0c118 100644 --- a/soc/arm/nordic_nrf/nrf53/Kconfig.soc +++ b/soc/arm/nordic_nrf/nrf53/Kconfig.soc @@ -12,6 +12,7 @@ config SOC_NRF5340_CPUAPP select HAS_HW_NRF_CC312 select HAS_HW_NRF_COMP select HAS_HW_NRF_CLOCK + select HAS_HW_NRF_CTRLAP select HAS_HW_NRF_DCNF select HAS_HW_NRF_DPPIC select HAS_HW_NRF_EGU0 diff --git a/soc/arm/nordic_nrf/nrf91/Kconfig.soc b/soc/arm/nordic_nrf/nrf91/Kconfig.soc index ed0aa678225..b9191da2249 100644 --- a/soc/arm/nordic_nrf/nrf91/Kconfig.soc +++ b/soc/arm/nordic_nrf/nrf91/Kconfig.soc @@ -8,6 +8,7 @@ config SOC_NRF9160 bool select HAS_HW_NRF_CC310 select HAS_HW_NRF_CLOCK + select HAS_HW_NRF_CTRLAP select HAS_HW_NRF_DPPIC select HAS_HW_NRF_EGU0 select HAS_HW_NRF_EGU1