summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/firmware.h
diff options
context:
space:
mode:
authorViresh Kumar2016-06-30 17:54:00 +0200
committerAlex Elder2016-07-07 00:51:32 +0200
commite3eda54d0b5fef23957cc4f586f4b44fd223c881 (patch)
treeb119ef76cfaa147d7d71d8c6ca7284503ae3f04d /drivers/staging/greybus/firmware.h
parentgreybus: camera: Fix size of configure_streams(0) (diff)
downloadkernel-qcow2-linux-e3eda54d0b5fef23957cc4f586f4b44fd223c881.tar.gz
kernel-qcow2-linux-e3eda54d0b5fef23957cc4f586f4b44fd223c881.tar.xz
kernel-qcow2-linux-e3eda54d0b5fef23957cc4f586f4b44fd223c881.zip
greybus: Add Component Authentication Protocol support
This patch adds Component Authentication Protocol support in greybus. The purpose of the CAP protocol is to authenticate the Module hardware, and it can only be used when it is present as part of the firmware-management bundle, on a separate CPort. Compile tested only. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Jun Li <li_jun@projectara.com> Tested-by: Jun Li <li_jun@projectara.com> Signed-off-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'drivers/staging/greybus/firmware.h')
-rw-r--r--drivers/staging/greybus/firmware.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/staging/greybus/firmware.h b/drivers/staging/greybus/firmware.h
index a82d0203971b..fb955379cfe4 100644
--- a/drivers/staging/greybus/firmware.h
+++ b/drivers/staging/greybus/firmware.h
@@ -25,4 +25,10 @@ int gb_fw_download_request_handler(struct gb_operation *op);
int gb_fw_download_connection_init(struct gb_connection *connection);
void gb_fw_download_connection_exit(struct gb_connection *connection);
+/* CAP Protocol specific functions */
+int cap_init(void);
+void cap_exit(void);
+int gb_cap_connection_init(struct gb_connection *connection);
+void gb_cap_connection_exit(struct gb_connection *connection);
+
#endif /* __FIRMWARE_H */