Commit graph

14 commits

Author SHA1 Message Date
Andrei-Liviu Simion
a8370240c4 dp: tx: Removed duplicate horizontal and vertical total entries.
Part of the video mode table.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:33:04 +05:30
Andrei-Liviu Simion
2d7f2abf8a dp: tx: Update to use new common video mode table and timing structure format.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:33:03 +05:30
Andrei-Liviu Simion
5e3c1dba5a dp: rx: Moved xdprx.h include below XDp_Config type definition dependency.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:24 +05:30
Andrei-Liviu Simion
0b0c1897cc dp: rx: Add XDprx_CfgInitialize.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:23 +05:30
Andrei-Liviu Simion
f1d01171a9 dp: rx: Added receiver (RX) skeleton including the XDprx instance structure.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:22 +05:30
Andrei-Liviu Simion
e6006d9818 dp: XDptx_TimerHandler->XDp_TimerHandler.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:21 +05:30
Andrei-Liviu Simion
0a72981dcd dp: Allow differentiate between XDptx and XDprx structures from a void *.
The XDp_Config structure is moved to the top of the instance structure for
XDptx. The XDprx structure, once implemented, will keep the XDp_Config structure
as the first member.

This allows functions to accept a void * argument and determine whether the
pointed structure is of type XDptx or XDprx by accessing the XDp_Config member's
IsRx member.

The reason this works is because XDp_Config is the first member in the
structure's order so the configuration structure will be placed in the same
relative location for both the XDptx and XDprx structures.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:20 +05:30
Andrei-Liviu Simion
81cb2fe913 dp: Export IP configuration parameter for the DisplayPort core type - TX or RX.
Exporting the C_FLOW_DIRECTION configuration parameter.
XDp_Config's IsRx member specifies that the core is an RX if = 0, TX if = 1.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:19 +05:30
Andrei-Liviu Simion
204d93a1fe dp: Compilation reordering for backwards compatibility.
User application may either include xdp.h or xdptx.h to use DisplayPort driver
functionality. This is useful when upgrading to an existing application to a
newer driver version.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:18 +05:30
Andrei-Liviu Simion
cfc2fec774 dp: Number of DisplayPort instances now uses the new driver naming prefix.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:17 +05:30
Andrei-Liviu Simion
eb9df3f478 dp: XDptx_ConfigTable->XDp_ConfigTable.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:17 +05:30
Andrei-Liviu Simion
f44bb328d6 dp: XDptx_Config->XDp_Config
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:16 +05:30
Andrei-Liviu Simion
0aee196be6 dp: LookupConfig function and sinit file adopt new driver naming.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:15 +05:30
Andrei-Liviu Simion
202d0114c1 dp: Initial version based on dptx.
Dptx driver moved to a common DisplayPort driver, Dp, in order to have a common
location for both transmit (Dptx) and receive (Dprx).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:14 +05:30