From 5732ae1ae0585e756178fbb003ffa02140127abd Mon Sep 17 00:00:00 2001 From: Vinayak Chettimada Date: Wed, 14 Sep 2016 20:30:50 +0200 Subject: [PATCH] arm: nordic_nrf5: Select clock control for BLE controller Bluetooth controller implementation requires the low power oscillator for radio time space scheduling and as sleep clock; the high frequency oscillator as the active clock. For Nordic Semiconductor's nRF5 Series SoC's select the NRF Clock peripheral when BLUETOOTH_CONTROLLER is selected in Kconfig build. Jira: ZEP-897 Change-id: I6f99e90b3485e757be61e91c749e485dd0cfdaba Signed-off-by: Vinayak Chettimada --- arch/arm/soc/nordic_nrf5/Kconfig.defconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/soc/nordic_nrf5/Kconfig.defconfig b/arch/arm/soc/nordic_nrf5/Kconfig.defconfig index 12811ca8f9e..0bbce2054e9 100644 --- a/arch/arm/soc/nordic_nrf5/Kconfig.defconfig +++ b/arch/arm/soc/nordic_nrf5/Kconfig.defconfig @@ -15,4 +15,14 @@ # limitations under the License. # +if BLUETOOTH_CONTROLLER + +config CLOCK_CONTROL + default y + +config CLOCK_CONTROL_NRF5 + default y + +endif # BLUETOOTH_CONTROLLER + source "arch/arm/soc/nordic_nrf5/*/Kconfig.defconfig.series"