Commit graph

865 commits

Author SHA1 Message Date
Subbaraya Sundeep Bhatta
1ca9de4bfb xadcps: Add new version 2.2
Added new version 2.2 and deprecated 2.1

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
2015-05-18 16:02:16 +05:30
Kedareswara rao Appana
25909c6148 llfifo: Update Register offsets in AXI4 data path as per latest IP version
This patch updates the register offsets in the AXI4 data path
as per latest IP version(v4.1).
The addresses are changed to accommodate increased data width.
With old address map and increased data width user had to generate AXI4 unaligned transactions.
Therefore, the address map was changed for ease of use in the IP.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-05-16 09:10:56 +05:30
Kedareswara rao Appana
86997cfd31 llfifo: Add llfifo_v5_0 and Deprecate llfifo_v4_0
Add llfifo_v5_0 deprecate llfifo_v4_0.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-05-16 09:10:55 +05:30
P L Sai Krishna
5c1e76fb33 qspipsu_v1_1: Modified the ByteCount requested for ReadId.
This patch modifies the byte count requested for ReadId and
Flash Status.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-14 22:08:48 +05:30
P L Sai Krishna
0eeddf5269 qspipsu_v1_1: Removed alignment for buffers.
This patch removes the alignment for buffers except Rx data
buffer.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-14 22:06:24 +05:30
P L Sai Krishna
fad3ad8375 qspipsu_v1_1: Less than 8 byte requests are done in IO mode.
This does following things
1. For lees than 8 byte requests, done in IO mode.
2. One dummy GenFifo entry at the end in case of IO mode.
3. used memcpy while filling TxFifo.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-14 22:06:23 +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
Shadul Shaikh
daea1680c9 axis_switch: Added example for driver
Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
2015-05-13 12:23:42 +05:30
Shadul Shaikh
a00dbcfed4 axis_switch: Added new driver Axi4-Stream Switch Control router
Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
2015-05-13 12:23:41 +05:30
P L Sai Krishna
97f9e315c6 qspipsu_v1_1: Modified the tcl file and related c files.
This patch updated the .tcl file to import bus width and
updated the driver instance.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-07 22:00:08 +05:30
P L Sai Krishna
dcf79611f8 qspipsu_v1_1: Modified the code according to Misrac 2012.
This patch modifies the code according to Misrac 2012.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-07 22:00:07 +05:30
Subbaraya Sundeep Bhatta
1dd455366e sysmon: Modify temperature transfer function for Ultrascale
Modified temperature transfer function for Ultrascale.

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
2015-05-07 21:19:48 +05:30
Subbaraya Sundeep Bhatta
603530af24 sysmon: Add new version 7.1
Added new version 7.1 and deprecated old version 7.0

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
2015-05-07 21:19:48 +05:30
naga sureshkumar relli
edc320c043 uartns550: Clock Divisor Enhancement
This patch fixes the bug in uart clock divisor when setting baud rate.

Signed-off-by: naga sureshkumar relli <nagasure@xilinx.com>
2015-05-05 23:09:17 +05:30
naga sureshkumar relli
bc3c5274cf Deprecated old uartns550_v3_2 created new uartns550_v3_3
Signed-off-by: naga sureshkumar relli <nagasure@xilinx.com>
2015-05-05 23:09:17 +05:30
Harini Katakam
daedbcdf08 qspipsu: Change comment about bus width of dummy entry
The recommendation from design is to have bus width of dummy entry =
bus width of address phase (whether this is 1, 2 or 4).
This code will remain same irrespective of QEMU. Hence change the comment.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-05-04 10:57:42 +05:30
P L Sai Krishna
b2ef81cba0 qspipsu_v1_1: Added returns for failure cases in examples.
This patch add returns for failure cases in examples.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-04 10:57:41 +05:30
P L Sai Krishna
6fcd63974f qspipsu_v1_1: Modified the code according to MISRAC.
This patch modifies QSPIPSU source code according to
MISRAC-2012.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-04 10:57:39 +05:30
naga sureshkumar relli
e21adc57a5 canfd_v1_0: Fix for compilation errors in canfd driver
This patch fixes the compilation errors in canfd
driver.

