Commit graph

283 commits

Author SHA1 Message Date
Venkata Naga Sai Krishna Kolapalli
3b3bd69fa5 wdtps : Modified wdtps driver for MISRA-C:2012.
This patch modifies wdtps for misrac rules.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-26 10:29:22 +05:30
Venkata Naga Sai Krishna Kolapalli
1f7ca1df87 ttcps : Modified ttcps driver for MISRA-C:2012
This patch modifies ttcps driver for misrac rules.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-26 10:29:22 +05:30
Venkata Naga Sai Krishna Kolapalli
24e482ef1a scugic : Modified scugic driver for MISRA-C:2012
This patch modifies scugic dirver for misrac rules.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-26 10:29:21 +05:30
Nava kishore Manne
a505b82b92 scugic: Modify mdd file
This modifies the mdd file to pick the correct

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-04-26 10:29:20 +05:30
Venkata Naga Sai Krishna Kolapalli
800c8793fb standalone : Included xil_types.h in xil_assert.h.
This patch includes the xil_types.h in missing header files like xil_assert.h,sleep.h, xil_testcache.h and xpseudo_asm_gcc.h.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-26 10:29:19 +05:30
Sarat Chand Savitala
1121ebabaf sw_apps:zynq_fsbl: Fix to address change in arguments to f_mount()
From 2015.1_1210_1, signature for function f_mount() is changed.
Now it expects three arguments (earlier had two arguments).
In SD initialization routine of FSBL code, now f_mount()
is called with new set of arguments.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-04-26 10:29:19 +05:30
Nava kishore Manne
6f0945d1d0 drivers: ttcps: change in mdd file
This patch changes mdd file for selecting proper peripherals

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-04-26 10:29:18 +05:30
Nava kishore Manne
245b41d87f drivers: wdtps: change in mdd file
This patch changes mdd file for selecting proper peripherals

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-04-26 10:29:17 +05:30
Vishnu Motghare
73a8484b60 uartps: Modified driver source code for MISRA-C:2012 compliance
This patch modifies driver code according to misrac guidelines.

support for Zynq Ultrascale Mp added.

