summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2022-02-17 13:12:33 +0000
committerSudeep Holla <sudeep.holla@arm.com>2022-02-21 10:36:48 +0000
commit18f295b758b227857133f680a397a42e83c62f3f (patch)
tree8c96238bd48578c97c080c4eddcf82f146e8a6cb /include
parentb7bd36f2e9430a58aefdc326f8e6653e9b000243 (diff)
downloadlinux-18f295b758b227857133f680a397a42e83c62f3f.tar.bz2
firmware: arm_scmi: Add support for clock_enable_latency
An SCMI platform can optionally advertise an enable latency typically associated with a specific clock resource: add support for parsing such optional message field and export such information in the usual publicly accessible clock descriptor. Link: https://lore.kernel.org/r/20220217131234.50328-8-cristian.marussi@arm.com Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/scmi_protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/scmi_protocol.h b/include/linux/scmi_protocol.h
index 306e576835f8..b87551f41f9f 100644
--- a/include/linux/scmi_protocol.h
+++ b/include/linux/scmi_protocol.h
@@ -42,6 +42,7 @@ struct scmi_revision_info {
struct scmi_clock_info {
char name[SCMI_MAX_STR_SIZE];
+ unsigned int enable_latency;
bool rate_discrete;
union {
struct {