Signed-off-by: naga sureshkumar relli <nagasure@xilinx.com>
2015-04-27 17:26:51 +05:30
Venkata Naga Sai Krishna Kolapalli
2ffa12ed7c gpiops_v3_1 : Convert 3-line comments to 1-liners.
Driverwide, scripted change to convert 3-line
comments to single line comments.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-22 11:48:33 +05:30
Venkata Naga Sai Krishna Kolapalli
3357570898 uartps_v3_1 : Convert 3-line comments to 1-liners
Driverwide, scripted change to convert 3-line comments
to single line comments.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-22 11:30:15 +05:30
Venkata Naga Sai Krishna Kolapalli
80408dd5fd uartps_v3_1 : Modified interrupt example to support ZynqMP.
This patch adds support to Zynq Ultrascale+ MP for interrupt
example.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-22 11:30:14 +05:30
P L Sai Krishna
5d9aa73bd2 qspipsu_v1_0: Enabled cache in examples.
This patch enables the cache in examples and modified the buffer
alignment to 64-byte.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-22 11:18:24 +05:30
P L Sai Krishna
1b91e1c61d qspipsu_v1_1: Added Cache Enable support for qspipsu.
This patch does following things.
1. Added Cache support.
2. Modified TXD_DEPTH to 64.
3. Enabled RXEMPTY interrupt.
4. Modified the param passed to XQspiPsu_ReadRxFifo API to
RxThreshold*4, since it is expecting number of bytes to read.
5. Used Qspipsu Instance buffers in Interrupt handler rather
than Msg buffers.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-22 11:18:23 +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
naga sureshkumar relli
42234e4dd3 canfd_v1_0 : Added initial version for CanFd Driver.
This patch adds support for CanFd soft ip