Signed-off-by: Vishnu Motghare <vishnum@xilinx.com>
2015-04-26 10:29:16 +05:30
Punnaiah Choudary Kalluri
ae31a85612 emacps: Add support for Zynq Ultrascale Mp and misra c guidelines
Upgrade and make misra c compliant

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-04-26 09:58:11 +05:30
P L Sai Krishna
8296dcd0f1 spips: Modified the code according to misra-c 2012 compliance.
This patch modifies the code according to MISRA-C 2012 and
added support for ZynqMP.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-13 14:36:59 +05:30
Kedareswara rao Appana
4d44baa014 lwip: Fix bugs in lwip
This patch fixes following issues:
---> PHY auto detection & PHY access issues.
---> The existing lwip seems to misbehave when it undergoes a stress or
performance test with UDP packets.
---> Temac crashes and deadlocks if there is a high traffic load or transmitted
packets are not successfully delivered to the other side.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-04-13 14:36:57 +05:30
Nava kishore Manne
16ff3b4e03 standalone : Modified namespace from HSM to HSI.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-04-13 14:36:57 +05:30
Venkata Naga Sai Krishna Kolapalli
93ece4087a standalone : Modified .mld file to support ZynqMP
This patch modified .mld that is required for the
unifing process of standalone code.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-13 14:36:56 +05:30
Venkata Naga Sai Krishna Kolapalli
3f6f63b07e standalone : Modified code for MISRA-C:2012 compliance.
This patch unifies standalone for both Zynq and ZynqMP
platforms. Also follows misrac guidelines.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-13 14:36:56 +05:30
Kinjal Pravinbhai Patel
9e1c9c1b60 drivers: scugic: change xscugic_hw.h for Zynq Ultrascale MP support
This patch changes maximum number of interrupt supported for adding
Zynq Ultrascale MP support

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-13 14:36:54 +05:30
Kinjal Pravinbhai Patel
a4d10f00e7 drivers: scugic: change the tcl for Zynq Ultrascale MP support
This patch changes gic tcl for Zynq Ultrascale MP support

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-13 14:36:52 +05:30
Kinjal Pravinbhai Patel
08d77eedce drivers: ttc: change in xttcps_low_level_example
This patch modifies xttcps_low_level_example to supprot both Zynq and Zynq Ultrascale MP

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-13 14:36:51 +05:30
Kedareswara rao Appana
7f5da20b4f canps: Add support for Zynq Ultrascale Mp
This patch adds the support for Zynq Ultrascale Mp.
Modified driver code for MISRA-C:2012 and cleaned up.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-04-13 14:36:51 +05:30
Nava kishore Manne
72810f05bd iicps: Modified the index file.
This patch modifies the index file in examples.

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-04-13 14:36:51 +05:30
P L Sai Krishna
fb779db947 iicps: Added repeated start example.
This Patch add repeated start example for iicps.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-13 14:36:50 +05:30
P L Sai Krishna
7a4913bc00 iicps: Implemented repeated start feature.
This patch adds the repeated start feature in the iicps driver.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-13 14:36:49 +05:30
P L Sai Krishna
ddbfbdcd6e xilffs: updated the xilffs example.
This patch modifies the xilffs example according to latest xilffs library version.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-13 14:36:49 +05:30
P L Sai Krishna
5ece7d79a6 xilffs: Updated to latest xilffs version.
This Patch updates the xilffs library to latest version R0.10b

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-13 14:36:48 +05:30
P L Sai Krishna
ca0a507124 sdps: checked for DAT inhibit mask in cmd transfer API.
This patch check for DAT inhibit mask rather than CMD inhibit mask in cmd transfer API.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2014-12-04 15:37:58 +05:30
P L Sai Krishna
7084fe8a03 xilffs: Added support for micro SD without WP/CD check.
This Patch add support for micro SD without WP/CD check.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2014-12-04 15:37:53 +05:30
P L Sai Krishna
a6dbf26307 sdps: Added the driver support for micro sd without WP/CD.
This patch add the driver support for micro sd without WP/CD.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2014-12-04 15:37:44 +05:30
Andrei-Liviu Simion
ec95e33596 dptx: Updated Doxygen documentation.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:49 +05:30
Andrei-Liviu Simion
d98aa35095 dptx: Fixed some documentation for Doxygen.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:48 +05:30
Andrei-Liviu Simion
048a0cc949 dptx: Added macro header comments describing new functionality.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:48 +05:30
Andrei-Liviu Simion
89ececd8d1 dptx: Improved sink reordering.
The sink reordering would fail on retrieval of tiling information from a sink
that does not have a Tiled Display Topology (TDT) data block. This behavior is
incorrect since subsequent sinks may be a part of a tiled display.
Modified the function to be void.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:47 +05:30
Andrei-Liviu Simion
9fc3a2bd3e dptx: Added function header comments describing new functionality.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:47 +05:30
Andrei-Liviu Simion
7c47ed85dd dptx: Added functions that reorder the sink numbering of the topology.
Added functionality that reorders the sink list such that topologies containing
tiled display(s) will have the contained sinks reordered in a consistent manner.

The need for such functionality exists because not all tiled displays will have
the same internal topologies.
It was observed that two 4k2k MST based monitors (tiled display, 2 sinks) from
different manufacturers would have the left and right images swapped using
identical stream-to-sink mappings.
Thus, the need to obtain the tiled display topology information of all sinks and
their relative tile location is required to send the correct stream to the
desired sink.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:46 +05:30
Andrei-Liviu Simion
4a31173fbc dptx: Added macros related to tile ordering.
These macros parse tile location, total horizontal and vertical tiles, and tile
order from the Tiled Display Topology section data block.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:46 +05:30
Andrei-Liviu Simion
136b180907 dptx: Added a function that retrieves the Tiled Display Topology of a sink.
Given a sink, the function will attempt to retrieve the Tiled Display Topology
section data block which is part of the DisplayID structure.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:45 +05:30
Andrei-Liviu Simion
186fc02763 dptx: Added definitions for the Tiled Display Topology section data block.
The Tiled Display Topology (TDT) section data block is part of the DisplayID.
The driver currently supports DisplayID as an extension block to the base EDID
structure.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:44 +05:30
Andrei-Liviu Simion
9437435007 dptx: Added a function to retrieve a specified data block from the DisplayId.
Search for a section data block that matched a specified section tag.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:44 +05:30
Andrei-Liviu Simion
04f47a0ead dptx: Added some DisplayID register defines.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:43 +05:30
Andrei-Liviu Simion
394de11837 dptx: Added a function that fetches a DisplayID EDID extension block.
Given a sink, the function will attempt to retrieve an EDID extension block of
type DisplayID.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:43 +05:30
Andrei-Liviu Simion
d509ffc520 dptx: Reuse retrieval of EDID blocks for retrieval of the base EDID.
Base EDID = EDID block #0.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:42 +05:30
Andrei-Liviu Simion
d49f9f84fc dptx: Moved functions related to retrieval of EDID information into xdptx_edid.c
Consolidated the functions that obtain the base EDID block into the EDID utility
file.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:41 +05:30
Andrei-Liviu Simion
f2ad8b171d dptx: Added EDID utility file and functions for fetching an EDID block.
Created a file containing utility functions related to the Extended Display
Identification Information (EDID).
The initial functions included are used to fetch EDID blocks.

