Commit graph

634 commits

Author SHA1 Message Date
Andrei-Liviu Simion
d94ec8f60e dptx: Updated Doxygen documentation.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:12 +05:30
Andrei-Liviu Simion
b37ecd25c7 dptx: Updated modification history.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:11 +05:30
Andrei-Liviu Simion
0c7ec45a82 dptx: Updated driver information in documentation.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:10 +05:30
Andrei-Liviu Simion
1ae5c266b8 dptx: Optimized some video calculations.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:10 +05:30
Andrei-Liviu Simion
a22e5d1367 dptx: Update to use common video library.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:09 +05:30
Andrei-Liviu Simion
25bab74b50 video_common: Updated Makefile.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:08 +05:30
Andrei-Liviu Simion
5d88b65e1c video_common: Consistency modifications.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:07 +05:30
Rohit Consul
86329977c8 video_common: Added a structure definition to represent a video window.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:06 +05:30
Rohit Consul
49899872e4 video_common: Added structure definition to represent a video stream.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:06 +05:30
Rohit Consul
28e98ff731 video_common: Added color conversion output range enumeration.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:05 +05:30
Rohit Consul
b2e71e7c25 video_common: Added color space conversion standards enumeration.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:04 +05:30
Rohit Consul
dcec31126a video_common: Added color space and chroma format enumeration.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:03 +05:30
Rohit Consul
c4eb0ecff4 video_common: Added data width enumeration.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:02 +05:30
Andrei-Liviu Simion
db1a8defe5 video_common: Added preferred timing mode (PTM) print to EDID example.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:01 +05:30
Andrei-Liviu Simion
8e002b3dbf video_common: Added EDID preferred timing mode to resolution support check.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:00 +05:30
Andrei-Liviu Simion
aec6a22d78 video_common: Added EDID parsing of the preferred timing mode (PTM).
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:00 +05:30
Andrei-Liviu Simion
bd41eea206 video_common: Fixed some video timings.
A few DMT resolutions use borders which weren't being taken into account for
the horizontal and vertical total.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:59 +05:30
Andrei-Liviu Simion
6c95d14f38 video_common: Fixed some video timing table entries. Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com> 2015-04-26 10:31:58 +05:30
Andrei-Liviu Simion
2d04e222e0 video_common: Added Makefile and updated MDD for compilation.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:57 +05:30
Andrei-Liviu Simion
f9b1241689 video_common: Merged video mode tables.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:56 +05:30
Andrei-Liviu Simion
da4deba46a video_common: Added EDID standard timings to resolution support check.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:56 +05:30
Andrei-Liviu Simion
d43640ecf6 video_common: Modified frame rate enumerations to equal their real values.
For more robust use in applications and drivers.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:55 +05:30
Andrei-Liviu Simion
5ea8a4237e video_common: Added a function to check if a given resolution is supported.
Only checking established timings for now.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:54 +05:30
Andrei-Liviu Simion
1c1725f010 video_common: Added additional frame rates to the enumeration.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:53 +05:30
Andrei-Liviu Simion
e10c5b0ec2 video_common: Validity check in EDID example for standard timings parsing.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:53 +05:30
Andrei-Liviu Simion
8c7507f4f2 video_common: Took out the DisplayID parsing for now.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:52 +05:30
Andrei-Liviu Simion
60cde56abe video_common: Added EDID example that prints decoded information.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:51 +05:30
Andrei-Liviu Simion
1cc0680b63 video_common: Clean-up new video timings.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:50 +05:30
Rohit Consul
4be8a02803 video_common: Added video timings.
Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
2015-04-26 10:31:49 +05:30
Andrei-Liviu Simion
528c43c8f0 video_common: Moved DMT table into generic timing table.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:48 +05:30
Andrei-Liviu Simion
3270234112 video_common: Added initial EDID parser.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:47 +05:30
Andrei-Liviu Simion
1ee87f6b12 video_common: Added display monitor timings (DMT).
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:46 +05:30
Andrei-Liviu Simion
2b2f1a2fa6 video_common: Added header file skeleton.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:45 +05:30
Andrei-Liviu Simion
06dab8da03 video_common: Initial commit - add MDD file.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:44 +05:30
Andrei-Liviu Simion
942a00d5c0 dptx: Stream indices now start at 1 rather than 0.
Following the naming convention used in the IP product guide and the IP
hardware.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:43 +05:30
Andrei-Liviu Simion
e63417da3e dptx: Fixed a bit mask.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:42 +05:30
Andrei-Liviu Simion
4c0b1bdaee dptx: Added parameter comment to XDptx_SetVswingPreemp function header.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:41 +05:30
Andrei-Liviu Simion
375c80052a dptx: Preserve main link enable status while link training.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:41 +05:30
Andrei-Liviu Simion
dc83ef949f dptx: Modified the asserts for the establish link function.
Since the check link status function is no longer being called within the
establish link function, some additional assertions need to be done.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:40 +05:30
Andrei-Liviu Simion
29af856045 dptx: Optimized burst AUX writes.
Use burst writes when possible.
- Detached writing the voltage swing and preemphasis settings to the core from
writing to the sink using AUX writes. Now, a pointer to an array is taken as an
argument and the array is modified with the data to write over AUX. This allows
preparation of a burst write when the voltage swing and preemphasis settings can
be written at the same time as another adjacent DPCD access.

The scrambler is now enabled/disabled while writing the training patterns.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:39 +05:30
Andrei-Liviu Simion
431de2ef88 dptx: Force retrain when the establish link function is called.
Previously, the establish link function was checking the status of all lanes and
only retraining if the link isn't trained. This results in no retraining if the
application reduces the lane count.

The link should always be retrained on a change in lane count.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:38 +05:30
Andrei-Liviu Simion
bba7e0e8d3 dptx: Waiting for the PHY to come out of reset based on lane count.
Previously, the PHY status for all lanes was being checked. This results in the
driver thinking that the PHY never comes out of reset if the core is limited to
a maximum lane count of 1 or 2 at the time the core is initialized.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:37 +05:30
Andrei-Liviu Simion
f2498c9273 dptx: Mask interrupts while they are being serviced.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:36 +05:30
Andrei-Liviu Simion
b303829cdd dptx: Increased HPD pulse duration to 0.500 ms to allow for debouncing.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:35 +05:30
Andrei-Liviu Simion
fff069f3e4 dptx: Reduced the RX capability read to 16 bytes.
No need to read and store unused capability information by the driver.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:35 +05:30
Andrei-Liviu Simion
de578f8a0e dptx: Synchronized argument naming between function declarations/definitions.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:31:34 +05:30
Kedareswara rao Appana
dde2a43ce3 dma: Add self-test API to the driver source files.
This patch modifies the axi dma and axi vdma driver
to add the sefltest api  to the driver source files
and call this from the selftest example's.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-04-26 10:31:33 +05:30
Kinjal Pravinbhai Patel
2172ef7817 drivers: scugic: change tcl and mdd for zynqmp support
This patch modifies scugic tcl and mdd files for zynqmp support

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:31:32 +05:30
Nava kishore Manne
f1cf839b03 lwip: Add support for lwip141 stack
This patch add's support for lwip141 stack
added new version of the lwip141_v1_0 and
deprecated the older version.

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-04-26 10:31:31 +05:30
Venkata Naga Sai Krishna Kolapalli
47485f7daa dmaps : Modified logic in "if statement"
This patch fixes the error logic in the if statement.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-26 10:31:30 +05:30