From 4f37c66dfa0c017fbefebc2db3e507cd62f9ee45 Mon Sep 17 00:00:00 2001 From: Shivaprasad Hongal Date: Tue, 7 Jun 2016 19:05:19 -0700 Subject: msm: misc: hdcp: add hdcp support for display port hdcp_library_register API now accepts device type. Based on the device type passed, hdcp driver would open the corresponding device session in trusted application. CRs-Fixed: 1027136 Change-Id: Ia1a72138967a3806253f8431b36af71eaabe816d Signed-off-by: Shivaprasad Hongal --- include/linux/hdcp_qseecom.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/linux') diff --git a/include/linux/hdcp_qseecom.h b/include/linux/hdcp_qseecom.h index d9835193961e..26e97700fc73 100644 --- a/include/linux/hdcp_qseecom.h +++ b/include/linux/hdcp_qseecom.h @@ -108,9 +108,15 @@ struct hdcp_client_ops { int (*wakeup)(struct hdmi_hdcp_wakeup_data *data); }; +enum hdcp_device_type { + HDCP_TXMTR_HDMI = 0x8001, + HDCP_TXMTR_DP = 0x8002 +}; + struct hdcp_register_data { struct hdcp_client_ops *client_ops; struct hdcp_txmtr_ops *txmtr_ops; + enum hdcp_device_type device_type; void *client_ctx; void **hdcp_ctx; bool tethered; -- cgit v1.2.3