Commit graph

9 commits

Author SHA1 Message Date
Nava kishore Manne
5125df28f8 hdcp1x: Added @addtogroup tag with appropriate version information
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-14 11:39:31 +05:30
Andrei-Liviu Simion
3662d31b97 hdcp1x: Exposed register definitions for the core.
- Renamed xhdcp1x_cipher_hw.h to xhdcp1x_hw.h
- Moved low-level macros to the new xhdcp1x_hw.h file.
- Included xhdcp1x_hw.h in xhdcp1x.h, exposing register definitions
to the user.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:40:26 +05:30
Andrei-Liviu Simion
ec723f1f41 hdcp1x: Modified macros and removed duplication.
- Macros to follow format of other drivers.
- Raw read and writes act upon the base address.
- Removed IsTX, IsRX, IsHDMI, and IsDP since these macros were acting
on the software and there are already associated macros for checking
the hardware. To remove confusion InstancePtr->Config.Is* is used
instead.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:40:11 +05:30
Andrei-Liviu Simion
c6d40dccdd hdcp1x: Single self-test function.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:39:44 +05:30
Andrei-Liviu Simion
f42ac7cd82 hdcp1x: Converged CfgInitialize to one top-level.
Initialization functions for the cipher, port, and directions are now invoked
from within the XHdcp1x_CfgInitialize function directly.

No need to do check for inconsistencies between HW and SW for protocol and
direction because this scenario will never happen unless SDK generates the
xparameters.h incorrectly. The self test is the more appropriate place for this
check.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:39:23 +05:30
Andrei-Liviu Simion
5edc951b10 hdcp1x: Cipher and port APIs to act on top-level.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:38:53 +05:30
Andrei-Liviu Simion
d565651a98 hdcp1x: Fixed compilation warnings and errors.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:37:51 +05:30
Andrei-Liviu Simion
01291541a5 hdcp1x: Modifications for Xilinx standalone coding style.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:37:36 +05:30
Dan Burke
328077ad8b hdcp1x: Initial release.
High-bandwidth Content Protection v1.x from Fidus Systems Inc.

Reviewed-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:37:24 +05:30