Commit graph

1366 commits

Author SHA1 Message Date
Punnaiah Choudary Kalluri
e0f2230210 emacps: Correct the BD alignment for Gem module id 2
Corrected the BD alignment for Gem module id 2

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-02-03 09:38:49 +05:30
Punnaiah Choudary Kalluri
46e0e3d061 emacps: Corrected the extended descriptor macro values
Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-02-03 09:38:47 +05:30
Punnaiah Choudary Kalluri
40b4c18260 emacps: Use single bd to avoid multiple version checks
Modified to use single BD for both rx and tx for avoiding the
multiple version checks and probabaly create another example
for multiple BD processing.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-02-03 09:38:46 +05:30
Punnaiah Choudary Kalluri
96e7deaac4 emacps: Removed unnecessary comments
Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-02-03 09:38:45 +05:30
Punnaiah Choudary Kalluri
46e32da76f emacps: Restrict Alto GEM to 100mbps
Restrict the Alto GEM to 100mbps as no support in the current platfrom
for 1G.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-02-03 09:38:43 +05:30
Punnaiah Choudary Kalluri
d10f762a49 emacps: Remove PEEP board related code
Remove PEEP board related code.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-02-03 09:38:41 +05:30
Punnaiah Choudary Kalluri
70384a8fc5 emacps: Include examples only when interrupt line is configured
Don't include examples when interrupt is not connected

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-02-03 09:38:39 +05:30
Kedareswara rao Appana
47d14c6a7b sw_apps: echo_server: Add support for lwip141 stack
This patch updates the echo_server app to
use the lwip141 stack.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-02-02 16:37:16 +05:30
Kinjal Pravinbhai Patel
00216b146d drivers: cpu: hsi changes for hierarchical external interface names
updated cpu driver to use hsi::format_xparam_name to convert
hierarchical external interface names to valid compilable xparam names

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-02-02 16:37:08 +05:30
Kinjal Pravinbhai Patel
e15134c18b drivers: cpu_cortexa9: changes for hsi
updated driver to use hsi::utils::format_xparam_name to convert
hierarchical names to valid compilable xparameter names

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-02-02 16:37:07 +05:30
Andrei-Liviu Simion
c5d8647eff dptx: Only increment segment pointer if required.
It seems that monitors capable of MST, upon switching to SST mode in the monitor
options menu, respond with NACK when the segment pointer is written.
These same monitors ACK segment pointer writes when running in MST mode.
Tested monitors that are SST only monitors also ACK segment pointer writes.

The issue here is that MST monitors running in SST mode will error out when the
I2C read function is called because the segment pointer is always being written
to 0 (segment pointer is reset), and thus receives a NACK.
This patch prevents this from happening.

From now on, if the user changes the segment pointer, it is up to them to reset
it to 0.
The I2C read will only increment the segment pointer when required to do a read
outside of the base EDID block.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:19:49 +05:30
Andrei-Liviu Simion
be5ee89f69 dptx: Added additional video common related updates.
Added frame rate into DisplayPort calculations to follow updates for the
commone video driver.

