summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/include/test/drivers/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/drivers/include/test/drivers/utils.h')
-rw-r--r--zephyr/test/drivers/include/test/drivers/utils.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/zephyr/test/drivers/include/test/drivers/utils.h b/zephyr/test/drivers/include/test/drivers/utils.h
index b476e4e322..a97e527a90 100644
--- a/zephyr/test/drivers/include/test/drivers/utils.h
+++ b/zephyr/test/drivers/include/test/drivers/utils.h
@@ -237,6 +237,17 @@ int host_cmd_motion_sense_data(uint8_t sensor_num,
struct ec_response_motion_sense *response);
/**
+ * @brief Call the host command MOTION_SENSE with the info sub-command
+ *
+ * @param cmd_version The command version
+ * @param sensor_num The sensor index in the motion_sensors array to query
+ * @param response Pointer to the response data structure to fill on success
+ * @return The result code from the host command
+ */
+int host_cmd_motion_sense_info(uint8_t cmd_version, uint8_t sensor_num,
+ struct ec_response_motion_sense *response);
+
+/**
* Run the host command to get the PD discovery responses.
*
* @param port The USB-C port number