Skip to content

Conversation

e-rk
Copy link
Contributor

@e-rk e-rk commented Jun 10, 2025

Cherry pick of upstream commits introducing HFXO startup-time-us property and making use of it in nrf-802154 and MPSL modules.

bjarki-andreasen and others added 11 commits June 11, 2025 14:54
Add nrf51 series hfxo binding and nodes to socs.

Note that the values added to the soc .dtsi files are worst case
defaults, which will be replaced with optimal values at board level
in the future, as they depend on the specific crystal in use.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 9ba72a5)
Signed-off-by: Rafał Kuźnia <[email protected]>
Add nrf52 series hfxo binding and nodes to socs.

Note that the values added to the soc .dtsi files are worst case
defaults, which will be replaced with optimal values at board level
in the future, as they depend on the specific crystal in use.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit a81dad9)
Signed-off-by: Rafał Kuźnia <[email protected]>
…prop

Add the clock startup time property to the nrf53 series HFXO binding.

Note that the values added to the soc .dtsi files are worst case
defaults, which will be replaced with optimal values at board level
in the future, as they depend on the specific crystal in use.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit b9fdef6)
Signed-off-by: Rafał Kuźnia <[email protected]>
…,nrf54l-hfxo

Each nrf series has its own variant of the hfxo clock, specified
by the binding which includes the series in the name. The nrf54L
series is no different, hence the binding should be clearly
specified by having the series name within it.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit e3c70ee)
Signed-off-by: Rafał Kuźnia <[email protected]>
…,nrf54l-lfxo

Each nrf series has its own variant of the lfxo clock, specified
by the binding which includes the series in the name. The nrf54L
series is no different, hence the binding should be clearly
specified by having the series name within it.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 393a9e5)
Signed-off-by: Rafał Kuźnia <[email protected]>
… prop

Add the clock startup time property to the nrf54l series HFXO binding.

Note that the values added to the soc .dtsi files are worst case
defaults, which will be replaced with optimal values at board level
in the future, as they depend on the specific crystal in use.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit bb8ef77)
Signed-off-by: Rafał Kuźnia <[email protected]>
…ime API

Implement vendor specific
z_nrf_clock_bt_ctlr_hf_get_startup_time_us() which gets the startup
time of the high frequency clock used for Bluetooth.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 400c038)
Signed-off-by: Rafał Kuźnia <[email protected]>
…ON option

CLOCK_CONTROL_NRF_HFINT_CALIBRATION depended on the renamed
nordic,nrf-hfxo -> nordic,nrf54l-hfxo. Update config to depend on
DT_HAS_NORDIC_NRF54L_HFXO_ENABLED to match new compat name.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit b668e9d)
Signed-off-by: Rafał Kuźnia <[email protected]>
The HFXO used on nRF54L15 DK has the typical startup latency of 854us.

Upstream PR #: 90795

Signed-off-by: Rafał Kuźnia <[email protected]>
…ency

The clock startup latency is now obtained from the clock driver and the
nrf-802154 is now set to a value that matches hardware capabilities.

Upstream PR #: 90795

Signed-off-by: Rafał Kuźnia <[email protected]>
… default"

This reverts commit be025e3.

Signed-off-by: Rafał Kuźnia <[email protected]>
@e-rk e-rk force-pushed the clock-latency-ncs branch from 3d94f1e to 892ce7c Compare June 11, 2025 12:54
Copy link

@e-rk e-rk requested review from ankuns and piotrkoziar June 12, 2025 07:18
@rlubos rlubos merged commit 68ab1cf into nrfconnect:main Jun 12, 2025
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants