keystone-rtos/spi-lld.git
17 months agoNOTICE OF RELOCATION master
Jacob Stiffler [Thu, 31 Oct 2019 17:57:16 +0000 (13:57 -0400)]
NOTICE OF RELOCATION

Active maintenance and development of the contents of this repository
has been relocated to git.ti.com/processor-sdk/pdk.git under the path
packages/ti/drv/spi.

The use of this repository has been deprecated and will no longer
receive updates.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
17 months agoospi: PRSDK-7095: fix OSPI SDR mode issue
Hao Zhang [Mon, 28 Oct 2019 15:13:50 +0000 (11:13 -0400)]
ospi: PRSDK-7095: fix OSPI SDR mode issue

1. Add SPI_V0_CMD_ENABLE_SDR control command
2. Add support to send Extended SPI mode Nonvolatile configuration to
   the flash device when in SDR mode
2. Enable the PHY pipeline mode when DMA is enabled in SDR mode

Signed-off-by: Hao Zhang <hzhang@ti.com>
17 months agoospi: PRSDK-6286: fix OSPI 166MHz problem for J721ES platform
Hao Zhang [Wed, 16 Oct 2019 13:17:37 +0000 (09:17 -0400)]
ospi: PRSDK-6286: fix OSPI 166MHz problem for J721ES platform

Add Chip Select Start of Transfer delay configuration SoC API and change
the read data capture delay to 0 to fix the 166 MHz timing issue for J721ES
platform.

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agoPRSDK-6460: Fixing Doxygen warnings DEV.SPI_LLD.01.00.00.16A
Mahesh Radhakrishnan [Thu, 3 Oct 2019 02:24:49 +0000 (22:24 -0400)]
PRSDK-6460: Fixing Doxygen warnings

18 months agospi: update RN and versions for 1.0.0.16 release DEV.PROCESSOR-SDK.06.01.00.07 DEV.SPI_LLD.01.00.00.16 REL.PDK.J7.01.00.00.04
Hao Zhang [Mon, 30 Sep 2019 15:14:32 +0000 (11:14 -0400)]
spi: update RN and versions for 1.0.0.16 release

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agospi: PRSDK-6349: fix Misra-C issues
Hao Zhang [Mon, 30 Sep 2019 13:11:58 +0000 (09:11 -0400)]
spi: PRSDK-6349: fix Misra-C issues

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agoospi: PRSDK-7104: fix a bug in indac and dac dma mode
Hao Zhang [Fri, 27 Sep 2019 14:14:58 +0000 (10:14 -0400)]
ospi: PRSDK-7104: fix a bug in indac and dac dma mode

A bug is introduced during the Misra-C issue clean-up that
OSPI_transfer will return error when in block mode (INDAC or
DAC DMA mode), this will cause OSPI boot failure in SBL.

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agoPDK-2666: c++ build fix REL.PDK.J7.01.00.00.01 REL.PDK.J7.01.00.00.02 REL.PDK.J7.01.00.00.03
Prasad Konnur [Tue, 24 Sep 2019 08:54:36 +0000 (14:24 +0530)]
PDK-2666: c++ build fix

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months agospi: PRSDK-6349: fix Misra-C issues
Hao Zhang [Fri, 20 Sep 2019 14:57:38 +0000 (10:57 -0400)]
spi: PRSDK-6349: fix Misra-C issues

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agospi: PRSDK-6984: remove unused macro define
Hao Zhang [Fri, 20 Sep 2019 10:14:28 +0000 (06:14 -0400)]
spi: PRSDK-6984: remove unused macro define

Remove INVALID_INTC_MUX_NUM macro define which is not used. This
will cause redefinition error when build an example which uses both
OSPI and GPIO.

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agoRemove extraneous whitespace
brandon wetzel [Thu, 12 Sep 2019 00:06:35 +0000 (20:06 -0400)]
Remove extraneous whitespace

18 months agoPUT_IOWR_SHORT (really any non-posted command) was incorrectly setting the posted...
brandon wetzel [Thu, 12 Sep 2019 00:01:36 +0000 (20:01 -0400)]
PUT_IOWR_SHORT (really any non-posted command) was incorrectly setting the posted TX queue full bit. Fixed to only set this bit upon receipt of a posted command.

18 months agospi: PRSDK-6349: fix Misra-C issues
Hao Zhang [Wed, 11 Sep 2019 13:55:49 +0000 (09:55 -0400)]
spi: PRSDK-6349: fix Misra-C issues

Signed-off-by: Hao Zhang <hzhang@ti.com>
19 months agoPRSDK-6469: Undefined the SPI_MASTERONLY_TESTS macro
Dasnavis Sabiya [Wed, 11 Sep 2019 11:46:09 +0000 (17:16 +0530)]
PRSDK-6469: Undefined the SPI_MASTERONLY_TESTS macro

