Commit graph

866 commits

Author SHA1 Message Date
e26f3a079f axidma: use virtual address for access to BD in XAxiDma_UpdateBdRingCDesc() 2016-04-19 19:57:22 +02:00
Nava kishore Manne
d18411f597 Drivers: Doxygen changes for 2015.4
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-12-01 11:51:28 +05:30
Nava kishore Manne
057fcb7917 Removed version information from all drivers.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-11-20 16:32:15 +05:30
Andrei-Liviu Simion
e2e1583f22 video_common: Updated video drivers to use v2.1.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:26:38 +05:30
Gilbert Magnaye
7c05e64788 v_hdmirxss: Improved stability.
Contributions from Marco Groeneveld (mgroenev@xilinx.com).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:26:29 +05:30
Gilbert Magnaye
b695b55fcc v_hdmitxss: Improved stability.
Contributions from Marco Groeneveld (mgroenev@xilinx.com).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:26:18 +05:30
Gilbert Magnaye
9f2f544754 v_hdmirx: Improved stability.
Contributions from Marco Groeneveld (mgroenev@xilinx.com).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:26:10 +05:30
Gilbert Magnaye
13ae615fea v_hdmitx: Improved stability.
Contributions from Marco Groeneveld (mgroenev@xilinx.com).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:26:00 +05:30
Gilbert Magnaye
c351438007 vphy: hdmi: Updated to match IP fixes.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:25:52 +05:30
Gilbert Magnaye
5f495caaab vphy: Added API for resetting the MMCM.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:25:44 +05:30
Andrei-Liviu Simion
f93d8928e0 vphy: Added dependency on video common.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:25:35 +05:30
Andrei-Liviu Simion
4517e43f00 video_common: Updated version from 2.0 to 2.1.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:25:27 +05:30
Andrei-Liviu Simion
0b34da9303 vphy: gt: Modified CDR configuration.
For:
- GTHE3 (DisplayPort), and
- GTHE2.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:25:16 +05:30
Andrei-Liviu Simion
6ff35ba5b2 video_common: Fixed some video timings.
For interlaced resolutions:
	720x480@60Hz
	720x576@50Hz
	1440x480@60Hz
	1440x576@50Hz
	1920x1080@50Hz
	1920x1080@60Hz

For progressive resolutions:
	1280x720@50Hz
	1680x720@50Hz
	1680x720@60Hz

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:25:07 +05:30
Andrei-Liviu Simion
8195e0511d vphy: Increased DRP timeout from 15->150.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:24:59 +05:30
Andrei-Liviu Simion
c7859ad32b vphy: Addressed compilation warnings.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:24:50 +05:30
Andrei-Liviu Simion
694ae0efbe vphy: ClkInitialize to act on direction.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:24:40 +05:30
Andrei-Liviu Simion
f0365b5b07 vphy: gt: Enabled GTHE2 compilation.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:24:31 +05:30
Andrei-Liviu Simion
5f1cd29c7a vphy: Added API to check the lock status of a PLL.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:24:22 +05:30
Andrei-Liviu Simion
085aabda2c vphy: Added input pixels per clock configuration parameter.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-13 17:24:03 +05:30
Shadul Shaikh
46350e52d2 dprxss: Modified the order of execution in training pattern 1 callback
This patch modifies the order of execution in training pattern 1 callback as
DP159 programming for training pattern 1 and then link bandwidth callback.

This modification require for few GPUs (Intel) to allow DP159 programming for
training pattern 1 before link bandwidth callback.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-06 21:33:32 +05:30
Nava kishore Manne
fc2ea039d9 iicps: Select interrupt ID in example based on instance present
To allow for automatic testing, select IIC_INTR_ID based on the
PSU_<> present. Left initial definition intact for Zynq.

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-11-06 20:52:48 +05:30
Shadul Shaikh
59ac8e6c21 dptxss: Modified driver example files modification history
This patch modifies modification history of DisplayPort TX Subsystem driver
example files.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-03 11:56:11 +05:30
Shadul Shaikh
4da4f82fc4 dptxss: Modified driver files modification history
This patch modifies modification history of DisplayPort TX Subsystem driver
files.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-11-03 11:54:17 +05:30
Rohit Consul
4fd5787f10 video_common: Update stream report API for custom tag
In Stream reporting API if custom tag is detected print stream
properties as-is instead of using the mode table based API's

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-10-30 21:12:32 +05:30
VNSL Durga
a83a191293 csudma: Modified logic of polling variable in example.
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Acked-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-27 14:40:00 +05:30
Venkata Naga Sai Krishna Kolapalli
a7d10c5f22 rtcpsu : Enable battery switching bit in control register
This patch enables rtc controller to switch to battery
when vcc_psaux is not available.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-27 14:12:20 +05:30
Rohit Consul
120d4554bd v_hdmitxss: Rename external API
Renamed XV_HdmiTxSs_SendAudioInfoFrame API to
XV_HdmiTxSs_SendAuxInfoFrame

Corrected Ppc data type to XVidC_PixelsPerClock

