-
Notifications
You must be signed in to change notification settings - Fork 7k
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
firmware: scmi: add base proto, scmi sample, smc/hvc transport and reset proto #78293
Closed
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
b5473c0
firmware: scmi: move protocols cfgs in separate file
5be7738
firmware: scmi: use generic FIELD_GET/FIELD_PREP
1b40c07
firmware: scmi: add msg header token processing
68f6abf
firmware: scmi: shmem: add debug prints
e352152
firmware: scmi: shmem: fix reply msg length processing
bfc95ec
firmware: scmi: move msg status handling at transport level
c3e2c9e
firmware: scmi: completely drop status from protocol helpers
a4fa16f
firmware: scmi: add support for base protocol
11c3fb1
samples: drivers: firmware: add arm scmi sample
f9bbef1
dts: bindings: firmware: add arm scmi (smc/hvc) bindings
fa943c5
firmware: scmi: add smc/hvc shmem based transport
008590c
drivers: reset: scmi: add support for reset domain management protocol
d455d4e
samples: drivers: firmware: arm_scmi: add reset shell interface
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 2024 NXP | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config ARM_SCMI_CLK_HELPERS | ||
bool "Helper functions for SCMI clock protocol" | ||
default y | ||
depends on DT_HAS_ARM_SCMI_CLOCK_ENABLED | ||
help | ||
Enable support for SCMI clock protocol helper functions. | ||
|
||
config ARM_SCMI_PINCTRL_HELPERS | ||
bool "Helper functions for SCMI pinctrl protocol" | ||
default y | ||
depends on DT_HAS_ARM_SCMI_PINCTRL_ENABLED | ||
help | ||
Enable support for SCMI pinctrl protocol helper functions. | ||
|
||
config ARM_SCMI_BASE_HELPERS | ||
bool "Helper functions for SCMI base protocol" | ||
default y | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should depend on one of the transports |
||
help | ||
Enable support for SCMI base protocol helper functions. | ||
|
||
config ARM_SCMI_BASE_EXT_REV | ||
bool "Select to report ARM SCMI base protocol extended revision" | ||
depends on ARM_SCMI_BASE_HELPERS | ||
default n | ||
help | ||
Enable report of ARM SCMI base extended revision information at boot time. | ||
|
||
config ARM_SCMI_BASE_AGENT_HELPERS | ||
bool "Helper functions for SCMI base protocol agents management" | ||
depends on ARM_SCMI_BASE_EXT_REV | ||
default n | ||
help | ||
Enable support for SCMI base protocol agents management helper functions. | ||
It enables support for SCMI base protocol messages: | ||
- BASE_DISCOVER_AGENT | ||
- BASE_SET_DEVICE_PERMISSIONS | ||
- BASE_RESET_AGENT_CONFIGURATION | ||
|
||
config ARM_SCMI_RESET_HELPERS | ||
bool "Helper functions for SCMI reset protocol" | ||
default y | ||
depends on DT_HAS_ARM_SCMI_RESET_ENABLED | ||
help | ||
Enable support for SCMI reset protocol helper functions. |
Oops, something went wrong.
Oops, something went wrong.
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.
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.
can probably simplify to
default y if
DT_HAS_ARM_SCMI_SMC_ENABLED||
DT_HAS_ARM_SCMI_SMC_PARAM_ENABLED`