Removed SPI_MASTERONLY_TESTS macro to enable all Master-Slave
test cases.

19 months agoPRSDK-5307: Updated the Spi_tests_master structure
Dasnavis Sabiya [Mon, 9 Sep 2019 06:17:52 +0000 (11:47 +0530)]
PRSDK-5307: Updated the Spi_tests_master structure

Updated the Spi_tests_master structure to include all
Master Only test cases

19 months agoPRSDK-5307: Disabled Master-Slave test cases in McSPI Master Slave Example
Dasnavis Sabiya [Fri, 6 Sep 2019 11:40:10 +0000 (17:10 +0530)]
PRSDK-5307: Disabled Master-Slave test cases in McSPI Master Slave Example

Enabled Master Only test cases to validate SPI cancel test case

19 months agoRemoving Profile and independent example for J7 REL.PDK.J7.00.09.01.01 REL.PDK.J7.00.09.01.02 REL.PDK.J7.00.09.01.03 REL.PDK.J7.00.09.01.04 REL.PDK.J7.00.09.01.05
Ankur [Wed, 4 Sep 2019 07:57:53 +0000 (13:27 +0530)]
Removing Profile and independent example for J7

Signed-off-by: Ankur <a0132173@ti.com>
19 months agoospi: PRSDK-5466: fix issue OSPI driver re-open() fails on XIP mode
Hao Zhang [Tue, 27 Aug 2019 14:31:54 +0000 (10:31 -0400)]
ospi: PRSDK-5466: fix issue OSPI driver re-open() fails on XIP mode

Remove the code to disable OSPI controller in SPI_close(), so that user
application can still access OSPI flash in DAC mode when the OSPI instance
is closed. The OSPI controller is opened with default configuration when
the instance is opened again.

Signed-off-by: Hao Zhang <hzhang@ti.com>
19 months agoUsing common xdc .cfg files for j721e and enabling baremetal examples for arm only
Mahesh Radhakrishnan [Wed, 28 Aug 2019 19:15:15 +0000 (15:15 -0400)]
Using common xdc .cfg files for j721e and enabling baremetal examples for arm only

19 months agoPRSDK-5307: Fixed the SPI Transfer Cancel Test Case hang
Dasnavis Sabiya [Wed, 21 Aug 2019 09:41:28 +0000 (15:11 +0530)]
PRSDK-5307: Fixed the SPI Transfer Cancel Test Case hang

This patch fixes SPI Transfer Cancel Test Case hang due to the updates
made to fix PRSDK-6285

Signed-off-by: Dasnavis Sabiya <x0265826@ti.com>
19 months agoPRSDK-6233: Enabling all cores for j7
Mahesh Radhakrishnan [Wed, 21 Aug 2019 21:17:45 +0000 (17:17 -0400)]
PRSDK-6233: Enabling all cores for j7

20 months agoMcSPI: PRSDK-6285: fix McSPI master/slave example baremetal build error
Hao Zhang [Mon, 12 Aug 2019 10:16:06 +0000 (06:16 -0400)]
McSPI: PRSDK-6285: fix McSPI master/slave example baremetal build error

Signed-off-by: Hao Zhang <hzhang@ti.com>
20 months agoJ7 Build Fix + disabling master-slave baremetal example because of build issue
Ankur [Sat, 3 Aug 2019 04:14:35 +0000 (09:44 +0530)]
J7 Build Fix + disabling master-slave baremetal example because of build issue

Signed-off-by: Ankur <a0132173@ti.com>
20 months agoChanges based on J7 SOC Alias changes
Ankur [Tue, 30 Jul 2019 13:35:55 +0000 (19:05 +0530)]
Changes based on J7 SOC Alias changes

Signed-off-by: Ankur <a0132173@ti.com>
20 months agoRevert "PRSDK-5307: SPI Transfer Cancel implementation for SPI V1 Driver"
Dasnavis Sabiya [Tue, 30 Jul 2019 16:23:41 +0000 (21:53 +0530)]
Revert "PRSDK-5307: SPI Transfer Cancel implementation for SPI V1 Driver"

This reverts commit 2b9132608bfdfe538ed02e6639726b4861f2d798.
Reverting SPI Transfer Cancel implmentation on SPI V1 Driver and this
shall be added once the McSPI Master Slave example failure issue is fixed.

20 months agoPRSDK-5307: SPI Transfer Cancel implementation for SPI V1 Driver
Dasnavis Sabiya [Mon, 22 Jul 2019 10:17:45 +0000 (15:47 +0530)]
PRSDK-5307: SPI Transfer Cancel implementation for SPI V1 Driver

