File tree Expand file tree Collapse file tree 4 files changed +22
-0
lines changed
drivers/firmware/arm_scmi Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,13 @@ enum scmi_base_protocol_cmd {
14
14
BASE_DISCOVER_LIST_PROTOCOLS = 0x6 ,
15
15
BASE_DISCOVER_AGENT = 0x7 ,
16
16
BASE_NOTIFY_ERRORS = 0x8 ,
17
+ BASE_SET_DEVICE_PERMISSIONS = 0x9 ,
18
+ BASE_SET_PROTOCOL_PERMISSIONS = 0xa ,
19
+ BASE_RESET_AGENT_CONFIGURATION = 0xb ,
20
+ };
21
+
22
+ enum scmi_base_protocol_notify {
23
+ BASE_ERROR_EVENT = 0x0 ,
17
24
};
18
25
19
26
struct scmi_msg_resp_base_attributes {
Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ enum scmi_performance_protocol_cmd {
27
27
PERF_DESCRIBE_FASTCHANNEL = 0xb ,
28
28
};
29
29
30
+ enum scmi_performance_protocol_notify {
31
+ PERFORMANCE_LIMITS_CHANGED = 0x0 ,
32
+ PERFORMANCE_LEVEL_CHANGED = 0x1 ,
33
+ };
34
+
30
35
struct scmi_opp {
31
36
u32 perf ;
32
37
u32 power ;
Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ enum scmi_power_protocol_cmd {
12
12
POWER_STATE_SET = 0x4 ,
13
13
POWER_STATE_GET = 0x5 ,
14
14
POWER_STATE_NOTIFY = 0x6 ,
15
+ POWER_STATE_CHANGE_REQUESTED_NOTIFY = 0x7 ,
16
+ };
17
+
18
+ enum scmi_power_protocol_notify {
19
+ POWER_STATE_CHANGED = 0x0 ,
20
+ POWER_STATE_CHANGE_REQUESTED = 0x1 ,
15
21
};
16
22
17
23
struct scmi_msg_resp_power_attributes {
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ enum scmi_sensor_protocol_cmd {
14
14
SENSOR_READING_GET = 0x6 ,
15
15
};
16
16
17
+ enum scmi_sensor_protocol_notify {
18
+ SENSOR_TRIP_POINT_EVENT = 0x0 ,
19
+ };
20
+
17
21
struct scmi_msg_resp_sensor_attributes {
18
22
__le16 num_sensors ;
19
23
u8 max_requests ;
You can’t perform that action at this time.
0 commit comments