Skip to content
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

nrfs: GDPWR service: Renaming and adding new power domains #261

Closed

Conversation

ppelikan-nordic
Copy link
Contributor

No description provided.

Renaming and adding new power domains

Signed-off-by: Rafal Dyla <[email protected]>
@ppelikan-nordic ppelikan-nordic changed the title nrfs: add GD services nrfs: GDPWR service: Renaming and adding new power domains Nov 27, 2024
@@ -61,7 +61,8 @@ enum {
NRFS_SERVICE_ID_PMIC,
NRFS_SERVICE_ID_RESET,
NRFS_SERVICE_ID_TEMP,
NRFS_SERVICE_ID_USB
NRFS_SERVICE_ID_USB,
NRFS_SERVICE_ID_GDFS
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
NRFS_SERVICE_ID_GDFS
NRFS_SERVICE_ID_GDFS,

and you wouldn't need to modify this line when a new service is added. Cleaner repository history.

GDPWR_POWER_DOMAIN_ACTIVE_FAST,
GDPWR_POWER_DOMAIN_ACTIVE_SLOW,
GDPWR_POWER_DOMAIN_MAIN_SLOW
GDPWR_GD_FAST_ACTIVE_0,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these should be numbered like here to allow backwards compatibility if there is changes in the future. This is now leading to a breaking change which in theory could have been avoided
https://github.com/zephyrproject-rtos/hal_nordic/pull/263/files#diff-c22a6f2ed9dee39b4c06992d6ca2e695d842b0558ec163660a5168293a06d10eR17

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.

4 participants