From: Peng Fan <[email protected]>

Add PERF protocol ID.

Signed-off-by: Peng Fan <[email protected]>
Signed-off-by: Alice Guo <[email protected]>
Reviewed-by: Ye Li <[email protected]>
---
 include/scmi_protocols.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/include/scmi_protocols.h b/include/scmi_protocols.h
index e25d94ab5b..43b66be00a 100644
--- a/include/scmi_protocols.h
+++ b/include/scmi_protocols.h
@@ -1058,4 +1058,22 @@ struct scmi_pinctrl_config_set_out {
        s32 status;
 };
 
+/* SCMI Perf Protocol */
+enum scmi_perf_message_id {
+       SCMI_PERF_DOMAIN_ATTRIBUTES = 0x3,
+       SCMI_PERF_DESCRIBE_LEVELS = 0x4,
+       SCMI_PERF_LIMITS_SET = 0x5,
+       SCMI_PERF_LIMITS_GET = 0x6,
+       SCMI_PERF_LEVEL_SET = 0x7,
+       SCMI_PERF_LEVEL_GET = 0x8
+};
+
+struct scmi_perf_in {
+       u32 domain_id;
+       u32 perf_level;
+};
+
+struct scmi_perf_out {
+       s32 status;
+};
 #endif /* _SCMI_PROTOCOLS_H */
-- 
2.34.1

Reply via email to