@@ -44,19 +44,6 @@ static void hfclk_on_callback(struct onoff_manager *mgr,
44
44
}
45
45
46
46
#if defined(CONFIG_CLOCK_CONTROL_NRF )
47
-
48
- #if defined(NRF54LM20A_ENGA_XXAA )
49
- /* HF clock time to ramp-up. */
50
- #define MAX_HFXO_RAMP_UP_TIME_US 550
51
-
52
- static void hfclk_started_timer_handler (struct k_timer * dummy )
53
- {
54
- hfclk_on_callback (NULL , NULL , 0 , 0 );
55
- }
56
-
57
- K_TIMER_DEFINE (hfclk_started_timer , hfclk_started_timer_handler , NULL );
58
- #endif
59
-
60
47
void nrf_802154_clock_hfclk_start (void )
61
48
{
62
49
struct onoff_manager * mgr =
@@ -77,15 +64,6 @@ void nrf_802154_clock_hfclk_start(void)
77
64
int ret = onoff_request (mgr , & hfclk_cli );
78
65
__ASSERT_NO_MSG (ret >= 0 );
79
66
(void )ret ;
80
-
81
- #if defined(NRF54LM20A_ENGA_XXAA )
82
- /*
83
- * Right now, the power_clock_irq is not available on nRF54LM20A.
84
- * Since the onoff mechanism relies on the irq, the timer is used
85
- * to emit the hfclk_ready callback.
86
- */
87
- k_timer_start (& hfclk_started_timer , K_USEC (MAX_HFXO_RAMP_UP_TIME_US ), K_NO_WAIT );
88
- #endif
89
67
}
90
68
91
69
void nrf_802154_clock_hfclk_stop (void )
0 commit comments