7#ifndef ZEPHYR_INCLUDE_DRIVERS_FIRMWARE_SCMI_BASE_H_
8#define ZEPHYR_INCLUDE_DRIVERS_FIRMWARE_SCMI_BASE_H_
26#define SCMI_BASE_PROTOCOL_SUPPORTED_VERSION 0x20001
29#define SCMI_BASE_AGENT_ID_OWN 0xFFFFFFFF
Header file for the SCMI (System Control and Management Interface) driver API.
int scmi_base_reset_agent_cfg(uint32_t agent_id, bool reset_perm)
SCMI base protocol reset platform resource settings that were configured by an agent.
int scmi_base_get_num_agents(uint8_t *num_agents)
SCMI base protocol get agents number.
int scmi_base_get_platform_info(struct scmi_platform_info *rev)
SCMI base protocol get platform information.
int scmi_base_device_permission(uint32_t agent_id, uint32_t device_id, bool allow)
SCMI base protocol set an agent permissions to access devices.
int scmi_base_discover_agent(uint32_t agent_id, struct scmi_agent_info *agent_inf)
SCMI base protocol discover the name of an agent and agent id.
#define SCMI_SHORT_NAME_MAX_SIZE
Maximum size of strings to describe SCMI names, including NUL terminator.
Definition protocol.h:29
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
SCMI base protocol agent info.
Definition base.h:52
uint32_t agent_id
Identifier for the agent.
Definition base.h:54
char name[16]
Null terminated ASCII string of up to 16 bytes in length.
Definition base.h:56