Commit graph

865 commits

Author SHA1 Message Date
Andrei-Liviu Simion
9fbce794b4 video_common: Added new timings for resolutions.
Interlaced:
- 1440x480 @ 60Hz
- 1440x576 @ 50Hz

Progressive:
- 1440x240 @ 60Hz
- 1680x720 @ 50Hz,60Hz,100Hz,120Hz
- 1680x1050 @ 50Hz
- 1920x1080 @ 100Hz,120Hz
- 2560x1080 @ 50Hz,60Hz,100Hz,120Hz
- 4096x2160 @ 24Hz,25Hz,30Hz,50Hz,60Hz

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:18:01 +05:30
Andrei-Liviu Simion
4b989a1221 hdcp1x: cipher: Fixed disable function for unplug scenario.
During an unplug event, the clock may not be stable which will
cause the disable function to stall.

Removing the wait for the encryption function to finish after the
cipher has been disabled will not affect functionality.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:17:49 +05:30
Andrei-Liviu Simion
ea3f5c9215 hdcp1x: Added an API to check the traffic's encryption status.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:17:39 +05:30
Andrei-Liviu Simion
71c5daf609 hdcp1x: cipher: No need to use a wrapper function around enable/disable.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:17:24 +05:30
Andrei-Liviu Simion
c76fca1e0f hdcp1x: Added local KSV debug to the info print.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:16:59 +05:30
Punnaiah Choudary Kalluri
ee8bf3f411 nandpsu: Remove QEMU specific workarounds
Now the QEMU nand model supports extended parameter page
information. So, removing the QEMU specific hacks from the
driver.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Acked-by: Sai Pavan Boddu <saipava@xilinx.com>
2015-08-18 15:58:16 +05:30
P L Sai Krishna
0cdc67eb82 spips: Modified the examples to support peripheral tests.
This patch modifies the examples such that peripheral tests
will include spips.
Modified API prototypes.
Added TESTAPP macro checks.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-08-18 12:25:40 +05:30
P L Sai Krishna
d81bd4063a spips: Added polled, interrupt tests in peripheral tests.
This patch changes testapp tcl file to add polled and
interrupt tests in peripheral tests.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-08-18 12:24:40 +05:30
P L Sai Krishna
a1f6e45ede iicps: Modified the examples to support peripheral tests.
This patch modifies the examples such that these examples
will run smoothly in peripheral tests.
Modified the API prototypes.
Added TESTAPP macro checks.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-08-18 12:23:28 +05:30
P L Sai Krishna
fed6612c67 iicps: Added polled, interuupt tests in peripheral test.
This patch modifies the testapp tcl file to add polled
and interrupt tests in peripheral tests.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-08-18 12:18:18 +05:30
Shadul Shaikh
894b8a57a8 video_common: Removed extra DP159 register programming
This patch does
	- add bit error count function,
	- remove extra DP159 programming as per DP159 programming guide,
	- modify DP159 enum config type.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-18 11:24:18 +05:30