20 months agoPRSDK-5307: Review comments implemented
Dasnavis Sabiya [Mon, 22 Jul 2019 07:20:24 +0000 (12:50 +0530)]
PRSDK-5307: Review comments implemented

Updated the Transfer Cancel function to disable the DMA channel in
DMA mode transfer

20 months agoPRSDK-5307: SPI Transfer Cancel implementation in SPI V0 Driver
Dasnavis Sabiya [Thu, 18 Jul 2019 04:29:29 +0000 (09:59 +0530)]
PRSDK-5307: SPI Transfer Cancel implementation in SPI V0 Driver

- Added SPI Transfer Cancel support in SPI V0 Driver
- Added SPI Transfer cancel test cases in McSPI Master-Slave example

Signed-off-by: Dasnavis Sabiya <x0265826@ti.com>
21 months agoUpdate doc/ver for 6.0 DEV.PROCESSOR-SDK.06.00.00.05 DEV.SPI_LLD.01.00.00.15 PSDK.QNX.J7.IPC_INTERRUPT_ONLY.v1 PSDK.QNX.J7.IPC_POLLING_MODE.v1 PSDK.QNX.J7.IPC_SCICLIENT_INTERRUPTS.v1 PSDKQA_7Q70_01_01 REL.PDK.J7.00.09.00.02 REL.PDK.J7.00.09.00.03 REL.PDK.J7.00.09.00.04 REL.PDK.J7.00.09.00.05 REL.PDK.J7.00.09.00.06 REL.PDK.J7.00.09.00.07 REL.PDK.J7.00.09.00.08 REL.PDK.J7.00.09.00.09 REL.PDK.J7.00.09.00.10 REL.PDK.J7.00.09.00.11 REL.PDK.J7.00.09.00.12 REL.PDK.J7.00.09.00.13 REL.PDK.J7.00.09.00.14 REL.PDK.J7.00.09.00.15 REL.PDK.J7.00.09.00.16
Mahesh Radhakrishnan [Mon, 24 Jun 2019 18:03:02 +0000 (14:03 -0400)]
Update doc/ver for 6.0

21 months agoEntry point symbol updated for non-AM335x SOCs (specifcally AM437x in this case)
brandon wetzel [Fri, 21 Jun 2019 16:57:06 +0000 (11:57 -0500)]
Entry point symbol updated for non-AM335x SOCs (specifcally AM437x in this case)

21 months agoospi: PRSDK-5745: fix R5 PMU counter roll over issue
Hao Zhang [Thu, 20 Jun 2019 14:03:19 +0000 (10:03 -0400)]
ospi: PRSDK-5745: fix R5 PMU counter roll over issue

Use the OSAL TimerP_getTimeInUsecs() API to get the time stamp in
usec instead of reading a 32-bit PMU counter to fix the roll over
issue.

Signed-off-by: Hao Zhang <hzhang@ti.com>
21 months agoospi: PRSDK-5872: fix the OSPI Bios test example hangup problem
Hao Zhang [Wed, 19 Jun 2019 13:48:36 +0000 (09:48 -0400)]
ospi: PRSDK-5872: fix the OSPI Bios test example hangup problem

The problem was introduced by a change to add spi_test task create in
the main example code to support J7. spi_test task should be removed
in the bios config file.

Signed-off-by: Hao Zhang <hzhang@ti.com>
21 months agoThe "main" symbol seems to leak into the Host symbol list, so removed main symbol...
brandon wetzel [Thu, 25 Apr 2019 02:18:37 +0000 (22:18 -0400)]
The "main" symbol seems to leak into the Host symbol list, so removed main symbol from ASM and fixed associated files.
Additionally needed to set up PRCM stuff for PRU to work correctly.

21 months agoCopy PRU host management from SPI-FW. Still not working, runs past main()...
brandon wetzel [Wed, 24 Apr 2019 21:34:20 +0000 (17:34 -0400)]
Copy PRU host management from SPI-FW. Still not working, runs past main()...

22 months agoPRSDK-4453 Addressing review comments
Sinthu Raja M [Mon, 20 May 2019 05:42:24 +0000 (11:12 +0530)]
PRSDK-4453 Addressing review comments

 Remove redundant config file of AM572x IDK SMP examples.
 Update AM572x example config file to include SMP configuration.
 Remove driver components from A53 core config file.

22 months agoPRSDK-4453 Add SMP enabled support for A53 core
Sinthu Raja M [Fri, 17 May 2019 05:09:38 +0000 (10:39 +0530)]
PRSDK-4453 Add SMP enabled support for A53 core

 Update makefile and component makefile to add entry for SMp enabled
 examples in both DMA and non DMA mode.

