-
Notifications
You must be signed in to change notification settings - Fork 724
Pull s2ram related commits #3448
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
Merged
bjarki-andreasen
merged 4 commits into
nrfconnect:main
from
nordic-segl:pull-s2ram-related-commits
Nov 5, 2025
Merged
Pull s2ram related commits #3448
bjarki-andreasen
merged 4 commits into
nrfconnect:main
from
nordic-segl:pull-s2ram-related-commits
Nov 5, 2025
+31
−23
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nordic-segl
added a commit
to nordic-segl/sdk-nrf
that referenced
this pull request
Oct 30, 2025
Include nrfconnect/sdk-zephyr#3448 Signed-off-by: Sebastian Głąb <[email protected]>
nordic-piks
approved these changes
Oct 30, 2025
nordic-pikr
approved these changes
Oct 30, 2025
nordic-segl
added a commit
to nordic-segl/sdk-nrf
that referenced
this pull request
Nov 3, 2025
Include nrfconnect/sdk-zephyr#3448 Signed-off-by: Sebastian Głąb <[email protected]>
f552eeb to
754bee4
Compare
nordic-segl
added a commit
to nordic-segl/sdk-nrf
that referenced
this pull request
Nov 4, 2025
Include nrfconnect/sdk-zephyr#3448 Signed-off-by: Sebastian Głąb <[email protected]>
nordic-segl
referenced
this pull request
in nrfconnect/sdk-nrf
Nov 4, 2025
Mention changes to kconfig options PM_S2RAM and PM_S2RAM_CUSTOM_MARKING and how to migrate to adhere to the changes which affect the nRF54H20. Signed-off-by: Bjarki Arge Andreasen <[email protected]>
Currently it is possible to have an enabled (status="okay") "suspend-to-ram" "zephyr,power-state" in the devicetree, CONFIG_PM=y, but CONFIG_PM_S2RAM=n This means the presence and state of the "suspend-to-ram" power state in the devicetree does not match the PM_S2RAM option, despite PM_S2RAM being dependent on the devicetree state. This commit makes the devicetree the "source of truth" for whether one or more s2ram power states shall be included and supported, by enabling PM_S2RAM if any s2ram power state with status "okay" is present in the devicetree. To disable the s2ram power state, like with any other state, disable it by setting its state to "disabled". The help of the now promptless PM_S2RAM config has been updated to reflect the new meaning. It previously held cortex-m specific implementation details, these have been removed as these details are already present in the file pointed to as well (arch/arm/core/cortex_m/pm_s2ram.c line 22) Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit 4626f6b)
…ptless The config PM_S2RAM_CUSTOM_MARKING is not an optional config for a user to select, it is required by some soc implementations of S2RAM, in which case it must be selected by the soc. Refactor the configuration to be HAS_PM_S2RAM_CUSTOM_MARKING, and make the currently only soc which needs it select it. Then update samples which previously had to select this option for this soc. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit 1767f13)
This commit adds support using pm_s2ram for 54H when the MPU is disabled. This is the case for the out of tree sample `sdk-nrf/samples/nrf54h/empty_app_core`. Without this commit the linker will fail to link `z_arm_mpu_init` and `z_arm_configure_static_mpu_regions`. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 05b77ec)
On nrf54h20 only cpuapp supports s2ram low power cpu state. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 6ec763474f6593ceafe70f79731247ede3721984)
754bee4 to
5c4bf0f
Compare
nordic-segl
added a commit
to nordic-segl/sdk-nrf
that referenced
this pull request
Nov 5, 2025
Include nrfconnect/sdk-zephyr#3448 Signed-off-by: Sebastian Głąb <[email protected]>
nordic-segl
added a commit
to nordic-segl/sdk-nrf
that referenced
this pull request
Nov 5, 2025
Include nrfconnect/sdk-zephyr#3448 Signed-off-by: Sebastian Głąb <[email protected]>
nordic-segl
added a commit
to nordic-segl/sdk-nrf
that referenced
this pull request
Nov 5, 2025
Include nrfconnect/sdk-zephyr#3448 Signed-off-by: Sebastian Głąb <[email protected]>
nordicjm
pushed a commit
to nrfconnect/sdk-nrf
that referenced
this pull request
Nov 5, 2025
Include nrfconnect/sdk-zephyr#3448 Signed-off-by: Sebastian Głąb <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull in PM related commits that:
on relevant SOCs.
manifest-pr-skip