mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
firmware: arm_scmi: Add SCMI v3.1 System Power extensions
Add support for SCMIv3.1 System Power optional timeout field while dispatching SYSTEM_POWER_STATE_NOTIFIER notification. Link: https://lore.kernel.org/r/20220704101933.2981635-3-cristian.marussi@arm.com Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
This commit is contained in:
parent
a0db3962fb
commit
7097f29819
2 changed files with 18 additions and 1 deletions
|
@ -781,8 +781,10 @@ struct scmi_clock_rate_notif_report {
|
|||
struct scmi_system_power_state_notifier_report {
|
||||
ktime_t timestamp;
|
||||
unsigned int agent_id;
|
||||
#define SCMI_SYSPOWER_IS_REQUEST_GRACEFUL(flags) ((flags) & BIT(0))
|
||||
unsigned int flags;
|
||||
unsigned int system_state;
|
||||
unsigned int timeout;
|
||||
};
|
||||
|
||||
struct scmi_perf_limits_report {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue