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 powercap fast channels support
Add SCMIv3.1 powercap protocol fast channel support using common helpers provided by the SCMI core with scmi_proto_helpers_ops operations. Link: https://lore.kernel.org/r/20220704102241.2988447-5-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
6f9ea4dabd
commit
855aa26e5f
2 changed files with 138 additions and 33 deletions
|
@ -601,6 +601,7 @@ struct scmi_powercap_info {
|
|||
bool powercap_pai_config;
|
||||
bool powercap_scale_mw;
|
||||
bool powercap_scale_uw;
|
||||
bool fastchannels;
|
||||
char name[SCMI_MAX_STR_SIZE];
|
||||
unsigned int min_pai;
|
||||
unsigned int max_pai;
|
||||
|
@ -612,6 +613,7 @@ struct scmi_powercap_info {
|
|||
unsigned int accuracy;
|
||||
#define SCMI_POWERCAP_ROOT_ZONE_ID 0xFFFFFFFFUL
|
||||
unsigned int parent_id;
|
||||
struct scmi_fc_info *fc_info;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue