Commit graph

26 commits

Author SHA1 Message Date
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
Harini Katakam
ed027bf4b9 qspipsu: Increase setup and hold time
Increase the setup and hold time of qspi to accomodate for a worst case
of ~15ns with ref clk of 300MHz.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-12 18:21:47 +05:30
Nava kishore Manne
607a6324f3 Drivers: Retain @details only in the primary header file.
Removed all other instances.

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-07-13 18:30:19 +05:30
P L Sai Krishna
f15b565f90 qspipsu: Added missing comma in xqspipsu_g.c file.
This patch add missing comma in xqspipsu_g.c file.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-07-09 19:27:04 +05:30
P L Sai Krishna
cc4798846a qspipsu: Added Tx/Rx flags in the examples.
This patch modifies the examples for adding Rx/Tx
flags to check writing/reading.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-06-20 13:08:15 +05:30
P L Sai Krishna
e0c1612b9e qspipsu: Removed NULL checks for Rx/Tx buffers.
This patch removes NULL pointer checks for Rx/Tx
buffers since writing/reading from 0x0 is permitted.
Used Tx/Rx flags to check for Writing/reading.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-06-20 13:08:13 +05:30
P L Sai Krishna
32bcd2b1fc qspipsu: Modified if condition logic for ReadId API in examples.
This patch modifies the if condition logic for ReadId
function in examples by replacing equal-to operator
with equality.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-06-17 15:02:55 +05:30
P L Sai Krishna
fdf41ec349 qspipsu: Modified Bus width during dummy phase in examples.
This patch modifies the Bus width value during dummy phase
in examples since it is recommended to be same as in
data phase.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-06-17 15:02:53 +05:30
Nava kishore Manne
146cd64c83 Doxygen changes for drivers 2015-06-12 12:50:09 +05:30
P L Sai Krishna
b9158b38d7 qspipsu: Renamed v1.1 as v1.0
This patch renames v1.1 as v1.0 and removed all 1.1
instances inside driver.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-06-04 15:52:00 +05:30
P L Sai Krishna
d10ca2f749 qspipsu: Deleted v1.0
This patch deletes qspipsu v1.0

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-06-04 15:51:55 +05:30
Nava kishore Manne
0c9ca599cf Drivers:standalone drivers license changes.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-05-13 17:05:11 +05:30
P L Sai Krishna
42cc06acb2 qspipsu_v1_1: Added new version for qspipsu.
This patch add new version 1.1 for qspipsu and deprecates
older version.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-22 11:18:23 +05:30
Peter Crosthwaite
b9dc06aac8 qspi: Fix dummy mode in examples
QSPI HW doesn't actually care what the SPI mode is for the dummy phase
of flash commands. We have confirmed this with randomized testing.
However due to a core limitation of QEMU it is expected to match the
mode of the address phase for QEMU.

So since QEMU is the only platform that cares, set the dummy mode to
QEMUs expectation.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
2015-03-25 12:56:43 +05:30
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
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
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
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
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
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
Kishore Kumar Korathaluri
c13cbb830a qspipsu : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-02-04 15:57:52 +05:30
Harini Katakam
4b2b01d3e5 qspipsu: Add driver for Alto Generic QSPI
Add driver for Alto Generic QSPI.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-01-22 18:49:43 +05:30