From 76745bc08502ba00e0a2d1d549f599f62cbee9be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20G=C5=82=C4=85bek?= Date: Wed, 2 Sep 2020 13:38:43 +0200 Subject: [PATCH] modules/Kconfig.nordic: Enable NRFX_USBREG together with NRFX_POWER MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On SoCs featuring the USBREG peripheral, the nrfx_power driver uses the nrfx_usbreg one internally, so enable the latter when the former is enabled. Signed-off-by: Andrzej Głąbek --- modules/Kconfig.nordic | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/Kconfig.nordic b/modules/Kconfig.nordic index 979f50428be..7f8e23d336f 100644 --- a/modules/Kconfig.nordic +++ b/modules/Kconfig.nordic @@ -167,6 +167,9 @@ config NRFX_PDM config NRFX_POWER bool "Enable POWER driver" depends on HAS_HW_NRF_POWER + # On SoCs featuring the USBREG peripheral, the POWER driver uses + # internally the USBREG driver. + select NRFX_USBREG if HAS_HW_NRF_USBREG config NRFX_PPI bool "Enable PPI allocator"