22 months agoPRSDK-4453 Update config file to remove board dependancy
Sinthu Raja M [Tue, 14 May 2019 09:44:38 +0000 (15:14 +0530)]
PRSDK-4453 Update config file to remove board dependancy

 Update config file to remove board and SCI components to remove board
 name dependency.

22 months agoPRSDK-4453 Add SMP enabled BIOS project for AM572x IDK
Sinthu Raja M [Mon, 13 May 2019 06:24:15 +0000 (11:54 +0530)]
PRSDK-4453 Add SMP enabled BIOS project for AM572x IDK

 Add project text file and RTSC config file for SMP enabled Test project
 which includes both DMA and non-DMA mode.

22 months agoPRSDK-4453 Update RTSC config file to lod PDK components
Sinthu Raja M [Wed, 8 May 2019 10:38:18 +0000 (16:08 +0530)]
PRSDK-4453 Update RTSC config file to lod PDK components

 Update SPI example/test RTSC config file ti load PDK driver components
 and OSAL package during compilation.

22 months agoAdding support to OSPI J7
Mahesh Radhakrishnan [Thu, 6 Jun 2019 15:20:28 +0000 (11:20 -0400)]
Adding support to OSPI J7

22 months agoospi: j7: fix ospi flash test example build linking error
Hao Zhang [Mon, 3 Jun 2019 15:58:30 +0000 (11:58 -0400)]
ospi: j7: fix ospi flash test example build linking error

Signed-off-by: Hao Zhang <hzhang@ti.com>
22 months agoFixes for properly including initMmu function
Mahesh Radhakrishnan [Fri, 31 May 2019 16:34:11 +0000 (12:34 -0400)]
Fixes for properly including initMmu function

22 months ago[Bug Fix]PRSDK-5718:[Spi] SPI Channel should be enabled first before setting up FIFO
Sunil Kumar MS [Tue, 30 Apr 2019 09:21:20 +0000 (14:51 +0530)]
[Bug Fix]PRSDK-5718:[Spi] SPI Channel should be enabled first before setting up FIFO

Description:MCSPI channel should be enabled first for communication before setting up transfer mode, FIFO set up with data.

Resolution: MCSPI Channel is enabled first before setting up FIFO.

Signed-off-by: Sunil Kumar MS <x0190988@bangvideoapps02>
22 months agoBuild Fix - Fixed MMU init API call for RTOS app
Ankur [Thu, 30 May 2019 10:33:17 +0000 (16:03 +0530)]
Build Fix - Fixed MMU init API call for RTOS app

Signed-off-by: Ankur <a0132173@ti.com>
22 months agoUse common OSAL MMU init fxn
Sivaraj R [Mon, 20 May 2019 07:55:04 +0000 (13:25 +0530)]
Use common OSAL MMU init fxn

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoBuild Fix REL.PDK.J7.00.09.00.01
Ankur [Thu, 9 May 2019 15:52:43 +0000 (21:22 +0530)]
Build Fix

Signed-off-by: Ankur <a0132173@ti.com>
23 months ago[Bug Fix]PRSDK-5716:[Spi] SPI Data pin direction is not configurable in slave mode
Sunil Kumar MS [Tue, 30 Apr 2019 10:03:03 +0000 (15:33 +0530)]
[Bug Fix]PRSDK-5716:[Spi] SPI Data pin direction is not configurable in slave mode

Description:SPI Data pin direction shall be configurable in slave mode also. Currently this provision is given only in master mode.

Resolution: In slave mode MCSPIPinDirSet API is called to configure pin direction.

Signed-off-by: Sunil Kumar MS <x0190988@bangvideoapps02>
23 months ago[Bug Fix]PRSDK-5717:[Spi] Multi/Single Channel is enabled in slave mode which is...
Sunil Kumar MS [Tue, 30 Apr 2019 11:08:02 +0000 (16:38 +0530)]
[Bug Fix]PRSDK-5717:[Spi] Multi/Single Channel is enabled in slave mode which is applicable only in master mode

Description:Multi/Single Channel is enabled in slave mode which is applicable only in master mode. This configuration is meaningful in master mode only.

Resolution: Enabling of Single/Multi channel is used only in master mode. Removed enabling in slave mode.

Signed-off-by: Sunil Kumar MS <x0190988@bangvideoapps02>
23 months agoPRSDK-5539 Address Review comments
Sinthu Raja M [Fri, 3 May 2019 10:37:05 +0000 (16:07 +0530)]
PRSDK-5539 Address Review comments

 1. Reverted RX and TX handling order in the ISR
 2. Add conditional check inside ISR to compensate the RX interrupt delay
    to transmit dummy data. This will rtrigger the RX interrupt to read
    the missing data.

