-
Notifications
You must be signed in to change notification settings - Fork 621
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
[Backport v3.7.99-ncs1-branch] pm: bring policy latency API updates #2226
Merged
rlubos
merged 8 commits into
v3.7.99-ncs1-branch
from
backport-2150-to-v3.7.99-ncs1-branch
Nov 5, 2024
Merged
[Backport v3.7.99-ncs1-branch] pm: bring policy latency API updates #2226
rlubos
merged 8 commits into
v3.7.99-ncs1-branch
from
backport-2150-to-v3.7.99-ncs1-branch
Nov 5, 2024
Conversation
This file contains 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
Replace SYS_INIT with SoC hooks and adapt SoC init code Signed-off-by: Anas Nashif <[email protected]> (cherry picked from commit 49f7204) (cherry picked from commit de466b5)
Can disable RDC configuration if RDC node is disabled. Signed-off-by: Jiafei Pan <[email protected]> (cherry picked from commit bd03883) (cherry picked from commit 889a23e)
Replace SYS_INIT with SoC hooks and adapt SoC init code Signed-off-by: Anas Nashif <[email protected]> (cherry picked from commit f519f00) (cherry picked from commit 5b8db13)
Add support for SCG K4 clock control in kinetis pinctrl. Signed-off-by: Declan Snyder <[email protected]> (cherry picked from commit 2db9ea9) (cherry picked from commit 9a68f13)
We already have `DT_HAS_COMPAT_STATUS_OKAY` and `DT_NUM_INST_STATUS_OKAY`, it seems intuitive to assume that `DT_NODE_HAS_STATUS_OKAY` exists, so much so that it was used before it's implemented. This patch implements `DT_NODE_HAS_STATUS_OKAY`, which is equivalent to: `DT_NODE_HAS_STATUS(<node_id>, okay)` Added test for it in `tests/lib/devicetree/api` Signed-off-by: Yong Cong Sin <[email protected]> Signed-off-by: Yong Cong Sin <[email protected]> (cherry picked from commit 5aebd12) (cherry picked from commit 7b42e04)
Change instances of: DT_NODE_HAS_STATUS(<node_id>, okay) to DT_NODE_HAS_STATUS_OKAY(<node_id>) Signed-off-by: Yong Cong Sin <[email protected]> Signed-off-by: Yong Cong Sin <[email protected]> (cherry picked from commit 52a2023) (cherry picked from commit 8fc34fc)
policy.c has grown organically, it contained many independent pieces of code. This patch splits each logical unit into its own C file, making it easier to browse the code. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit 6f4bb11) (cherry picked from commit d7e9470)
This option allows using the pm_policy_latency* APIs to gather latency requirements on systems that do not support PM (e.g. systems whithout CPU idle states). Because the API has a subscription mechanism, it can be useful to perform system-level adjustments based on latency requirements gathered from multiple system components. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit 578008c) (cherry picked from commit 6d97e32)
rlubos
approved these changes
Nov 5, 2024
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.
Backport 6d97e32~8..6d97e32 from #2150.