Commit graph

865 commits

Author SHA1 Message Date
Kishore Kumar Korathaluri
e515350cc8 deinterlacer : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:44 +05:30
Kishore Kumar Korathaluri
f63f3bff16 csudma : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:44 +05:30
Kishore Kumar Korathaluri
ead98c985e cresample : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:43 +05:30
Kishore Kumar Korathaluri
870bf0f265 cpu_cortexa9 : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:43 +05:30
Kishore Kumar Korathaluri
02b8a1dfc0 cpu_cortexa53 : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:43 +05:30
Kishore Kumar Korathaluri
7c1065f152 cfa : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:42 +05:30
Kishore Kumar Korathaluri
094204a870 ccm : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:42 +05:30
Kishore Kumar Korathaluri
9ef7095ce1 canps : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:42 +05:30
Kishore Kumar Korathaluri
2f1dcbac2c can : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:41 +05:30
Kishore Kumar Korathaluri
0f2c542d02 axivdma : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:41 +05:30
Kishore Kumar Korathaluri
450bc511a2 axipcie : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:41 +05:30
Kishore Kumar Korathaluri
c4437df212 axidma : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:40 +05:30
Kishore Kumar Korathaluri
1fda0a648f axicdma : modified xdefine procs to use hsi namespace.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:40 +05:30
Shakti Bhatnagar
ad66dc099a nandps_v2_2: Pass address cycles as per the onfi parameter page.
Using the address cycles defined in onfi parameter page than
hardcoding this value to 5 for read and write operations in
XNandPs_SendCommand API.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-02-04 09:49:37 +05:30
Shakti Bhatnagar
31c7177fc4 nandps_v2_2: Deprecated exiting version of nandps driver, Added new version.
Deprecated existing version v2_1, Added new version V2_2.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-02-04 09:49:36 +05:30
Punnaiah Choudary Kalluri
a84c7db3c2 emacps: Remove the alignment check for the adjacent BD gap
Removed the alignment check for the adjacent BD gap as the controller
expects all the BDs are organized in linear order.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-02-03 09:38:52 +05:30
Punnaiah Choudary Kalluri
a116cc9f3b emacps: Enable the 64 bit address for A53
Enable the 64 bit address bus for A53

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-02-03 09:38:50 +05:30
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
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