Removed vtc patch as fix is available in vtc driver v7.1

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
2015-10-23 14:38:53 +05:30
Rohit Consul
e4715b82e8 v_hdmitxss: update depends clause for vtc driver
Updated vtc driver dependency version to 7.1

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
2015-10-23 14:38:52 +05:30
Rohit Consul
83bfc8403a v_hdmirxss: update config structure for driver parameter
Updated pixel per clock parameter type to reflect usage
Deleted hdcp timer calls from - not needed in this module

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
2015-10-23 14:38:52 +05:30
Rohit Consul
5700a3bded v_hdmirxss: Set hpd false when cable is disconnected
When cable disconnect is detected drive hpd line low

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
2015-10-23 14:38:52 +05:30
Rohit Consul
c41c7cc5f4 v_hdmirx.c: Add custom video mode id tag
For input resolution not found in mode table update the video
mode id as custom.

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
2015-10-23 14:38:52 +05:30
P L Sai Krishna
f0dfbbd126 sdps: Polled for Transfer Complete bit after cmd6.
Polled for Transfer Complete bit after sending CMD6
in case of eMMC card. since CMD6 expects a R1b response
we need to check for Transfer complete before sending
next command.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-23 14:15:15 +05:30
Srikanth Vemula
5155c4f47f vtc: Added interlaced programming feature.
Added new interlaced source select field to provide interlaced programming option to user.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-10-22 23:28:35 +05:30
P L Sai Krishna
56ea0274df sdps: Polled for transfer complete for cmd6.
This patch does following things:
Added polling for transfer complete for cmd6 in case
of eMMC and MMC card.
Added 2.0 controller version check in case of eMMC to
switch for High speed mode in Zynq.
Added check for eMMC card, since HS200 mode switching
will only support by eMMC.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Harini Katakam <harinik@xilinx.com>
2015-10-22 23:17:37 +05:30
Kedareswara rao Appana
3171d55588 can: Update the driver tcl to check for valid IP parameter
Few IP parameters exported in smaller cases to the hdf
but the dirver tcl is checking for the same parameters in
upper case resulting wrong values are being genearted
in xparameters.h file. This patch fixes this issue.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
2015-10-20 17:06:24 +05:30
Kedareswara rao Appana
0707af60f4 can: Create a new version of can driver
Created a new vesrion of can can_v3_1

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
2015-10-20 17:04:28 +05:30
Andrei-Liviu Simion
4b33a35165 vphy: Initial release of Video PHY driver.
Video PHY driver for abstraction of GTs.

Contribution from Gilbert Magnaye on HDMI.
Contribution from Vamsi Krishna Dhanikonda on DisplayPort.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Rohit Consul <rohitco@xilinx.com>
2015-10-20 16:34:48 +05:30
Andrei-Liviu Simion
4c505a9c37 hdcp1x: Added dependency on timer counter.
Compilation failure if an HDCP design was generated without a
timer counter instatiated.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-19 22:40:59 +05:30
Andrei-Liviu Simion
3b7b32fe0e dp: tx: Moved wait for PHY ready from initialization.
PHY ready check is now done immediately before initiating link
training.

In pass-through designs where the TX reference clock is derived
from the input RX clock, having no RX clock would have resulted
the TX initialization failing due to PHY ready time out.

This patch allows TX and RX to both be initialized in any
order.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-19 22:31:36 +05:30
VNSL Durga
743a656e2c ZDMA: Modified XZDma_CreateBDList API
Corrected destination descriptor address calculation in
XZDma_CreateBDList API.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Acked by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-19 10:52:36 +05:30
Anurag Kumar Vulisha
c04b550bca spi: added support for sst flash part in xspips_flash_intr_example.c
For sst flash parts we need to unlock global protection bits and use
bulk erase command instead of chip erase.This patch updates the same.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-17 00:34:06 +05:30
Anurag Kumar Vulisha
3487d7ac41 spi: changed the xspips_flash_polled_example file for sst flash parts
For sst flash parts we need to unlock global protection bits and use
bulk erase command instead of chip erase.This patch updates the same.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-17 00:32:49 +05:30
Shadul Shaikh
b505655fe0 dprxss: Instruct RX to generate HPD interrupt
This patch generates a Hot-Plug Detect (HPD) interrupt whenever RX cable
disconnect/unplug interrupt detected.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei-Liviu Simion <andreis@xilinx.com>
2015-10-17 00:24:28 +05:30
Harini Katakam
7b0809dbe4 emacps: Manage clock setup & rate differences between Emulation and Silicon
Set speed of 1G for silicon only and run at 100Mbps on emulation platforms.
CRL_APB register configuration to 1000Mbps is also only required for silicon.
Minor comment corrections done.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-17 00:05:29 +05:30
Harini Katakam
62177f1717 emacps: Select interrupt ID in example based on instance present
Different GEM instances are present on evaluation and emulation platforms
of Zynq Ultrascale+ MPSoC.
To allow for automatic testing, select XPS_GEMx_INTR_ID based on the
PSU_<> present. Left initial definition intact for Zynq.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-17 00:04:22 +05:30
P L Sai Krishna
5594d1f3fc sdps: Added support for SD v1.0
This patch add support for SD card v1.0

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-16 19:30:43 +05:30
Shadul Shaikh
1e332095b8 dptxss: Added HDCP example
This patch adds HDCP example and modifies examples, readme, index
files.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei Simion <andreis@xilinx.com>
2015-10-14 23:09:34 +05:30
Shadul Shaikh
47fe2ff165 dptxss: Integrated HDCP, Timer in DisplayPort Transmitter Subsystem
This patch integrates HDCP, Timer in DisplayPort TX Subsystem.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei Simion <andreis@xilinx.com>
2015-10-14 23:09:34 +05:30
Shadul Shaikh
4ef87ec22c dprxss: Added HDCP example
This patch adds HDCP example and modifies examples, index, readme files.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei Simion <andreis@xilinx.com>
2015-10-14 23:09:33 +05:30