diff mbox series

[2/7] firmware: xlnx-zynqmp: Add request ack enums

Message ID 1534403190-28523-3-git-send-email-jliang@xilinx.com (mailing list archive)
State New, archived
Headers show
Series Add Xilinx ZynqMP R5 remoteproc driver | expand

Commit Message

Jiaying Liang Aug. 16, 2018, 7:06 a.m. UTC
Add firmware request ack enums which will be used in firmware
request calls.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
---
 include/linux/firmware/xlnx-zynqmp.h | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h
index 9c4258f..e3b7292 100644
--- a/include/linux/firmware/xlnx-zynqmp.h
+++ b/include/linux/firmware/xlnx-zynqmp.h
@@ -32,6 +32,12 @@ 
 /* Number of 32bits values in payload */
 #define PAYLOAD_ARG_CNT	4U
 
+enum zynqmp_pm_request_ack {
+	ZYNQMP_PM_REQUEST_ACK_NO = 1,
+	ZYNQMP_PM_REQUEST_ACK_BLOCKING,
+	ZYNQMP_PM_REQUEST_ACK_NON_BLOCKING,
+};
+
 enum pm_api_id {
 	PM_GET_API_VERSION = 1,
 	PM_IOCTL = 34,