History

firmware: arm_scmi: Add asynchronous sensor read if it supports

SENSOR_DESCRIPTION_GET provides attributes to indicate if the sensor supports asynchronous read. We can read that flag and use asynchronous reads for any sensors with that attribute set. Let's use the new scmi_do_xfer_with_response to support asynchronous sensor reads.

Sudeep Holla committed 7 years ago

Commit d09aac01 parent 6a553312 files · +24 −8Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/scmi_protocol.h+2−0
@@ -145,6 +145,8 @@ struct scmi_sensor_info { · 144 unmodified lines
145145 u32 id;
146146 u8 type;
147147 s8 scale;
148+ u8 num_trip_points;
149+ bool async;
148150 char name[SCMI_MAX_STR_SIZE];
149151 };
150152

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t