23 months agoPRSDK-5539 Fix SPI Rx interrupt trigger delay
Sinthu Raja M [Thu, 2 May 2019 12:09:23 +0000 (17:39 +0530)]
PRSDK-5539 Fix SPI Rx interrupt trigger delay

ISSUE:
Delay happens to set the RX interrupt flag in the controller. Due to
this delay, the data is transmitted before the data is been read.

Fix:
In ISR while loop do RX interrupt handling first and then the TX
interrupt handling and then the error handling.
Increment write count index to trigger a dummy transfer only for
interrupt mode so that the receive interrupt will get triggered for the
last byte of data.

23 months agoPDK-4085: Add j721e_evm build support
Sivaraj R [Tue, 16 Apr 2019 14:22:54 +0000 (19:52 +0530)]
PDK-4085: Add j721e_evm build support

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoMerge pull request #182 in PROCESSOR-SDK/spi-lld from WIP_emac_spy_doxygen to master
Sivaraj R [Wed, 10 Apr 2019 05:58:38 +0000 (00:58 -0500)]
Merge pull request #182 in PROCESSOR-SDK/spi-lld from WIP_emac_spy_doxygen to master

Squashed commit of the following:

commit ae7847834e43b0dca02b75ebbe18066f4a3165a4
Author: Nicholas Chan <n-chan1@ti.com>
Date:   Tue Apr 9 01:08:07 2019 -0500

    Removed soc doxygen groups

commit 6a021d65b5dff9b82de88c7d1e2ec0850085ffaa
Author: Nicholas Chan <n-chan1@ti.com>
Date:   Fri Apr 5 06:05:11 2019 -0500

    Added doxygen groups

2 years agoPackaging the missing source files for j7 examples REL.PDK.J7.00.08.00.05 REL.PDK.J7.00.08.00.06 REL.PDK.J7.00.08.00.07 REL.PDK.J7.00.08.00.08 REL.PDK.J7.00.08.00.09 REL.PDK.J7.00.08.00.10 REL.PDK.J7.00.08.00.11 REL.PDK.J7.00.08.00.12
Mahesh Radhakrishnan [Wed, 13 Mar 2019 21:00:49 +0000 (17:00 -0400)]
Packaging the missing source files for j7 examples

2 years agoRe-enabling j7 support
Mahesh Radhakrishnan [Wed, 13 Mar 2019 16:38:20 +0000 (12:38 -0400)]
Re-enabling j7 support

2 years agoqspi: PRSDK-5559: fix QSPI clock prescaler configuration problem DEV.PROCESSOR-SDK.05.03.00.05 DEV.SPI_LLD.01.00.00.14A REL.PDK.J7.00.08.00.04
Hao Zhang [Tue, 19 Mar 2019 10:54:08 +0000 (06:54 -0400)]
qspi: PRSDK-5559: fix QSPI clock prescaler configuration problem

QSPI clock is hard coded in the driver, the prescaler should be
configured based on the clock divider set in hwAttrs or baud rate
set in SPI params.

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agospi: update version and RN for release 1.0.0.14 DEV.SPI_LLD.01.00.00.14 REL.PDK.J7.00.08.00.01 REL.PDK.J7.00.08.00.02 REL.PDK.J7.00.08.00.03
Hao Zhang [Sun, 17 Mar 2019 09:43:51 +0000 (05:43 -0400)]
spi: update version and RN for release 1.0.0.14

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoPRSDK-5373 Addressing review comments
Sinthu Raja M [Wed, 13 Mar 2019 04:51:40 +0000 (10:21 +0530)]
PRSDK-5373 Addressing review comments

 Add data alignment attribute that is supported by GCC compiler for the
 transmit and recieve buffer.

2 years agoPRSDK-5373: Enabled DMA mode support for OMAPL13x
M V Pratap Reddy [Mon, 25 Feb 2019 20:43:52 +0000 (02:13 +0530)]
PRSDK-5373: Enabled DMA mode support for OMAPL13x

PRSDK-5373 Enable SPI example validation in DMA mode

 Add support for SPI DMA mode example validation on OMAPL138

PRSDK-5373 Add OMAPL137 SPI loopback example

 Enable SPI loopback example for OMAPL137 EVM both DMA and non DMA mode.

