Commit graph

865 commits

Author SHA1 Message Date
Harini Katakam
763c56936d qspipsu: Use DMA DONE instead of BUSY
Use DMA DONE to poll status of DMA transfer instead of BUSy as this
is recommended.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-19 13:55:47 +05:30
Harini Katakam
b337ae9801 gqspips: Clear and disable DMA interrupts initially
Clear and disable DMA interrupts/status register initially.
Correct DMA_CTRL reset value.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-19 13:55:46 +05:30
Harini Katakam
2b3a7c5e4c qspipsu: Switch to I/O mode before clearing RX FIFO
There is a bug wherein the DMA listening to RX empty status goes busy
if RX FIFO clear bit is set in the FIFO control register, even if there
is no transfer request. So switch to I/O mode always to clear RX FIFO and
restore the mode in the end.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-19 13:55:46 +05:30
Harini Katakam
21b87a69bf emacps: Add missing cache flush
Add cache flush after TX BD terminate entry for generic tx queue so
that it will be reflected.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-19 10:41:55 +05:30
Harini Katakam
54c0d04311 emacps: Dont treat used bit set as error
Remove used bit set from TX error interrupt masks as it is not an error.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-19 10:41:55 +05:30
VNSL Durga
16795cbacf ZDMA_v1_0: Added examples to ZDMA driver.
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-17 16:11:41 +05:30
VNSL Durga
08aea016bb ZDMA_V1_0: Added ZDMA driver
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-17 16:11:22 +05:30
Shakti Bhatnagar
32c3c2a8bc nandpsu_v1_0: Removed Assert check dest buf addr zero.
Destination buffer address zero is valid for ddr.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-16 23:01:43 +05:30
Jyotheeswar Reddy
2889468869 ipipsu_v1_0: Add IPI driver for ZynqMP
This is the initial version of Inter Processor Interrupt (IPI) driver
for ZynqMP,including the required tcl and an example on using the driver.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-03-16 23:01:43 +05:30
Harini Katakam
dc90d1033a emacps: Remove unecessary comment
Remove comment line on top of header for all source files.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-16 11:21:48 +05:30
Harini Katakam
93f1486370 emacps: Disable extended mode and correct 64 bit support
The existing changes done under EXTENDED_DESC_MODE should in fact
be done for arch 64. Extended mode needs additional BD words and since
there is no test for it at present, it is disabled.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-16 11:21:47 +05:30
Harini Katakam
7aec13f790 emacps: Increase AHB burst size
Increase AHB burst size to 16 bytes to improve performance.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-16 11:21:47 +05:30
Harini Katakam
329377a604 emacps: Add support for jumbo frames in example
Enable jumbo option and use updated API's for zynqmp.
Increase array size to support jumbo frames - these can be decreased by user if
not required.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-16 11:21:46 +05:30
Harini Katakam
9b8d665400 emacps: Add support for jumbo frames
Add an option to enable jumbo frames for zynqmp.
Add frame size and receive buffer length masks to instance so that they can
be updated dynamically with jumbo enable/disable.
Provide new API XEmacPs_GetRxFrameSize instead of XEmacPs_BdGetLength to
find frame size in case of jumbo frames or otherwise.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-16 11:21:46 +05:30
P L Sai Krishna
bf50cadd34 qspipsu_v1_0: Removed doxygen warnings.
This patch documented the parameters of XQspiPsu_SelectFlash API
to remove doxygen warnings and modified the xqspipsu.h file
header as number of characters in a line are more than usual.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-03-15 19:05:13 +05:30
VNSL Durga
7c84757da1 csudma: Modified interrupt ids
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-15 18:47:08 +05:30
VNSL Durga
f155ce7d2f csudma: Modified source files of csudma driver.
Fixed compilation warning of xcsudma.c and
Modified PSS to PSU in xcsudma_g.c

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-15 18:47:08 +05:30
P L Sai Krishna
4b3db9b710 qspipsu_v1_0: Added support for unaligned data transfer in DMA mode.
This patch add support for unaligned data transfer support in DMA
mode.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-03-14 13:35:15 +05:30
P L Sai Krishna
c3145a93e3 qspipsu_v1_0: Added IO mode support in qspipsu.
This patch does following things
1. Added IO mode support for qspipsu.
2. Modified the GenFifoEntryData API since unaligned data should
be the last entry in GenFifo.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-03-14 13:35:15 +05:30
Shakti Bhatnagar
a516afcdf5 nandpsu_v1_0: Fixed Mark Block Bad bbt updation issue.
Corrected the target value calculation in XNandPsu_MarkBlockBad API.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-14 13:03:49 +05:30
Shakti Bhatnagar
61ce44e6b9 nandpsu_v1_0: Renamed integration test directory to "intgtest"
Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-13 12:47:03 +05:30
Shakti Bhatnagar
5ebc54dfa8 nandpsu_v1_0: Clear dmabuffer boundary register during the init.
Ensure that the dma buffer boundary interrupt is disabled as driver
is using the contiguous buffer for the whole page size and enabling
this interrupt would cause failures if the buffer boundary is
configured for other values (not the page size)

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-13 12:47:03 +05:30
VNSL Durga
76c56a17d6 vtc: Modified vtc_v7_0 source files.
Added interlaced and progressive mode switching functionality.
Removed XVtc_RegUpdate as there were 2 APIS with same functionality
provided backward compatibility.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-02-27 19:06:52 +05:30
VNSL Durga
57fe691a62 vtc: Deprecated vtc_v6_1 and added active version vtc_7_0
Deprecated 6_1 and added 7_0 version for vtc driver.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-02-27 19:06:51 +05:30
P L Sai Krishna
8336fa22da scuwdt_v2_1: Updated the modification history and copyright.
This patch update the modification history and copyright year to 2015.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-27 18:25:28 +05:30
P L Sai Krishna
74c8154158 scutimer_v2_1: Updated the modification history and copyright.
This patch updates the modification history and copyright year to 2015.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-27 18:25:28 +05:30
P L Sai Krishna
7fc4f07ed2 usbps_v2_2: Removed IAR compilation errors.
This patch modifies the IAR compilation errors in usbps examples.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-27 16:12:03 +05:30
P L Sai Krishna
ab4f11c566 scuwdt_v2_1: Removed IAR, ARMCC compilation errors.
This patch removes IAR and ARMCC compilation errors.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-27 16:12:03 +05:30
P L Sai Krishna
eda5fe3e10 emacps_v3_0: Removed IAR compilation errors in examples.
This patch removes IAR compilation errors in emacps examples.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-27 16:12:03 +05:30
P L Sai Krishna
c5ad94e476 nandps_v2_2: Removed IAR compilation errors.
This patch removes the IAR compilation errors.
Modified the OnfiNand_Geometry structure declaration according to IAR compiler

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-27 15:05:44 +05:30
Shakti Bhatnagar
8240571709 nandpsu_v1_0: Modified driver source file for removing compilation warning.
Modified driver source file to remove compiler warning.
1. Did Type Conversion
2. Made two API's public
3. Removed redeclaration

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-02-26 17:25:01 +05:30
Shakti Bhatnagar
f382b3403f nandpsu_v1_0: Modified integration test to follow code convention.
Modified test file to follow code convention and logic correction.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-02-26 16:55:00 +05:30
Shakti Bhatnagar
bb1523aab2 nandpsu_v1_0: Removed compiler warnings from integration test files.
Modified Integration test files to remove compiler warnings.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-02-26 16:53:23 +05:30
Andrei-Liviu Simion
d7e056eb66 dptx: Handle new PHY_CONFIG bit for 8b10b encoding.
Bit 21 of DPTX register PHY_CONFIG (0x200) enables 8b10b encoding.

