-
Notifications
You must be signed in to change notification settings - Fork 722
[nrf fromtree] modules: hal_nordic: use CLOCK_CONTROL_NRF2 for HFCLK … #2437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[nrf fromtree] modules: hal_nordic: use CLOCK_CONTROL_NRF2 for HFCLK … #2437
Conversation
|
FYI @ankuns |
|
Some fix is missing, see CI: zephyr/modules/hal_nordic/nrf_802154/sl_opensource/platform/nrf_802154_clock_zephyr.c:36:13: warning: 'hfclk_on_callback' defined but not used [-Wunused-function] zephyr/modules/hal_nordic/nrf_802154/sl_opensource/platform/nrf_802154_clock_zephyr.c:34:28: warning: 'hfclk_cli' defined but not used The upstream commit is not enough. Please make it build in our CI here, then put necessary fix in upstream, then replace the fix commit with the cherrypick. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix required
|
Decided to go with zephyrproject-rtos/zephyr#84343 that will enable the CLOCK_CONTROL required to use the zephyr's changes. |
…request/release Makes 802.15.4 use the API under CONFIG_CLOCK_CONTROL_NRF2 in nrf_clock_control.h to request/release HFCLK. Previous HFCLK requesting/releasing on nRF54H20 was more of a workaround and could produce issues when comes to sharing the resources. Signed-off-by: Piotr Koziar <[email protected]> (cherry picked from commit b6ca9db)
b325095 to
321e06e
Compare
|
Checks with enabled CLOCK_CONTROL passed |
…4 RD Selects CLOCK_CONTROL config whenever nRF 802.15.4 Radio Driver is enabled. The driver requires HFCLK api available under the config switch. Signed-off-by: Piotr Koziar <[email protected]> (cherry picked from commit f6892a4)
321e06e to
d1c53ca
Compare
…request/release
Makes 802.15.4 use the API under CONFIG_CLOCK_CONTROL_NRF2 in nrf_clock_control.h to request/release HFCLK.
Previous HFCLK requesting/releasing on nRF54H20 was more of a workaround and could produce issues when
comes to sharing the resources.
Signed-off-by: Piotr Koziar [email protected]
(cherry picked from commit b6ca9db)