Note, this is the deprecated TX-only driver for DisplayPort (the TX-only driver,
dptx_v3_0, and the unified TX-RX driver, dp_v1_0, are both released for 2015.1).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:19:14 +05:30
Andrei-Liviu Simion
52d8b3d97a dptx: Update to use common video driver.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:19:04 +05:30
Andrei-Liviu Simion
670e9b6bf8 dptx: Streams now start at index 1 instead of 0.
To follow the IP documentation.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:19:03 +05:30
Andrei-Liviu Simion
90a967f560 dptx: XDPTX_EDID_SIZE->XDPTX_EDID_BLOCK_SIZE.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:19:02 +05:30
Andrei-Liviu Simion
45f4190277 dptx: Update to use common video driver.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:18:59 +05:30
Andrei-Liviu Simion
ff73871ecf dptx: Deprecated v3_0.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:12:11 +05:30
Andrei-Liviu Simion
6166bb66ce dptx: Updated modification history.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:12:01 +05:30
Andrei-Liviu Simion
48b804bbc3 dptx: Updated driver information in documentation.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:11:57 +05:30
Andrei-Liviu Simion
26a0ecf69d dptx: Optimized some video calculations.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:11:54 +05:30
Andrei-Liviu Simion
b90371497e dptx: Update to use common video library.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:11:47 +05:30
Andrei-Liviu Simion
a63b398f31 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-02-02 15:10:02 +05:30
Andrei-Liviu Simion
b529cc05c6 dptx: Fixed a bit mask.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:09:58 +05:30
Andrei-Liviu Simion
b52732ead1 dptx: Added parameter comment to XDptx_SetVswingPreemp function header.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:09:54 +05:30
Andrei-Liviu Simion
4f25fdb51f dptx: Preserve main link enable status while link training.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:09:50 +05:30
Andrei-Liviu Simion
6647392766 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-02-02 15:09:47 +05:30
Andrei-Liviu Simion
155ed0f09a 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-02-02 15:09:35 +05:30
Andrei-Liviu Simion
0757da209c 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-02-02 15:09:28 +05:30
Andrei-Liviu Simion
3f97b78bf9 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-02-02 15:09:23 +05:30
Andrei-Liviu Simion
f852cf5805 dptx: Mask interrupts while they are being serviced.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:09:20 +05:30
Andrei-Liviu Simion
7e466af028 dptx: Increased HPD pulse duration to 0.500 ms to allow for debouncing.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:09:11 +05:30
Andrei-Liviu Simion
1c9f00c076 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-02-02 15:09:04 +05:30
Andrei-Liviu Simion
ede61d44cf dptx: Synchronized argument naming between function declarations/definitions.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-02 15:08:53 +05:30
Kedareswara rao Appana
82f9fb61a0 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-02-02 13:17:03 +05:30
VNSL Durga
8387de40a6 csudma_v1_0: Modified macros
Moacros are modified according to xparameters.h and
added index.html file in examples folder.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-02-02 13:16:10 +05:30
VNSL Durga
579aac4c11 csudma_v1_0: Modified macros
Macros are modified according to xparameters.h
and added makefile.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-02-02 13:16:09 +05:30
Kedareswara rao Appana
f2e84be10f 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: Kedareswara rao Appana <appanad@xilinx.com>
2015-02-02 13:15:52 +05:30
Venkata Naga Sai Krishna Kolapalli
c6c2fa31d6 dmaps_v2_1 : 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-02-02 13:15:38 +05:30
P L Sai Krishna
ed902e2307 iicps_v3_0: Modified the i2c according to MISRAC 2012.
This patch modifies the iicps driver according to MISRAC
2012 and it supports for both Zynq and Alto.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-02 12:03:39 +05:30
P L Sai Krishna
94f296d809 iicps_v3_0: Modified the examples for iic.
This patch modifies the examples for iicps so that it
will work for both zynq and Alto.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-02 12:03:32 +05:30
P L Sai Krishna
3f029f1c87 iicps_v3_0: Added new version for iicps.
This patch add new version for iicps driver which supports
both zynq and Alto.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-02 12:03:27 +05:30
Harini Katakam
4b2b01d3e5 qspipsu: Add driver for Alto Generic QSPI
Add driver for Alto Generic QSPI.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-01-22 18:49:43 +05:30
Kedareswara rao Appana
ce2a51897d vdma: update copy right information
This patch updates the copy right to 2015.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-01-22 18:49:29 +05:30
Kedareswara rao Appana
5df6bdeaf3 vdma: Added support for peripheral test
This patch  add's self test example for VDMA to include it on peripheral test.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-01-22 18:49:29 +05:30
Kedareswara rao Appana
9eee3825f1 vdma: Add axivdma_v5_1 and deprecate axivdma_v5_0
This patch add's new version of the axivdma driver
and deprecates the older version of the driver.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-01-22 18:49:29 +05:30
Kedareswara rao Appana
51002ab87d dma: update copy right information
This patch updates the copy right to 2015.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-01-22 18:49:27 +05:30
Kedareswara rao Appana
b6afcfe6da dma: Added support for peripheral test
This patch  add's self test example for DMA to include it on peripheral test.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-01-22 18:49:26 +05:30
Kedareswara rao Appana
0f604c9902 dma: Add axidma_v8_1 and deprecate axidma_v8_0
This patch add's new version of the axidma driver
and deprecates the older version of the driver.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-01-22 18:49:26 +05:30
P L Sai Krishna
adbfea517d canps_v3_0: Removed PS7 definition in canps_header.h file.
This patch replaces PS7 definition with canonical definition
in canps_header.h file.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-01-22 18:17:58 +05:30
Om Mishra
305a4ece09 emacps_v3_0: modification has been done for example with respect to version id register
This patch includes modificatin for example of emacps_v3_0 driver
on Zynq and Zynq ultrascale MP

Signed-off-by: Om Mishra <omprakas@xilinx.com>
2015-01-22 18:04:46 +05:30