Signed-off-by: naga sureshkumar relli <nagasure@xilinx.com>
2015-04-20 18:19:29 +05:30
Venkata Naga Sai Krishna Kolapalli
0706340b26 gpiops_v3_1 : Corrected reset values of GPIO banks.
This patch corrects the GPIO's banks interrupt type
registers reset values.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-20 14:36:16 +05:30
Venkata Naga Sai Krishna Kolapalli
19360973a6 gpiops_v3_1 : Add support for Zynq Ultrascale+ MP.
This patch adds support for Zynq Ultrascale+ MP
for driver source files.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-20 14:36:16 +05:30
Venkata Naga Sai Krishna Kolapalli
5e8e941ca9 gpiops_v3_1 : Deprecated old v3 and created new v3.1
This patch deprecates gpiops_v3 and created new
gpiops_v3_1.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-20 14:36:15 +05:30
Venkata Naga Sai Krishna Kolapalli
b016d1f766 uartps_v3_1 : Removed status register bit defines.
This patch removes the status register bit definations
that are not available on the RTL.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-20 13:10:46 +05:30
Venkata Naga Sai Krishna Kolapalli
520e483d61 uartps_v3_1 : Modified code to support latest RTL changes.
This patch adds support code for Zynq Ultrascale+ MP

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-20 13:10:45 +05:30
Venkata Naga Sai Krishna Kolapalli
f43b10aa77 uartps_v3_1 : Created new v3.1 of uartps.
This patch creates new uartps_v3_1 driver.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-20 13:10:45 +05:30
Shakti Bhatnagar
8fc5ca745a nandpsu_v1_0: MISRA C fixes for driver files.
This patch has changes in driver code to fix MISRA C voilations.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-04-20 12:48:07 +05:30
Shakti Bhatnagar
67b871021e nandpsu_v1_0: Remove unnecessary DMA Buffer Boundary Register configuration.
Removed the configuration of DMA Buffer Boundary register in WriteSpareBytes API
as the driver uses oob size as pkt size and thus configuring DMA Buffer
Boundary Register has no effect.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-04-20 12:45:24 +05:30
Shakti Bhatnagar
3580a10ae2 nandpsu_v1_0: Fixed triggering of assert call when block reaches max block.
Since the check for the block to have reached the end block was at the end of the loop,
thus assert call triggering could happen if the block crosses the max block limit,
making the driver to hang. Thus to fix the triggering of assert call,
the check for the block to have reached the max block is being done at the start of
the loop in XNandPsu_CalculateLength function.
The u32 typecasting for the variable OffsetVar has been removed and the data type for
the variable TempLen has been changed to u64 as for higher block numbers the value for
these variables will require u64 datatype otherwise corrupted value will get stored
which will lead to wrong calculation of block.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-04-20 12:45:24 +05:30
Nava kishore Manne
c61ab67a49 nandpsu_v1_0: Removed unnecessary Changes.
This reverts commit 8922aa1818dea2b01f2eb6b6fbb388619a9d9c5a.
2015-04-20 12:24:14 +05:30
P L Sai Krishna
2d3200d50f devcfg_v3_3: Corrected XDcfg_ReadMultiBootConfig macro.
This patch modifies XDcfg_ReadMultiBootConfig macro, passed
2 arguments for XDcfg_ReadReg.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-18 22:22:38 +05:30
P L Sai Krishna
fc2e15e185 devcfg_v3_3: Added new version for devcfg.
This patch adds new version 3.3 and deprecates older version
3.2 for devcfg.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-18 22:22:38 +05:30
Shakti Bhatnagar
4c2aa9292c nandpsu_v1_0: Removed workaround for qemu in driver.
Removed the workaround for qemu in driver code as qemu now supports
ecc and bad block table handling.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-04-01 08:34:46 +05:30
Kinjal Pravinbhai Patel
9a7de0975b driver: ttc: change in low level example
This patch modifies ttc low level example so that example passes in a short
time.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-03-31 15:25:45 +05:30
VNSL Durga
da0acf43dc ZDMA: Modified example of ZDMA
Size of data transfer is modified from 1GB to 1MB

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-31 12:23:01 +05:30
VNSL Durga
1e13788ab4 ZDMA: Modified mdd file according to hardware design
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-31 12:23:01 +05:30
Shakti Bhatnagar
092cc995df nandpsu_v1_0: Correct the length to be read for signature and version when No OOB enabled.
Modified the number of bytes of data to be read for signature and version when
NO OOB option is enabled.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-30 10:54:12 +05:30
Shakti Bhatnagar
33888ecc4d nandpsu_v1_0: Modified number of bytes to be read for bbt.
Modified number of bytes to be read for bbt in oob and bbt with signature
and version for no oob option. This change is done kept in mind that it
should support flashes with small page size as well.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-27 17:45:17 +05:30
Shakti Bhatnagar
23469c67ec nandpsu_v1_0: Modified InitBbtDesc function for OOB and No OOB feature.
Setting BBT option at the beginning and checking afterwards to set
the offset for signature and version.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-26 21:04:45 +05:30
Shakti Bhatnagar
f22adb128b nandpsu_v1_0: Ensure ecc error interrupts are not masked in fifo read mode for all the packets.
Performing Read modify write operation for the interrupt status enable
and interrupt status register in readpage function instead of directly
writing to fix the masking error interrupts in case ecc enabled.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-26 21:04:45 +05:30
Shakti Bhatnagar
72d11a1a8a nandpsu_v1_0: Modified Ecc Address Calculation based upon the oob size.
If oob size is less than 64 bytes, ecc position should start from 0 position
of oob area, else should be at the end of the oob area.
Keeping ecc start position in alligned with the Linux nand base ecc layout.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-26 21:04:44 +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
P L Sai Krishna
9136dc1d92 iicps_v3_0: Modified the IICPS eeprom examples.
This patch modifies the eeprom page size to 32 for zynq ultrascale MP
in polled and interrupt examples.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-03-23 17:35:12 +05:30
VNSL Durga
53f21544f9 ZDMA_v1_0: Modified XZDma_TotalByteClear
clearing by writing read back value from the register instead of
writing predefined macro

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-23 17:29:30 +05:30