-
Notifications
You must be signed in to change notification settings - Fork 7.5k
drivers: nrf_ironside dvfs service #90755
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
Conversation
a862e9c
to
e437124
Compare
e437124
to
414e418
Compare
This is adding a new public API, needs WG review... |
3dd1d79
to
c07633d
Compare
Long-term discussion here: #91373 For now this can go in as-is, since this is a completely SoC-specific API. |
c07633d
to
12cc67a
Compare
if (!sdfw_dvfs_is_abb_locked(NRF_ABB)) { | ||
return -IRONSIDE_DVFS_ERROR_BUSY; | ||
} | ||
|
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.
use k_is_in_isr here and remove mutex
soc/nordic/nrf54h/Kconfig
Outdated
@@ -28,7 +28,6 @@ config SOC_NRF54H20_CPUAPP_COMMON | |||
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE | |||
select NRFS_HAS_AUDIOPLL_SERVICE | |||
select NRFS_HAS_CLOCK_SERVICE | |||
select NRFS_HAS_DVFS_SERVICE |
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.
remove this, with #91187 it will not be needed :)
61d636a
to
debce5e
Compare
Added handling of new IRONside DVFS service. NRFS DVFS is now not enabled by default. Signed-off-by: Łukasz Stępnicki <[email protected]>
debce5e
to
3fd61cb
Compare
|
hsfll_trim.tcoef = NRF_FICR->TRIM.APPLICATION.HSFLL.TRIM.TCOEF; | ||
#endif | ||
#else | ||
#error "Only application core is supported for DVFS" |
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.
This check may be redundant since kconfig already depends on SOC_NRF54H_CPUAPP
Added handling of new IRONside DVFS service.
NRFS DVFS is now not enabled by default.