From b6a26e1c9d8827e68d17708695aabd508661997b Mon Sep 17 00:00:00 2001 From: Martin Tverdal Date: Mon, 15 Apr 2024 09:53:43 +0200 Subject: [PATCH] [nrf fromtree] drivers: clock_control: Update RC accuracy nRF devices It is only nrf52 that has 500ppm accuracy on LFRC. All others have 250ppm. Signed-off-by: Martin Tverdal (cherry picked from commit 4f68adfbd54c6828029621c5fca39f11ea411623) --- drivers/clock_control/Kconfig.nrf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clock_control/Kconfig.nrf b/drivers/clock_control/Kconfig.nrf index 453aac5b5d0..8b30772f26c 100644 --- a/drivers/clock_control/Kconfig.nrf +++ b/drivers/clock_control/Kconfig.nrf @@ -130,7 +130,8 @@ endif # CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION choice CLOCK_CONTROL_NRF_ACCURACY_PPM prompt "32KHz clock accuracy" - default CLOCK_CONTROL_NRF_K32SRC_500PPM if CLOCK_CONTROL_NRF_K32SRC_RC + default CLOCK_CONTROL_NRF_K32SRC_500PPM if CLOCK_CONTROL_NRF_K32SRC_RC && SOC_COMPATIBLE_NRF52X + default CLOCK_CONTROL_NRF_K32SRC_250PPM if CLOCK_CONTROL_NRF_K32SRC_RC default CLOCK_CONTROL_NRF_K32SRC_50PPM config CLOCK_CONTROL_NRF_K32SRC_500PPM