2 years agospi: PRSDK-1256: add timeout support for polled mode SPI/McSPI transaction
Hao Zhang [Tue, 12 Mar 2019 15:51:51 +0000 (11:51 -0400)]
spi: PRSDK-1256: add timeout support for polled mode SPI/McSPI transaction

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agospi: PRSDK-1256: add timeout support for polled mode SPI/McSPI transaction
Hao Zhang [Thu, 7 Mar 2019 15:47:18 +0000 (10:47 -0500)]
spi: PRSDK-1256: add timeout support for polled mode SPI/McSPI transaction

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoPDK-3715: Migrate to new CSL SOC alias change
Sivaraj R [Tue, 5 Mar 2019 05:22:01 +0000 (10:52 +0530)]
PDK-3715: Migrate to new CSL SOC alias change

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoMerge pull request #164 in PROCESSOR-SDK/spi-lld from PRSDK-4069 to master
Hao Zhang [Fri, 1 Mar 2019 22:39:44 +0000 (16:39 -0600)]
Merge pull request #164 in PROCESSOR-SDK/spi-lld from PRSDK-4069 to master

* commit '7caad191e3226371c753ab37faac8dee39e76f83':
  ospi: PRSDK-4069: added stub for XIP enable flag for J721e
  am65xx/ospi/xip: added stub for sending XIP command to flash

2 years agoMerge pull request #175 in PROCESSOR-SDK/spi-lld from PRSDK-5094 to master
Hao Zhang [Fri, 1 Mar 2019 18:25:29 +0000 (12:25 -0600)]
Merge pull request #175 in PROCESSOR-SDK/spi-lld from PRSDK-5094 to master

* commit '0370daf32ada2d8b72dbdc7fac0e9fe4076d3d44':
  qspi: PRSDK-5094: add dma support for QSPI IP v1 driver

2 years agoospi: PRSDK-4069: added stub for XIP enable flag for J721e
Hao Zhang [Fri, 1 Mar 2019 17:23:47 +0000 (12:23 -0500)]
ospi: PRSDK-4069: added stub for XIP enable flag for J721e

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoqspi: PRSDK-5094: add dma support for QSPI IP v1 driver
Hao Zhang [Fri, 1 Mar 2019 11:51:40 +0000 (06:51 -0500)]
qspi: PRSDK-5094: add dma support for QSPI IP v1 driver

Add dma support in memory map mode for QSPI IP v1 driver to increase the
read/write performance.

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoam65xx/ospi/xip: added stub for sending XIP command to flash
Somnath Mukherjee [Mon, 4 Feb 2019 08:22:55 +0000 (13:52 +0530)]
am65xx/ospi/xip: added stub for sending XIP command to flash

Signed-off-by: Somnath Mukherjee <somnath@ti.com>
2 years agoMerge pull request #168 in PROCESSOR-SDK/spi-lld from j7_packaging_fix to master
Mahesh Radhakrishnan [Fri, 15 Feb 2019 22:37:52 +0000 (16:37 -0600)]
Merge pull request #168 in PROCESSOR-SDK/spi-lld from j7_packaging_fix to master

* commit '71adaddb82cf25fb169598339950690ffff01e52':
  Add the missing files SPI_V0
  Fixing the inclusion of files for soc indp library case
  Further cleanup of source packaging per soc
  Facilitate using SPI_soc.h instead of v0/v1
  j7_packaging_issue_fix

2 years agoMerge pull request #172 in PROCESSOR-SDK/spi-lld from PRSDK-5275 to master
Mahesh Radhakrishnan [Fri, 15 Feb 2019 21:56:28 +0000 (15:56 -0600)]
Merge pull request #172 in PROCESSOR-SDK/spi-lld from PRSDK-5275 to master

* commit '935a6ff2646c64055297837e78d6304649bea0d7':
  ospi: PRSDK-5275: add 166MHz RCLK test cases for automation

2 years agoospi: PRSDK-5275: add 166MHz RCLK test cases for automation
Hao Zhang [Fri, 15 Feb 2019 16:43:37 +0000 (11:43 -0500)]
ospi: PRSDK-5275: add 166MHz RCLK test cases for automation

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoAdd the missing files SPI_V0
Mahesh Radhakrishnan [Fri, 15 Feb 2019 15:57:55 +0000 (10:57 -0500)]
Add the missing files SPI_V0

2 years agoFixing the inclusion of files for soc indp library case
Mahesh Radhakrishnan [Thu, 14 Feb 2019 21:23:46 +0000 (16:23 -0500)]
Fixing the inclusion of files for soc indp library case

2 years agoMerge pull request #171 in PROCESSOR-SDK/spi-lld from PRSDK-5265 to master
Mahesh Radhakrishnan [Thu, 14 Feb 2019 18:44:56 +0000 (12:44 -0600)]
Merge pull request #171 in PROCESSOR-SDK/spi-lld from PRSDK-5265 to master