Block numbering starts with 0 being the base EDID block, and extension block
starting at 1.

EDID blocks are 128 bytes in size.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:41 +05:30
Andrei-Liviu Simion
63001153f7 dptx: Optimized immediate I2C read transaction.
The 16-byte chunking is already done by XDptx_AuxCommon, so there is no need to
do it in XDptx_IicRead.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:40 +05:30
Andrei-Liviu Simion
ba2c1ce602 dptx: Reorganized and commented I2C and DPCD reads/writes.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:39 +05:30
Andrei-Liviu Simion
64efde0148 dptx: Add and update the function header comments for I2C and DPCD reads/writes.
- Added function header comments for the remote I2C and remote DPCD read and
write functions.
- Updated the function header comments for immediate I2C and AUX read and write
functions.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:38 +05:30
Andrei-Liviu Simion
9fe0c8ca59 dptx: Define the I2C segment pointer address (0x30).
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:37 +05:30
Andrei-Liviu Simion
52ebe1260c dptx: Improved remote IIC reads/writes to automatically work on 16-byte chunks.
Some monitors don't support sideband messages with IIC reads greater than 16
bytes. This improvement breaks up the higher-level read/write request into
multiple reads/writes that work with up to 16 bytes in size.

These higher-level remote IIC read/write functions also serve as a wrapper for
an IIC read/write in case that the link count total is equal to 1 (a read/write
request to the RX device directly connected to the TX (not "remote")).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:37 +05:30
Andrei-Liviu Simion
3a23a15f09 dptx: Optimize read/write GUID functions to use new remote reads/writes.
The remote read/write functions serve as a wrapper in case the target RX device
is directly connected to the TX (link count total is equal to 1).
These functions may be called instead of the read/write GUID functions doing the
same thing.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:36 +05:30
Andrei-Liviu Simion
518eb68d03 dptx: Improved remote DPCD reads/writes to automatically work on 16-byte chunks.
Some monitors don't support sideband messages with AUX reads greater than 16
bytes. This improvement breaks up the higher-level read/write request into
multiple reads/writes that work with up to 16 bytes in size.

These higher-level remote DPCD read/write functions also serve as a wrapper for
an AUX read/write in case that the link count total is equal to 1 (a read/write
request to the RX device directly connected to the TX (not "remote")).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:35 +05:30
Andrei-Liviu Simion
d796348e29 dptx: Made the I2C read function more robust.
- Changed the offset from type u8 to u16.
- In order to accomodate offsets greater than 255, a segment pointer is used.
	- The I2C read funciton is now able to access blocks other than the
	block 0 and 1 at a given address. E.g., EDID extension blocks may now be
	accessed by reading from I2C address 0x50 (raw=0xA0/0xA1) and writing
	the appropriate segment pointer and offset.
		- Input offset=0.
			- EDID block 0: I2C read on offset=0 and segptr=0.
		- Input offset=128.
			- EDID block 1: I2C read on offset=128 and segptr=0.
		- Input offset=256.
			- EDID block 2: I2C read on offset=0 and segptr=1.
		- Input offset=384.
			- EDID block 3: I2C read on offset=128 and segptr=1.
		- etc.
	- Writing to the I2C address 0x30 (raw=0x60/0x61) sets the segment
	pointer.
	- Writing to an I2C address sets the offset that will be read from that
	address. E.g., a read of the EDID, starting at offset 128 would be done
	by writing 128 to 0x50, then reading from 0x50.
	- Offsets that cross a 256-byte boundary requiring increment of the
	segment pointer is also handled. E.g. A 16 byte read on input offset 500
	results in the the returned 16 byte array having the first 11 bytes from
	segptr=1 (bytes 244-255) and the last 5 bytes from segptr=2 (bytes 0-4).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2014-11-25 21:38:35 +05:30