Skip to content

Commit 8f51617

Browse files
[nrf fromlist] samples: boards: nordic: clock_control: support global hsfll
Extend sample to support global hsfll clock control. Upstream PR #: 81735 Signed-off-by: Bjarki Arge Andreasen <[email protected]>
1 parent ee2c5e4 commit 8f51617

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2024 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_CLOCK_CONTROL=y
5+
6+
CONFIG_SAMPLE_CLOCK_FREQUENCY_HZ=320000000
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/{
8+
aliases {
9+
sample-clock = &hsfll120;
10+
};
11+
};

samples/boards/nordic/clock_control/sample.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,15 @@ tests:
2929
extra_args:
3030
- CONF_FILE="configs/cpuapp_hsfll.conf"
3131
- DTC_OVERLAY_FILE="configs/cpuapp_hsfll.overlay"
32+
sample.boards.nrf.clock_control.global_hsfll:
33+
filter: dt_nodelabel_enabled("hsfll120")
34+
extra_args:
35+
- CONF_FILE="configs/global_hsfll.conf"
36+
- DTC_OVERLAY_FILE="configs/global_hsfll.overlay"
37+
sample.boards.nrf.clock_control.global_hsfll.req_low_freq_n:
38+
filter: dt_nodelabel_enabled("hsfll120")
39+
extra_configs:
40+
- CONFIG_CLOCK_CONTROL_NRF2_GLOBAL_HSFLL_REQ_LOW_FREQ=n
41+
extra_args:
42+
- CONF_FILE="configs/global_hsfll.conf"
43+
- DTC_OVERLAY_FILE="configs/global_hsfll.overlay"

0 commit comments

Comments
 (0)