diff --git a/scripts/quarantine.yaml b/scripts/quarantine.yaml index 1b622745c73d..ef4f8f7dc6c4 100644 --- a/scripts/quarantine.yaml +++ b/scripts/quarantine.yaml @@ -99,6 +99,12 @@ - nrf7120dk/nrf7120/cpuapp comment: "https://nordicsemi.atlassian.net/browse/NCSDK-39364" +- scenarios: + - nrf.extended.drivers.clock.nrf_clock_control + platforms: + - nrf9251dk@0.1.0/nrf9251/cpuapp + comment: "https://nordicsemi.atlassian.net/browse/NRFX-9455" + - scenarios: - nrf.extended.sample.ipc.icmsg.nrf54h_nrf92_no_multithreading - drivers.grtc.test_mcuboot_grtc_no_uninit diff --git a/tests/zephyr/drivers/clock_control/nrf_clock_control/CMakeLists.txt b/tests/zephyr/drivers/clock_control/nrf_clock_control/CMakeLists.txt new file mode 100644 index 000000000000..3c3f40eaba5e --- /dev/null +++ b/tests/zephyr/drivers/clock_control/nrf_clock_control/CMakeLists.txt @@ -0,0 +1,12 @@ +# +# Copyright (c) 2026 Nordic Semiconductor ASA +# +# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause +# + +cmake_minimum_required(VERSION 3.20.0) + +find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) +project(nrf_clock_control) + +target_sources(app PRIVATE ${ZEPHYR_BASE}/tests/drivers/clock_control/nrf_clock_control/src/main.c) diff --git a/tests/zephyr/drivers/clock_control/nrf_clock_control/Kconfig b/tests/zephyr/drivers/clock_control/nrf_clock_control/Kconfig new file mode 100644 index 000000000000..157d71ea0e8e --- /dev/null +++ b/tests/zephyr/drivers/clock_control/nrf_clock_control/Kconfig @@ -0,0 +1 @@ +source "tests/drivers/clock_control/nrf_clock_control/Kconfig" diff --git a/tests/zephyr/drivers/clock_control/nrf_clock_control/README.txt b/tests/zephyr/drivers/clock_control/nrf_clock_control/README.txt new file mode 100644 index 000000000000..468b7c8470c3 --- /dev/null +++ b/tests/zephyr/drivers/clock_control/nrf_clock_control/README.txt @@ -0,0 +1,3 @@ +This test extends the same-named Zephyr test to verify it with Nordic development kits. + +Source code and basic configuration files can be found in the corresponding folder structure in zephyr/tests/drivers/clock_control/nrf_clock_control. diff --git a/tests/zephyr/drivers/clock_control/nrf_clock_control/boards/nrf9251dk_nrf9251_cpuapp.conf b/tests/zephyr/drivers/clock_control/nrf_clock_control/boards/nrf9251dk_nrf9251_cpuapp.conf new file mode 100644 index 000000000000..924aae8e4753 --- /dev/null +++ b/tests/zephyr/drivers/clock_control/nrf_clock_control/boards/nrf9251dk_nrf9251_cpuapp.conf @@ -0,0 +1,3 @@ +CONFIG_TEST_FLL16M=y +CONFIG_TEST_HSFLL_APP=y +CONFIG_TEST_DVFS_INIT=y diff --git a/tests/zephyr/drivers/clock_control/nrf_clock_control/boards/nrf9251dk_nrf9251_cpuapp.overlay b/tests/zephyr/drivers/clock_control/nrf_clock_control/boards/nrf9251dk_nrf9251_cpuapp.overlay new file mode 100644 index 000000000000..dba6b3ea4765 --- /dev/null +++ b/tests/zephyr/drivers/clock_control/nrf_clock_control/boards/nrf9251dk_nrf9251_cpuapp.overlay @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2026 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause + */ + +&fll16m { + status = "okay"; +}; + +&hsfll120 { + status = "okay"; +}; + +&lfclk { + status = "okay"; +}; diff --git a/tests/zephyr/drivers/clock_control/nrf_clock_control/prj.conf b/tests/zephyr/drivers/clock_control/nrf_clock_control/prj.conf new file mode 100644 index 000000000000..d11c2f125a03 --- /dev/null +++ b/tests/zephyr/drivers/clock_control/nrf_clock_control/prj.conf @@ -0,0 +1,6 @@ +CONFIG_ZTEST=y + +CONFIG_CLOCK_CONTROL=y +CONFIG_LOG=y +CONFIG_CLOCK_CONTROL_LOG_LEVEL_DBG=y +CONFIG_LOCAL_DOMAIN_DVFS_LIB_LOG_LEVEL_DBG=y diff --git a/tests/zephyr/drivers/clock_control/nrf_clock_control/testcase.yaml b/tests/zephyr/drivers/clock_control/nrf_clock_control/testcase.yaml new file mode 100644 index 000000000000..e6f85941b2cd --- /dev/null +++ b/tests/zephyr/drivers/clock_control/nrf_clock_control/testcase.yaml @@ -0,0 +1,8 @@ +tests: + nrf.extended.drivers.clock.nrf_clock_control: + tags: + - drivers + - clock_control + - ci_tests_zephyr_drivers_clock_control + platform_allow: + - nrf9251dk/nrf9251/cpuapp diff --git a/west.yml b/west.yml index f954871323f9..5856f9ff56fd 100644 --- a/west.yml +++ b/west.yml @@ -65,7 +65,7 @@ manifest: # https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html - name: zephyr repo-path: sdk-zephyr - revision: a965c4190fa910792484ec8acffecec02bf862b7 + revision: cea63b3906540b754e4392f178b6edf73dd34251 import: # In addition to the zephyr repository itself, NCS also # imports the contents of zephyr/west.yml at the above