Skip to content

Commit 5aef526

Browse files
karstenkoenigrlubos
authored andcommitted
[nrf fromtree] soc: nordic: nrf54h: Retrigger TASK_FREQ_CHANGE
A single trigger of the TASK_FREQ_CHANGE task might not be enough, so trigger twice to make sure the frequency gets updated. Signed-off-by: Karsten Koenig <[email protected]> (cherry picked from commit 16e7e46)
1 parent 4f64a3a commit 5aef526

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

soc/nordic/nrf54h/soc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ static int trim_hsfll(void)
9898
DT_PROP(DT_CLOCKS_CTLR(HSFLL_NODE), clock_frequency));
9999
nrf_hsfll_trim_set(hsfll, &trim);
100100

101+
nrf_hsfll_task_trigger(hsfll, NRF_HSFLL_TASK_FREQ_CHANGE);
102+
/* HSFLL task frequency change needs to be triggered twice to take effect.*/
101103
nrf_hsfll_task_trigger(hsfll, NRF_HSFLL_TASK_FREQ_CHANGE);
102104

103105
LOG_DBG("NRF_HSFLL->TRIM.VSUP = %d", hsfll->TRIM.VSUP);

0 commit comments

Comments
 (0)