modules/Kconfig.nordic: Enable NRFX_USBREG together with NRFX_POWER

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 <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2020-09-02 13:38:43 +02:00 committed by Carles Cufí
parent ec878bf6a3
commit 76745bc085
1 changed files with 3 additions and 0 deletions

View File

@ -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"