* commit '3382e118e5133002c5b7b4580bce75fb21c3c5c0':
  ospi: PRSDK-5265: fix issue in INDAC mode with interrupt enabled

2 years agoFurther cleanup of source packaging per soc
Mahesh Radhakrishnan [Thu, 14 Feb 2019 18:03:25 +0000 (13:03 -0500)]
Further cleanup of source packaging per soc

2 years agoMerge pull request #169 in PROCESSOR-SDK/spi-lld from PRSDK-5260 to master
Mahesh Radhakrishnan [Thu, 14 Feb 2019 16:00:33 +0000 (10:00 -0600)]
Merge pull request #169 in PROCESSOR-SDK/spi-lld from PRSDK-5260 to master

* commit '6c38a7c58dd0236b893054cfa4d10fe7cfc4ce5e':
  ospi: PRSDK-5260: enable DDR mode by default for J7
  ospi: fix test size bug introduced by J7 changes
  ospi: PRSDK-5260: support SDR mode

2 years agoospi: PRSDK-5265: fix issue in INDAC mode with interrupt enabled
Hao Zhang [Thu, 14 Feb 2019 13:26:07 +0000 (08:26 -0500)]
ospi: PRSDK-5265: fix issue in INDAC mode with interrupt enabled

Fix the wrong OSPI interrupt number used for A53 core.

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoospi: PRSDK-5260: enable DDR mode by default for J7
Hao Zhang [Thu, 14 Feb 2019 10:45:44 +0000 (05:45 -0500)]
ospi: PRSDK-5260: enable DDR mode by default for J7

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoMerge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/spi-lld into j7_pac...
Mahesh Radhakrishnan [Wed, 13 Feb 2019 21:54:20 +0000 (16:54 -0500)]
Merge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/spi-lld into j7_packaging_fix

Conflicts:
src/src_files_common.mk

2 years agoFacilitate using SPI_soc.h instead of v0/v1
Mahesh Radhakrishnan [Wed, 13 Feb 2019 21:49:47 +0000 (16:49 -0500)]
Facilitate using SPI_soc.h instead of v0/v1

2 years agoMerge pull request #170 in PROCESSOR-SDK/spi-lld from review_j7_fix_sivaraj to master
Sivaraj R [Wed, 13 Feb 2019 06:49:19 +0000 (00:49 -0600)]
Merge pull request #170 in PROCESSOR-SDK/spi-lld from review_j7_fix_sivaraj to master

* commit 'a486df131fe4312ffd8e09b1be581d91c03bc508':
  Disable J7 build still package build is fixed

2 years agoDisable J7 build still package build is fixed
Sivaraj R [Wed, 13 Feb 2019 02:41:03 +0000 (08:11 +0530)]
Disable J7 build still package build is fixed

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoospi: fix test size bug introduced by J7 changes
Hao Zhang [Tue, 12 Feb 2019 15:00:49 +0000 (10:00 -0500)]
ospi: fix test size bug introduced by J7 changes

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoospi: PRSDK-5260: support SDR mode
Hao Zhang [Thu, 24 Jan 2019 22:15:55 +0000 (17:15 -0500)]
ospi: PRSDK-5260: support SDR mode

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoj7_packaging_issue_fix
Mahesh Radhakrishnan [Mon, 11 Feb 2019 22:19:02 +0000 (17:19 -0500)]
j7_packaging_issue_fix

2 years agoMerge pull request #166 in PROCESSOR-SDK/spi-lld from PRSDK-5288 to master
Hao Zhang [Mon, 11 Feb 2019 14:28:34 +0000 (08:28 -0600)]
Merge pull request #166 in PROCESSOR-SDK/spi-lld from PRSDK-5288 to master

* commit '05d68c79cbc8a8a12f50a0a8d56d635c5d1b6f52':
  qspi: PRSDK-5288: remove redundant OSAL_pendLock code

2 years agoMerge pull request #167 in PROCESSOR-SDK/spi-lld from review_package_fix_sivaraj...
Sivaraj R [Mon, 11 Feb 2019 02:39:55 +0000 (20:39 -0600)]
Merge pull request #167 in PROCESSOR-SDK/spi-lld from review_package_fix_sivaraj to master

* commit '92de25b5b297a8b95d05e3f04ffa18682483841f':
  Fix package build

2 years agoFix package build
Sivaraj R [Sun, 10 Feb 2019 10:35:31 +0000 (16:05 +0530)]
Fix package build

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoqspi: PRSDK-5288: remove redundant OSAL_pendLock code
Hao Zhang [Fri, 8 Feb 2019 16:32:52 +0000 (11:32 -0500)]
qspi: PRSDK-5288: remove redundant OSAL_pendLock code

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoMerge pull request #165 in PROCESSOR-SDK/spi-lld from review_j721e_sivaraj to master
Sivaraj R [Thu, 7 Feb 2019 17:41:08 +0000 (11:41 -0600)]
Merge pull request #165 in PROCESSOR-SDK/spi-lld from review_j721e_sivaraj to master