P L Sai Krishna
b7424e35f0 sdps: Removed alignment for local variables.
This patch removes alignment for local variables
which is not necessary.Iar compiler does not allow
alignment to local variables.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-08-14 12:25:50 +05:30
Nava kishore Manne
396482866c ddrps: 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:40:13 +05:30
Nava kishore Manne
2a9dd94f2e dp: 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:40:04 +05:30
Nava kishore Manne
a8d64830d6 dprxss: 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:52 +05:30
Nava kishore Manne
a8a21ab14d dptxss: 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:43 +05:30
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
Nava kishore Manne
70b838978e intc: 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:20 +05:30
Nava kishore Manne
1fb0b91e37 vprocss: 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:10 +05:30
Nava kishore Manne
c188bcc141 scugic: 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:38:58 +05:30
Nava kishore Manne
c1968cdda3 axiethernet: 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:37:45 +05:30
Shadul Shaikh
c04ad88a10 dprxss: Added examples for new driver DisplayPort Receiver Subsystem
This patch adds examples for driver DisplayPort Receiver Subsystem

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-11 22:37:08 +05:30
Shadul Shaikh
a540e65ca9 dprxss: Added new driver DisplayPort Receiver Subsystem
This patch adds DisplayPort Receiver Subsystem (dprxss) driver.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-11 22:36:23 +05:30
Harini Katakam
ce83a9b664 emacps: Update upper 32 bits of queue pointer address
For 64 bit address, upper 32 bits should be updated in respective
TX and RX queue pointer registers. For tx, typecast with u32 should not
be there; remove it. For rx, update the correspondign register.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-08-11 15:27:35 +05:30
Nava kishore Manne
6066ca5b0b Remove the interrupt related prints.
Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
2015-08-10 19:26:14 +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
27ad901f1d hdcp1x: Fixed internal API naming.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:39:58 +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
4157a3516d hdcp1x: Removed common structure and duplications.
Keep commonality in the top-level instance core structure.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:39:11 +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
260237c241 hdcp1x: RX and TX state machine 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:40 +05:30
Andrei-Liviu Simion
86b9f04fd3 hdcp1x: Added top-level config structure.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:38:29 +05:30
Andrei-Liviu Simion
4f0202854d hdcp1x: Optimized LookupConfig.
The way the CfgPtr is now consistent with the rest of the drivers.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:38:16 +05:30
Andrei-Liviu Simion
251c4f8ccd hdcp1x: Removed unused static function.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:38:04 +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
Kinjal Pravinbhai Patel
996bc03be6 drivers: scugic: Added prints to xscugic_tapp_example for regression
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-10 14:27:00 +05:30
Anurag Kumar Vulisha
802c5387a3 vdma: updated modifation history in xaxivdma.h
This patch updates the modification history on the axivdma.h to reflect the
support for 64 bit addressing.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-10 14:17:34 +05:30
Naga Sureshkumar Relli
ed58a06183 iomodule: Fix for iomodule external vector interrupts.
This patch handles iomodule external vector interrupts.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-10 14:16:52 +05:30
Rohit Consul
4037beef4a vprocss: Fixed PIP background color in supported video formats
-Bug fix for wrong pip background color when video format is
 changed
-Input stream color depth and pixel/clock must be overwritten
 by subsystem as these are not run time configurable
-Deinterlacer supports 480i/576i and 1080i. removed constraint
 for 1080i support only
-Updated mdd file to reflect new drivers versions -
  video_common_v2.0 and  axivdma_v6.0, in dependency list

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
2015-08-10 14:15:28 +05:30
Rohit Consul
6197ed604e v_vscaler: Update dependency driver version in mdd
Updated video common version to 2.0 to reflect new driver in repo

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:14:45 +05:30
Rohit Consul
bbbb4d5ef6 v_vcresampler: Update dependency driver version in mdd
Updated video common version to 2.0 to reflect new driver in repo
Removed hls generated comments in makefile

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:14:36 +05:30
Rohit Consul
400437fb0e v_letterbox: Bug fix video format update
-When setting up background color the video format should be
 updated to the current stream format. This not being done
 resulting in wrong colors in various color format inputs
-Updated video common version to 2.0 to reflect new driver in repo
-Removed hls generated comments in makefile

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:14:27 +05:30
Rohit Consul
206cf0e392 v_hscaler: Update dependency driver version
Updated video common version to 2.0 to reflect new driver in repo
Removed hls generated comments in makefile

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:14:18 +05:30
Rohit Consul
2d6a435b97 v_hcresampler: Update dependency driver version
Updated video common version to 2.0 to reflect new driver in repo
Removed hls generated comments in makefile

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:14:07 +05:30
Rohit Consul
bd4db0d1d2 v_deinterlacer: Update dependency driver version
Updated video common version to 2.0 to reflect new driver in repo
Removed hls generated comments in makefile
Added width and height to debug API

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:13:54 +05:30
Rohit Consul
10d5ad3858 v_csc: Update dependency driver version
Updated video common version to 2.0 to reflect new driver in repo
Removed hls generated comments in makefile

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:13:16 +05:30