In v6.0 of the DPTX core, the default value is '1'.
Current driver should keep this value untouched when writing to the PHY_CONFIG
register.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-02-25 17:39:50 +05:30
Kinjal Pravinbhai Patel
fc81136e7f drivers: cpu_cortexa53: change to psu from pss for processor instance
This patch changes to psu from pss for processor instance to create
CPU ID in xparameters.h

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-02-23 16:33:59 +05:30
P L Sai Krishna
bfa922fb35 qspipsu_v1_0: Removed unnecessary puts in tcl.
This patch removes unnecessary puts in .tcl file.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-19 18:41:50 +05:30
Shakti Bhatnagar
067860a793 nandpsu_v1_0: Modified file permissions from 755 to 644
Changed file permissions from 755 to 644 for files in integration test.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-02-19 17:56:41 +05:30
P L Sai Krishna
e1fbe3a009 qspipsu_v1_0: Modified the file permissions.
This patch modifies the file permissions to 644.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-19 17:56:40 +05:30
Shakti Bhatnagar
40fabfe6ca nandps_v2_2: Modified file permissions from 755 to 644
Changed file permissions from 755 to 644 for files in nandps_v2_2.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-02-19 17:56:40 +05:30
Shakti Bhatnagar
52623ea7bb nandpsu_v1_0: Removed Makefile from example folder
Removed makefile from the example folder of nandpsu_v1_0 driver.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-02-19 14:37:55 +05:30
Shakti Bhatnagar
34bfc6e239 nandpsu_v1_0: Updated integration test for nandpsu driver for Zynq UltraScale MP.
Updated integration test files for nandpsu driver.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-02-19 14:37:55 +05:30
P L Sai Krishna
86e14e1e5a iicps_v3_0: Modifies the examples.
This patch modifies eeprom start address in polled example and
updated the note in header in repeated start example.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-18 21:58:25 +05:30
P L Sai Krishna
3f51bab44f iicps_v3_0: Implemented larger data transfer using repeated start.
This patch implemented the large data transfer using repeated
start in Zynq Ultra Scale MP and fixed doxygen warnings.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-18 21:58:23 +05:30
Venkata Naga Sai Krishna Kolapalli
8c6b14faf8 cpu_v2_3 : Added psu_microblaze in .mdd
This patch adds psu_microblaze in cpu.mdd file.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-02-18 19:04:05 +05:30
VNSL Durga
b7813c0eb8 csudma_v1_0: Modified csudma src files
Changed u64 to UINTPTR in XCsuDma_Transfer function.
Removed ‘XPAR_PSS_CSU_0_S_AXI_BASEADDR’ from xcsudma_hw.h file

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-02-18 18:55:24 +05:30
P L Sai Krishna
cb15b20fa5 qspips_v3_2: SLCR_LOCKSTA register checked.
This patch checked the SLCR_LOCKSTA register instead of
SLC register.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-18 16:58:02 +05:30
P L Sai Krishna
bf93dc207e qspips_v3_2: Added SLCR lock check before SLCR reset.
This patch added check for SLCR lock before doing the SLCR
reset. If it is unlocked we ahould not lock after reset.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-18 13:56:38 +05:30
Shakti Bhatnagar
fd4a99ddbf nandpsu_v1_0: Modified supported_peripherals list in mdd file.
Kept only psu_nand as supported_peripherals for Zynq UltraScale MP Generic
NAND controller driver.
Removed pss_nand and ps8_nand from supported_peripherals.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-02-18 13:07:53 +05:30
P L Sai Krishna
afeaf368c2 qspips_v3_2: Modified the copyright year to 2015.
This patch modifies the copyright year to 2015.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-18 12:11:25 +05:30
P L Sai Krishna
93a2e6a81f qspipsu_v1_0: Removed ps8 and pss entries.
This patch removes ps8 and pss entries in mdd file.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-17 23:58:44 +05:30