* commit '7beec17f578a7f8a10f5924ab3be885426d76635':
  PDK-3586: J7 to J721E

2 years agoPDK-3586: J7 to J721E
Sivaraj R [Thu, 7 Feb 2019 15:00:01 +0000 (20:30 +0530)]
PDK-3586: J7 to J721E

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoMerge pull request #163 in PROCESSOR-SDK/spi-lld from am75xx_integration_review to...
Sivaraj R [Thu, 7 Feb 2019 10:34:53 +0000 (04:34 -0600)]
Merge pull request #163 in PROCESSOR-SDK/spi-lld from am75xx_integration_review to master

* commit '700a856e0d4492cb513d679786d8df112733bbf5':
  J7 integration: Addressing review comments
  Fixes for OSPI flash example on A72 core
  Disabling flash write for VLAB test
  am75xx Integration initial version

2 years agoJ7 integration: Addressing review comments
Mahesh Radhakrishnan [Wed, 6 Feb 2019 15:22:53 +0000 (10:22 -0500)]
J7 integration: Addressing review comments

2 years agoFixes for OSPI flash example on A72 core
Mahesh Radhakrishnan [Tue, 5 Feb 2019 22:31:14 +0000 (17:31 -0500)]
Fixes for OSPI flash example on A72 core

2 years agoMerge pull request #162 in PROCESSOR-SDK/spi-lld from PRSDK-5029 to master
Hao Zhang [Tue, 5 Feb 2019 14:58:23 +0000 (08:58 -0600)]
Merge pull request #162 in PROCESSOR-SDK/spi-lld from PRSDK-5029 to master

* commit 'c38c3bdc46b51687a7d41ed0f648b30f15919188':
  PRSDK-5029: Corrected the placement of QSPI flash dummy read cycles

2 years agoDisabling flash write for VLAB test
Mahesh Radhakrishnan [Mon, 4 Feb 2019 22:15:30 +0000 (17:15 -0500)]
Disabling flash write for VLAB test

2 years agoam75xx Integration initial version
Mahesh Radhakrishnan [Mon, 4 Feb 2019 21:21:49 +0000 (16:21 -0500)]
am75xx Integration initial version

Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
2 years agoPRSDK-5029: Corrected the placement of QSPI flash dummy read cycles
M V Pratap Reddy [Mon, 4 Feb 2019 19:30:09 +0000 (01:00 +0530)]
PRSDK-5029: Corrected the placement of QSPI flash dummy read cycles

2 years agoMerge pull request #161 in PROCESSOR-SDK/spi-lld from review-PRSDK-5273 to master
Hao Zhang [Tue, 22 Jan 2019 15:22:23 +0000 (09:22 -0600)]
Merge pull request #161 in PROCESSOR-SDK/spi-lld from review-PRSDK-5273 to master

* commit 'db0ee33cb82e3f4ed684095862c0ca5245854cc3':
  PRSDK-5273: RTSC depdencies added

2 years agoPRSDK-5273: RTSC depdencies added
Aravind Batni [Tue, 22 Jan 2019 11:19:01 +0000 (06:19 -0500)]
PRSDK-5273: RTSC depdencies added

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoMerge pull request #160 in PROCESSOR-SDK/spi-lld from PRSDK-5265 to master REL.PDK.J7.00.05.00.09 REL.PDK.J7.00.05.00.10 REL.PDK.J7.00.05.00.11 REL.PDK.J7.00.05.00.12 REL.PDK.J7.00.05.00.13 REL.PDK.J7.00.05.00.14 REL.PDK.J7.00.05.00.15
Mahesh Radhakrishnan [Thu, 10 Jan 2019 19:42:26 +0000 (13:42 -0600)]
Merge pull request #160 in PROCESSOR-SDK/spi-lld from PRSDK-5265 to master

* commit '7fd437a6e309837bd917da75f427733ba8c107d1':
  ospi: PRSDK-5265: fix issue of OSPI INDAC mode with interrupt enabled

2 years agoospi: PRSDK-5265: fix issue of OSPI INDAC mode with interrupt enabled
Hao Zhang [Thu, 10 Jan 2019 19:03:03 +0000 (14:03 -0500)]
ospi: PRSDK-5265: fix issue of OSPI INDAC mode with interrupt enabled

Signed-off-by: Hao Zhang <hzhang@ti.com>