samples: boards: nordic: clock_control: support global hsfll
Extend sample to support global hsfll clock control. Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
This commit is contained in:
parent
ef8bf34e61
commit
b9fc787943
3 changed files with 29 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_CLOCK_CONTROL=y
|
||||
|
||||
CONFIG_SAMPLE_CLOCK_FREQUENCY_HZ=320000000
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/{
|
||||
aliases {
|
||||
sample-clock = &hsfll120;
|
||||
};
|
||||
};
|
||||
|
|
@ -29,3 +29,15 @@ tests:
|
|||
extra_args:
|
||||
- CONF_FILE="configs/cpuapp_hsfll.conf"
|
||||
- DTC_OVERLAY_FILE="configs/cpuapp_hsfll.overlay"
|
||||
sample.boards.nrf.clock_control.global_hsfll:
|
||||
filter: dt_nodelabel_enabled("hsfll120")
|
||||
extra_args:
|
||||
- CONF_FILE="configs/global_hsfll.conf"
|
||||
- DTC_OVERLAY_FILE="configs/global_hsfll.overlay"
|
||||
sample.boards.nrf.clock_control.global_hsfll.req_low_freq_n:
|
||||
filter: dt_nodelabel_enabled("hsfll120")
|
||||
extra_configs:
|
||||
- CONFIG_CLOCK_CONTROL_NRF2_GLOBAL_HSFLL_REQ_LOW_FREQ=n
|
||||
extra_args:
|
||||
- CONF_FILE="configs/global_hsfll.conf"
|
||||
- DTC_OVERLAY_FILE="configs/global_hsfll.overlay"
|
||||
|
|
|
|||
Loading…
Reference in a new issue