Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65935363 authored by Tatenda Chipeperekwa's avatar Tatenda Chipeperekwa
Browse files

drivers/misc: add HDCP 2.2 driver



Implement the HDCP 2.2 feature for external interfaces such as
the DisplayPort interface. The HDCP 2.2 driver manages the
authentication process by initiating message exchange between
the external interface (Receiver) and the QTI Secure Execution
Environment (QSEE).

This implementation is based on a snapshot of the HDCP 2.2 driver
as of this commit If693a9d4c8561 ("drivers/misc: make the HDCP lib
a standalone driver") on kernel-4.4.

CRs-Fixed: 2057884
Change-Id: Ic63c1490fa6bdfbd0c251c8caf395c9f3d5059b8
Signed-off-by: default avatarTatenda Chipeperekwa <tatendac@codeaurora.org>
parent 70be28c9
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
MSM HDCP driver

Standalone driver managing HDCP related communications
between TZ and HLOS for MSM chipset.

Required properties:

compatible = "qcom,msm-hdcp";

Example:

qcom_msmhdcp: qcom,msm_hdcp {
       compatible = "qcom,msm-hdcp";
};
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ config DRM_MSM
	select QCOM_SCM
	select SND_SOC_HDMI_CODEC if SND_SOC
	select SYNC_FILE
	select HDCP_QSEECOM
	default y
	help
	  DRM/KMS driver for MSM/snapdragon.
+9 −0
Original line number Diff line number Diff line
@@ -479,6 +479,15 @@ config SRAM
	  the genalloc API. It is supposed to be used for small on-chip SRAM
	  areas found on many SoCs.

config HDCP_QSEECOM
	tristate "QTI High-Bandwidth Digital Content Protection Module"
	help
	  This module implements HDCP 2.2 features over external interfaces
	  such as the DisplayPort interface. It exposes APIs for the interface
	  driver to communicate with QTI Secure Execution Environment (QSEE)
	  via the QSEECOM Driver and also communicates with the Receiver via
	  APIs exposed by the interface driver.

config QSEECOM
        tristate "QTI Secure Execution Communicator driver"
        help
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ obj-$(CONFIG_LATTICE_ECP3_CONFIG) += lattice-ecp3-config.o
obj-$(CONFIG_SRAM)		+= sram.o
obj-y				+= mic/
obj-$(CONFIG_GENWQE)		+= genwqe/
obj-$(CONFIG_HDCP_QSEECOM)	+= hdcp.o
obj-$(CONFIG_QSEECOM)		+= qseecom.o
obj-$(CONFIG_ECHO)		+= echo/
obj-$(CONFIG_VEXPRESS_SYSCFG)	+= vexpress-syscfg.o

drivers/misc/hdcp.c

0 → 100644
+2549 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading