12#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_CPU_H_
13#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_CPU_H_
16#if __has_include("scmi_cpu_soc.h")
17#include <scmi_cpu_soc.h>
20#define SCMI_CPU_SLEEP_FLAG_IRQ_MUX 0x1U
22#define SCMI_PROTOCOL_CPU_DOMAIN 130
24#define SCMI_CPU_MAX_PDCONFIGS_T 7U
int scmi_cpu_pd_lpm_set(struct scmi_cpu_pd_lpm_config *cfg)
Send the SCMI_CPU_DOMAIN_MSG_CPU_PD_LPM_CONFIG_SET command and get its reply.
#define SCMI_CPU_MAX_PDCONFIGS_T
Definition cpu.h:24
scmi_cpu_domain_message
CPU domain protocol command message IDs.
Definition cpu.h:58
@ SCMI_CPU_DOMAIN_MSG_CPU_PD_LPM_CONFIG_SET
Definition cpu.h:69
@ SCMI_CPU_DOMAIN_MSG_PROTOCOL_ATTRIBUTES
Definition cpu.h:60
@ SCMI_CPU_DOMAIN_MSG_CPU_START
Definition cpu.h:63
@ SCMI_CPU_DOMAIN_MSG_CPU_STOP
Definition cpu.h:64
@ SCMI_CPU_DOMAIN_MSG_CPU_IRQ_WAKE_SET
Definition cpu.h:67
@ SCMI_CPU_DOMAIN_MSG_PROTOCOL_VERSION
Definition cpu.h:59
@ SCMI_CPU_DOMAIN_MSG_CPU_DOMAIN_ATTRIBUTES
Definition cpu.h:62
@ SCMI_CPU_DOMAIN_MSG_CPU_SLEEP_MODE_SET
Definition cpu.h:66
@ SCMI_CPU_DOMAIN_MSG_CPU_NON_IRQ_WAKE_SET
Definition cpu.h:68
@ SCMI_CPU_DOMAIN_MSG_NEGOTIATE_PROTOCOL_VERSION
Definition cpu.h:72
@ SCMI_CPU_DOMAIN_MSG_CPU_PER_LPM_CONFIG_SET
Definition cpu.h:70
@ SCMI_CPU_DOMAIN_MSG_CPU_INFO_GET
Definition cpu.h:71
@ SCMI_CPU_DOMAIN_MSG_CPU_RESET_VECTOR_SET
Definition cpu.h:65
@ SCMI_CPU_DOMAIN_MSG_PROTOCOL_MESSAGE_ATTRIBUTES
Definition cpu.h:61
int scmi_cpu_sleep_mode_set(struct scmi_cpu_sleep_mode_config *cfg)
Send the CPU_SLEEP_MODE_SET command and get its reply.
SCMI protocol generic functions and structures.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Describes cpu power domain low power mode setting.
Definition cpu.h:49
uint32_t cpu_id
Definition cpu.h:50
struct scmi_pd_lpm_settings cfgs[7U]
Definition cpu.h:52
uint32_t num_cfg
Definition cpu.h:51
Describes the parameters for the CPU_STATE_SET command.
Definition cpu.h:32
uint32_t sleep_mode
Definition cpu.h:35
uint32_t flags
Definition cpu.h:34
uint32_t cpu_id
Definition cpu.h:33
uint32_t ret_mask
Definition cpu.h:41
uint32_t lpm_setting
Definition cpu.h:40
uint32_t domain_id
Definition cpu.h:39