modules: hal_nordic: nrf_802154: set clock startup latency

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.

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
This commit is contained in:
Rafał Kuźnia 2025-06-03 13:15:23 +02:00 committed by Daniel DeGrasse
parent d0a076984b
commit 558f26eaf9

View File

@ -18,7 +18,11 @@ static bool hfclk_is_running;
void nrf_802154_clock_init(void)
{
/* Intentionally empty. */
#ifdef NRF54L_SERIES
uint32_t clock_latency_us = z_nrf_clock_bt_ctlr_hf_get_startup_time_us();
nrf_802154_clock_hfclk_latency_set(clock_latency_us);
#endif
}
void nrf_802154_clock_deinit(void)