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

firmware: scmi: add base proto, scmi sample, smc/hvc transport and reset proto #78293

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/firmware/scmi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ zephyr_library_sources_ifdef(CONFIG_ARM_SCMI_MAILBOX_TRANSPORT mailbox.c)
zephyr_library_sources_ifdef(CONFIG_ARM_SCMI_SHMEM shmem.c)

# SCMI protocol helper files
zephyr_library_sources_ifdef(CONFIG_ARM_SCMI_BASE_HELPERS base.c)
zephyr_library_sources_ifdef(CONFIG_ARM_SCMI_CLK_HELPERS clk.c)
zephyr_library_sources_ifdef(CONFIG_ARM_SCMI_PINCTRL_HELPERS pinctrl.c)
24 changes: 24 additions & 0 deletions drivers/firmware/scmi/Kconfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,27 @@ config ARM_SCMI_PINCTRL_HELPERS
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
Copy link
Collaborator

Choose a reason for hiding this comment

The 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
Loading