From 2dec77bf656d2fa360f782777ba5afa815839dec Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Fri, 12 May 2017 00:44:56 -0700 Subject: drivers/misc: make the HDCP lib a standalone driver Currently the hdcp lib doesn't have a context and just acts as a lib for HDCP compliant interfaces like HDMI and Display Port. Make this lib a standalone driver capable of supporting sysfs nodes to make communication with other modules like TZ easier and less roundabout. Change-Id: If693a9d4c8561e6d8c94e236a0fc108c8a65c05e Signed-off-by: Abhinav Kumar --- drivers/misc/hdcp.c | 256 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 256 insertions(+) (limited to 'drivers') diff --git a/drivers/misc/hdcp.c b/drivers/misc/hdcp.c index 6dabb92bc8ce..77ce6b34503c 100644 --- a/drivers/misc/hdcp.c +++ b/drivers/misc/hdcp.c @@ -12,10 +12,13 @@ #define pr_fmt(fmt) "%s: " fmt, __func__ +#include #include #include #include #include +#include +#include #include #include #include @@ -30,9 +33,26 @@ #include #include #include +#include +#include