keystone-rtos/vps.git
2 years agoPRSDK-5273: RTSC depdencies added master DEV.VPS_LLD.01.00.01.13A
Aravind Batni [Tue, 22 Jan 2019 11:26:13 +0000 (06:26 -0500)]
PRSDK-5273: RTSC depdencies added

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoVersion update for Processor SDK 5.1 DEV.PROCESSOR-SDK.05.01.00.10 DEV.PROCESSOR-SDK.05.01.00.11 DEV.VPS_LLD.01.00.01.13
Aravind Batni [Fri, 21 Sep 2018 21:15:53 +0000 (17:15 -0400)]
Version update for Processor SDK 5.1

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoAddress PRSDK-4537: align makefiles to build infrastructure build changes
Aravind Batni [Wed, 5 Sep 2018 14:12:48 +0000 (10:12 -0400)]
Address PRSDK-4537: align makefiles to build infrastructure build changes

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoPRSDK-4252: address typo in a15 link cmd file and remove setvbuf from baremetal appli...
Aravind Batni [Tue, 17 Jul 2018 18:20:55 +0000 (14:20 -0400)]
PRSDK-4252: address typo in a15 link cmd file and remove setvbuf from baremetal application

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoVersion update for procsdk 5.0 release DEV.VPS_LLD.01.00.01.11
Sinthu Raja M [Tue, 17 Jul 2018 14:08:15 +0000 (19:38 +0530)]
Version update for procsdk 5.0 release

2 years agoPRSDK-4138: resolve CCS project build issue for VPS projets
Aravind Batni [Fri, 6 Jul 2018 15:52:00 +0000 (11:52 -0400)]
PRSDK-4138: resolve CCS project build issue for VPS projets

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoPDK-2815 Bsp_ar12xxSetDeviceCrcType not called for ES1.0
Piyali Goswami [Tue, 26 Jun 2018 09:08:11 +0000 (14:38 +0530)]
PDK-2815 Bsp_ar12xxSetDeviceCrcType not called for ES1.0

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years agoBugFix: PDK-2814
prasad konnur [Tue, 26 Jun 2018 10:00:01 +0000 (15:30 +0530)]
BugFix: PDK-2814

 Desc: Max number of semaphore in PDK not enough for AVB UC on TDA2Px - Increase to 1050

 Resolution: Increased the number of Semaphores in static config

Signed-off-by: prasad konnur <prasadkonnur@ti.com>
2 years agoTDA3x SK: Fixed board ID Issue
Sivaraj R [Tue, 26 Jun 2018 05:00:24 +0000 (10:30 +0530)]
TDA3x SK: Fixed board ID Issue

Signed-off-by: Ben McGee <benmcgee@d3engineering.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years ago[Bug Fix] PDK-2810
Sivaraj R [Mon, 25 Jun 2018 14:48:46 +0000 (20:18 +0530)]
[Bug Fix] PDK-2810

PDK-2810: [VPS] VIP Capt Close does not unregister the overflow interrupt

Resolution:
- Unregister of VIP overflow interrupt is wrongly done
- Instead of using overflow handle it was using the VSYNC handle
- Updated test case to cover this scenario
- This was missed becasuse of test gap

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoMisra C fixes for Radar
Piyali Goswami [Sat, 23 Jun 2018 05:30:12 +0000 (11:00 +0530)]
Misra C fixes for Radar

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years agoPDK-2811 Updated the stop sequence for cascade Radar
Piyali Goswami [Thu, 21 Jun 2018 03:35:01 +0000 (09:05 +0530)]
PDK-2811 Updated the stop sequence for cascade Radar

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years agoupdated release version number
prasad konnur [Thu, 21 Jun 2018 08:42:13 +0000 (14:12 +0530)]
updated release version number

Signed-off-by: prasad konnur <prasadkonnur@ti.com>
2 years agoadd queue utils ut for all platforms
prasad konnur [Mon, 18 Jun 2018 13:32:19 +0000 (19:02 +0530)]
add queue utils ut for all platforms

Signed-off-by: prasad konnur <prasadkonnur@ti.com>
2 years agokw critical issue fixed
prasad konnur [Mon, 18 Jun 2018 12:27:34 +0000 (17:57 +0530)]
kw critical issue fixed

Signed-off-by: prasad konnur <prasadkonnur@ti.com>
2 years agoMisrac C fix
Piyali Goswami [Tue, 12 Jun 2018 08:34:09 +0000 (14:04 +0530)]
Misrac C fix

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years ago[MISRA] Fixed MISRA warning for global variables
Lucas Weaver [Mon, 11 Jun 2018 13:47:11 +0000 (08:47 -0500)]
[MISRA] Fixed MISRA warning for global variables

2 years agoKW and Misra C fixes
Piyali Goswami [Sun, 10 Jun 2018 05:46:20 +0000 (11:16 +0530)]
KW and Misra C fixes

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years agomisra issue fix
prasad konnur [Fri, 8 Jun 2018 12:37:16 +0000 (18:07 +0530)]
misra issue fix

Signed-off-by: prasad konnur <prasadkonnur@ti.com>
2 years agoBuild Update with firmware header change
Piyali Goswami [Fri, 8 Jun 2018 07:26:42 +0000 (12:56 +0530)]
Build Update with firmware header change

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years agoPDK-2797 Enable Camera and Radar sensors connected to single UB960
Stanley Liu [Thu, 7 Jun 2018 02:22:39 +0000 (21:22 -0500)]
PDK-2797 Enable Camera and Radar sensors connected to single UB960

Signed-off-by: Stanley Liu <stanley_liu@ti.com>
2 years agomisra c fix
prasad konnur [Thu, 7 Jun 2018 14:07:23 +0000 (19:37 +0530)]
misra c fix

Signed-off-by: prasad konnur <prasadkonnur@ti.com>
2 years agoPDK-2805: Added D3 changes for RVP boards
Sivaraj R [Wed, 6 Jun 2018 14:17:34 +0000 (19:47 +0530)]
PDK-2805: Added D3 changes for RVP boards

- Added setup of additional FPD channels to the power up sequence
- Cleaned up bsp_boardTda2xxRvp
- Updated to support new revs of the TDA2xx RVP board IDs.
- Expanded the concept of LateInit() from TDA3 to TDA2 and moved
GPIO expander initialization to this function for TDA2 RVP.

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoMisra C fixes
Piyali Goswami [Wed, 6 Jun 2018 02:54:20 +0000 (08:24 +0530)]
Misra C fixes

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years ago[ULTRASONIC] Fixed doxygen warnings for ultrasonic API
Lucas Weaver [Tue, 5 Jun 2018 20:58:58 +0000 (15:58 -0500)]
[ULTRASONIC] Fixed doxygen warnings for ultrasonic API

2 years ago[ADASVISION-1870][PGA460] Added PGA460 driver
Lucas Weaver [Wed, 30 May 2018 22:56:57 +0000 (17:56 -0500)]
[ADASVISION-1870][PGA460] Added PGA460 driver

-Used in ultrasonic adaptive surroundview

2 years agoPRSDK-2194 Added RULES_MAKE macro
Sinthu Raja M [Wed, 23 May 2018 10:57:02 +0000 (16:27 +0530)]
PRSDK-2194 Added RULES_MAKE macro

 Added RULES_MAKE macro to support build based on custom Rules.make
 location

2 years agoPDK-2796 Address review comments
Stanley Liu [Tue, 22 May 2018 19:50:30 +0000 (14:50 -0500)]
PDK-2796 Address review comments

Signed-off-by: Stanley Liu <stanley_liu@ti.com>
2 years agoPDK-2796 Build update to include radar driver by default
Stanley Liu [Fri, 18 May 2018 22:54:43 +0000 (17:54 -0500)]
PDK-2796 Build update to include radar driver by default

Signed-off-by: Stanley Liu <stanleylocal@uda0863891b>
2 years agoPDK-2510 Support for ES3.0 device
Piyali Goswami [Thu, 24 May 2018 10:43:44 +0000 (16:13 +0530)]
PDK-2510 Support for ES3.0 device

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoPDK-2798 Adding Cache Invalidate All API
Piyali Goswami [Tue, 22 May 2018 05:30:53 +0000 (11:00 +0530)]
PDK-2798 Adding Cache Invalidate All API

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoSupport for the following APIs
Piyali Goswami [Mon, 14 May 2018 12:23:52 +0000 (17:53 +0530)]
Support for the following APIs

rlGetRfBootupStatus
rlDeviceSetTestPatternConfig

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoUsing BSP APIs for Pad Configuration
Piyali Goswami [Mon, 14 May 2018 10:41:43 +0000 (16:11 +0530)]
Using BSP APIs for Pad Configuration

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years ago[RADAR] PDK-2511 Adding Support for the Test Source Seeds
Piyali Goswami [Sun, 13 May 2018 02:56:09 +0000 (08:26 +0530)]
[RADAR] PDK-2511 Adding Support for the Test Source Seeds

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years agoPDK-2508 Adding Board Id for Cascade Board
Piyali Goswami [Sun, 13 May 2018 02:55:01 +0000 (08:25 +0530)]
PDK-2508 Adding Board Id for Cascade Board

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years agoPDK-2511 Updates for build and testing fixes
Piyali Goswami [Sat, 12 May 2018 13:24:59 +0000 (18:54 +0530)]
PDK-2511 Updates for build and testing fixes

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years agoPDK-2511 Adding support for APIs in the mmwavelink
Piyali Goswami [Fri, 11 May 2018 06:46:31 +0000 (12:16 +0530)]
PDK-2511 Adding support for APIs in the mmwavelink

Added support for the following APIs:
rlDeviceSetMiscConfig
rlDeviceGetDataFmtConfig
rlDeviceGetDataPathConfig
rlDeviceGetDataPathClkConfig
rlDeviceGetCsi2Config
rlSetMultiChirpCfg
rlGetAdvFrameConfig
rlSetContModeConfig
rlEnableContMode
rlSetMultiBpmChirpConfig

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoBuild Fix
Piyali Goswami [Fri, 11 May 2018 04:55:23 +0000 (10:25 +0530)]
Build Fix

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years agoADASVISION-1855 Programming IO Expander for SD MMC and Ethernet Phy reset
Piyali Goswami [Sat, 5 May 2018 01:40:22 +0000 (07:10 +0530)]
ADASVISION-1855 Programming IO Expander for SD MMC and Ethernet Phy reset

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years agoPDK-2508 Pad Configuration changes for Cascade Radar
Piyali Goswami [Fri, 4 May 2018 19:35:25 +0000 (01:05 +0530)]
PDK-2508 Pad Configuration changes for Cascade Radar

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years agoPDK-2508 Updates to the example for Cascade TI Board
Piyali Goswami [Tue, 1 May 2018 15:16:50 +0000 (20:46 +0530)]
PDK-2508 Updates to the example for Cascade TI Board

Signed-off-by: Piyali Goswami <a0131625@ti.com>
2 years agoBugFix: PDK-2678
prasad konnur [Mon, 30 Apr 2018 15:03:54 +0000 (20:33 +0530)]
BugFix: PDK-2678

Desc: queue utils fails when blocking is enabled

updated utils queue handling

Signed-off-by: prasad konnur <prasadkonnur@ti.com>
3 years agoPDK-2508:Add TDA2x cascade board build support
Piyali Goswami [Tue, 10 Apr 2018 17:22:10 +0000 (22:52 +0530)]
PDK-2508:Add TDA2x cascade board build support

Signed-off-by: Piyali Goswami <a0131625@ti.com>
3 years ago[PDK 2504][VPS]Missing D3 RVP board revision IDs from 'gBoardRevStr' in 'bsp_board.c'
Dhande [Fri, 6 Apr 2018 08:32:36 +0000 (14:02 +0530)]
[PDK 2504][VPS]Missing D3 RVP board revision IDs from 'gBoardRevStr' in 'bsp_board.c'

Issue:
    D3 RVP board revision IDs were missing from 'gBoardRevStr' in 'bsp_board.c' as a result of this, application using this structure were crashing/failing
Solution:
    Add respective board revision ID in the 'gBoardRevStr'

Signed-off-by: Dhande <v-dhande@ti.com>
3 years agoPDK-2214: TDA3x RVP/SK: Added new board IDs - Build Fix
Sivaraj R [Thu, 5 Apr 2018 04:17:06 +0000 (09:47 +0530)]
PDK-2214: TDA3x RVP/SK: Added new board IDs - Build Fix

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPDK-2214: TDA3x RVP/SK: Added new board IDs
Sivaraj R [Wed, 4 Apr 2018 04:19:16 +0000 (09:49 +0530)]
PDK-2214: TDA3x RVP/SK: Added new board IDs

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years ago[PDK-2393] Frame Width unaligned to 64 bits will be cropped to 64 bits
Piyali Goswami [Tue, 3 Apr 2018 06:39:20 +0000 (12:09 +0530)]
[PDK-2393] Frame Width unaligned to 64 bits will be cropped to 64 bits

Added the logic to do a ceiling of the width to make sure the whole line is recieved.

Pitch alignment should not be a problem as the data will be 32 bytes aligned.

Signed-off-by: Piyali Goswami <a0131625@ti.com>
3 years agoBugFix: PDK-2386
Prasad Konnur [Mon, 2 Apr 2018 09:55:38 +0000 (15:25 +0530)]
BugFix: PDK-2386

 Desc: vip, dss and loopback baremetal apps not validated

 Resolution: Added interrupt init

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years ago[PDK-2387] Half frame issue with tda2ex 17x17 is fixed.
Jithin Suresh [Wed, 28 Mar 2018 16:55:54 +0000 (22:25 +0530)]
[PDK-2387] Half frame issue with tda2ex 17x17 is fixed.

Csi2 lane configuration of tda2ex 17x17 was over written by changes for
enabling two csi2 phy instance. Default mode of 17x17 was set to two lane
which was overwritten as 4 lane. Hence removing the overwriting.

Signed-off-by: Jithin Suresh <x0272999@ti.com>
3 years agoPDK-2385 : Fixed : UB95x EVM is not accessible via I2C for configuration
sujith [Tue, 27 Mar 2018 15:45:55 +0000 (21:15 +0530)]
PDK-2385 : Fixed : UB95x EVM is not accessible via I2C for configuration

Root Cause : Wrong instance of I2C was configured to be used

Fix : Updated with correct instance of I2C for all platforms

Testing : Tested reception of frames on TDA2Px from UB95x EVM

Testcase ID : PDK-TC-1065

Signed-off-by: sujith <sujith.s@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10150
Vivek [Wed, 21 Mar 2018 09:40:11 +0000 (15:10 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10150

Issue:
    The intention of the NULL check in line 173 is not obvious. May it
    make more sense to check it before dereferencing it in line 164?
Fix:
    Removed the unnecessary NULL check as this variable gets the value of
    a global driver object which can not be NULL.

Signed-off-by: Vivek <a0132295@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10101
Vivek [Wed, 21 Mar 2018 09:35:07 +0000 (15:05 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10101

Issue:
    In case of initParams being NULL  it will be incremented which may
    lead to a crash. Probably this may only happen if an error occurred
    before.
Fix:
    Added check for NULL value before entering into for loop in which it
    increments.

Signed-off-by: Vivek <a0132295@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10152
Vivek [Wed, 21 Mar 2018 09:29:06 +0000 (14:59 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10152

Issue:
    Null-checking "platData" suggests that it may be null, but it has
    already been dereferenced on all paths leading to the check.
Fix:
    Removed the unnecessary NULL check as this variable gets the value of
    a global driver object which can not be NULL.i

Signed-off-by: Vivek <a0132295@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:11057
Vivek [Wed, 21 Mar 2018 09:26:32 +0000 (14:56 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:11057

Issue:
    Assigning value from "setCameraPower(BSPUTILS_FPDCAMPOWERLEVEL_OFF)"
    to "retVal" here, but that stored value is overwritten before it can
    be used.
Fix:
    Removed the return statement for returning 'BSP_OK' always and instead
    returning proper variable now. Similar change is  done in
    'setCameraPower()' as well.

Signed-off-by: Vivek <a0132295@ti.com>
3 years agoBug fix: PDK-2219
Rishabh Garg [Mon, 19 Mar 2018 15:06:44 +0000 (20:36 +0530)]
Bug fix: PDK-2219

- Added vector table address in linker command file for A15 core

Signed-off-by: Rishabh Garg <rishabh@ti.com>
3 years agoupdated release version
Prasad Konnur [Mon, 19 Mar 2018 15:48:59 +0000 (21:18 +0530)]
updated release version

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoadded dss requirements
Prasad Konnur [Mon, 19 Mar 2018 14:28:13 +0000 (19:58 +0530)]
added dss requirements

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoPDK-2211:Add git ignore to the PDK release package
Sivaraj R [Mon, 19 Mar 2018 07:27:43 +0000 (12:57 +0530)]
PDK-2211:Add git ignore to the PDK release package

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:11174
Vivek [Fri, 16 Mar 2018 13:31:10 +0000 (19:01 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:11174

Issue:
    Assigning value from
    "(*instObj->outCoreOps->stop)(instObj->outCoreHandle)" to "retVal"
    here, but that stored value is overwritten before it can be used.
    The return value of the call to instObj->outCoreOps->stop is ignores
    here. Is this intended?
Fix:
    Fixed by adding assert.

Signed-off-by: Vivek <a0132295@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:11170
Vivek [Fri, 16 Mar 2018 13:29:34 +0000 (18:59 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:11170

Issue:
    Assigning value from "retVal +
    VpsHal_vipPortReset(pathObj->vipPortHandle, 0U)" to "retVal" here, but
    that stored value is not used.
    This function prepares a return value - but then always returns
    BSP_OK. This looks like a temporary workaround which should be removed
    later.
Fix:
    Fixed by returning 'retVal' variable.

Signed-off-by: Vivek <a0132295@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:11163
Vivek [Fri, 16 Mar 2018 13:28:26 +0000 (18:58 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:11163

Issue:
    Assigning value from
    "(*chObj->instObj->coreOps->control)(chObj->instObj->coreHandle, 1U,
    NULL, &vipSubFrameInfo)" to "retVal" here, but that stored value is
    overwritten before it can be used.
    The return value of the function call in line 162 is ignored (retVal
    is overwritten without use). Is this intended?
Fix:
    Fixed by addding assert.

Signed-off-by: Vivek <a0132295@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:11124
Vivek [Fri, 16 Mar 2018 13:12:36 +0000 (18:42 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:11124

Issue:
    Only the return value from the second call (line 772) is taken into
    account here, th success of the first one (line 770) is not checked.
    Is this intended?
fix:
    Added check for first function call return value and then call second
    function only if first one is successful.

Signed-off-by: Vivek <a0132295@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:11041
Vivek [Fri, 16 Mar 2018 13:01:45 +0000 (18:31 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:11041

Issue:
    Assigning value from "ti_sysbios_io_GIO_control__E(i2cHandle,
    IOCTL_I2C_RESET_CONTROLLER, NULL)" to "retVal" here, but that stored
    value is overwritten before it can be used.
Fix:
    Added check for first function call return value and then call second
    function only if first one is successful.

Signed-off-by: Vivek <a0132295@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10014
Vivek [Fri, 16 Mar 2018 09:27:36 +0000 (14:57 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10014

Issue:
    Calling "ti_sysbios_io_GIO_write__E" without checking return value (as
    is done elsewhere 4 out of 5 times).
Fix:
    Added check for return value and also added assert if it is undesired
    value.

Signed-off-by: Vivek <a0132295@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10011
Vivek [Fri, 16 Mar 2018 09:13:17 +0000 (14:43 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10011

Issue:
    Calling "scanf(format, val)" without checking return value. This
    library function may fail and return an error code.
Fix:
    Added check for 'scanf()' return value.

Signed-off-by: Vivek <a0132295@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10136
Vivek [Fri, 16 Mar 2018 08:26:05 +0000 (13:56 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10136

Issue:
    Array gCaptInstObjs of size 3 is accessed by variable inst which is
    checked to be smaller than 0x7FFFFFFF before. This is suspicious and
    an array out of bounds access may occur.
Fix:
    Added correct value for array boudn check. Replaced
    'VPS_ISS_CAPT_INST_FORCE_INT' by 'VPS_ISS_CAPT_INST_MAX_ID'.

Signed-off-by: Vivek <a0132295@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10137
Vivek [Fri, 16 Mar 2018 06:11:58 +0000 (11:41 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID:10137

Issue:
    Overrunning array of 12 4-byte elements at element index 20 (byte
    offset 80) by dereferencing pointer "strm2PortMap + (prt * 4U + 0U)".

Fix:
    Index is checked with array size to avoid overrrun.

Signed-off-by: Vivek <a0132295@ti.com>
3 years ago[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID: 10028
Vivek [Thu, 15 Mar 2018 12:59:39 +0000 (18:29 +0530)]
[PDK-2131][FICOSA Audit Findings]Coverity Tool Issue Fix:CID: 10028

Issue:
    The "or" condition "i2cBusFreq != BSP_I2C_BITRATE_100KHZ || i2cBusFreq
    != BSP_I2C_BITRATE_400KHZ" will always be true because "i2cBusFreq"
    cannot be equal to two different values at the same time, so it must
    be not equal to at least one of them.
Fix:
    The condition should be '&&' instead of '||' since only given two values are
    allowed

Signed-off-by: Vivek <a0132295@ti.com>
3 years agoPDK-2133: [DSS M2M] Generate Full Bi-directional Traceability
Prasad Konnur [Fri, 9 Mar 2018 07:31:10 +0000 (13:01 +0530)]
PDK-2133: [DSS M2M] Generate Full Bi-directional Traceability

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agomisra fix
Prasad Konnur [Fri, 16 Mar 2018 08:26:11 +0000 (13:56 +0530)]
misra fix

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agomisra fix
Prasad Konnur [Thu, 15 Mar 2018 13:02:19 +0000 (18:32 +0530)]
misra fix

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years ago[BugFix] PDK-2217 Added test case in UT
Prasad Konnur [Mon, 12 Mar 2018 13:42:43 +0000 (19:12 +0530)]
[BugFix] PDK-2217 Added test case in UT

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoCAL : MISRA C Fixes : C++ BUILD fixes
sujith [Wed, 14 Mar 2018 13:30:30 +0000 (19:00 +0530)]
CAL : MISRA C Fixes : C++ BUILD fixes

Tested on TDA3x, TDA2ex EVM's with UB964, SAT0088 camera
modules.

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoMISRA Fix
Jithin Suresh [Wed, 14 Mar 2018 10:15:29 +0000 (15:45 +0530)]
MISRA Fix

Signed-off-by: Jithin Suresh <x0272999@ti.com>
3 years ago[BugFix] PDK-2217 Added test case in UT
Prasad Konnur [Mon, 12 Mar 2018 13:42:43 +0000 (19:12 +0530)]
[BugFix] PDK-2217 Added test case in UT

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoCAL build fix
Sivaraj R [Tue, 13 Mar 2018 17:52:02 +0000 (23:22 +0530)]
CAL build fix

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoCAL : c++ Build break fixed
sujith [Tue, 13 Mar 2018 12:47:42 +0000 (18:17 +0530)]
CAL : c++ Build break fixed

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDL-2212 : Patch 4 : Addressed review comments
sujith [Tue, 13 Mar 2018 08:46:27 +0000 (14:16 +0530)]
PDL-2212 : Patch 4 : Addressed review comments

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-2212 : Patch 3 : Added support for TDA2Ex & TDA2Px
sujith [Fri, 9 Mar 2018 12:51:32 +0000 (18:21 +0530)]
PDK-2212 : Patch 3 : Added support for TDA2Ex & TDA2Px

Tested on TDA2Ex, TDA2Px, UB964EVM and SAT0088 camera
modules.
Updated demo application to test this feature.

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDP-1339 : Patch 2 : Fix was not included for TDA2Ex/TDA2Px.
sujith [Fri, 9 Mar 2018 07:57:26 +0000 (13:27 +0530)]
PDP-1339 : Patch 2 : Fix was not included for TDA2Ex/TDA2Px.

Included the same.

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-2212 : Patch 3 : Included support for frame event notification
sujith [Fri, 9 Mar 2018 05:41:34 +0000 (11:11 +0530)]
PDK-2212 : Patch 3 : Included support for frame event notification

Supports TDA3x only, refer subsequent patches for support
on other devices

1. Nth line event : On reception of Nth line, a callback
would be provided to apps
This can be selected for only 1 channel
2. End-Of-Frame event : On reception of EOF short packet
a callback would be provided to apps
This can be selected for all virtual channels

Design document updated

Testing : Tested this feature on TDA3X evm, with UB964,
and SAT0088 camera modules.
Demo application is updated to test this feature.

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-2212 : Patch 2 : Minor bug fix identified in multi-channel usecase.
sujith [Fri, 9 Mar 2018 05:56:13 +0000 (11:26 +0530)]
PDK-2212 : Patch 2 : Minor bug fix identified in multi-channel usecase.

Test: The CAL demo application enables test in multi
channel mode by default.

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoBuild fix
Jithin Suresh [Tue, 13 Mar 2018 04:57:35 +0000 (10:27 +0530)]
Build fix

Signed-off-by: Jithin Suresh <x0272999@ti.com>
3 years agofixed kw issue for AM572x
Aravind Batni [Fri, 9 Mar 2018 19:18:50 +0000 (14:18 -0500)]
fixed kw issue for AM572x

Signed-off-by: Aravind Batni <aravindbr@ti.com>
3 years agoRemoved OV490 for AM and DRA parts
Sivaraj R [Fri, 9 Mar 2018 17:26:59 +0000 (22:56 +0530)]
Removed OV490 for AM and DRA parts

- This fixes AM build error

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agofix KW issues on RTOS example utility
Aravind Batni [Fri, 9 Mar 2018 17:14:33 +0000 (12:14 -0500)]
fix KW issues on RTOS example utility

Signed-off-by: Aravind Batni <aravindbr@ti.com>
3 years agoBuild Fix after DFP Migration
Piyali Goswami [Fri, 9 Mar 2018 10:54:11 +0000 (16:24 +0530)]
Build Fix after DFP Migration

Signed-off-by: Piyali Goswami <a0131625@ti.com>
3 years agoMerge pull request #220 in PROCESSOR-SDK/vps from review_tda2xx_rvp_sivaraj to master
Sivaraj R [Thu, 8 Mar 2018 10:16:48 +0000 (04:16 -0600)]
Merge pull request #220 in PROCESSOR-SDK/vps from review_tda2xx_rvp_sivaraj to master

Squashed commit of the following:

commit 923d1cddf8a3f14fdd623a3bb5f7653ab1d44f69
Author: Sivaraj R <sivaraj@ti.com>
Date:   Thu Mar 8 08:48:51 2018 +0530

    Fixed right copyright

Signed-off-by: Sivaraj R <sivaraj@ti.com>
commit d9561074d997aa9868b44d5479d448694b1497f3
Author: Sivaraj R <sivaraj@ti.com>
Date:   Tue Mar 6 08:48:42 2018 +0530

    Addressed review comments

    - MISRAC fix
    - Copyright year fix
    - Comment fix for AM

Signed-off-by: Sivaraj R <sivaraj@ti.com>
commit 1445101c169215e0c22d9e5ede32f547d60aa5a9
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Mon Mar 5 14:30:35 2018 -0500

    vps: boards: tda2xx: Add function to determine if PDK was compiled for TDA2xx RVP

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 8e9e8a4d36e9e0927d05f02ca858413763c09387
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Mon Mar 5 13:38:26 2018 -0500

    vps: boards: tda2xx rvp: Rename boards and remove am57xx based boards

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit eb7f3ce803977d47d2f886e8ecf2443c99aa6124
Author: Sivaraj R <sivaraj@ti.com>
Date:   Mon Mar 5 09:41:30 2018 +0530

    PDK-2223: Addresses review comments

Signed-off-by: Sivaraj R <sivaraj@ti.com>
commit 82540064ea58d49fd026fd301880b886837458e7
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Wed Jan 31 11:58:37 2018 -0500

    vps: lvds: fix ov490 alias overwriting ov10635 alias on TDA2x RVP

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 5091376592f9016b533708b77287e68395e8a3e7
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Wed Jan 17 14:14:52 2018 -0500

    vps: devices: ov490: Correct Y and U/V flip

    - Adds delay to sensor initialization to allow for the initial configuration to
    be loaded from flash.
    - Uses Bsp_ov490SensorConfig to set output format.
    - Disable writing default sensor config to muldes sensors due to initial
    configuration loaded from flash.

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 318cb66567c82522b1141cae8b9b7b1b7e2daf82
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Wed Jan 17 13:12:07 2018 -0500

    vps: lvds: Add function to get serializer I2C device address based on ovInstId

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit f858a4516adceb5e77aa690d672e61ddcb36f7b2
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Fri Jan 12 00:20:30 2018 -0500

    vps: board: tda2 rvp: Add support of the IMI OV10640 + OV490 to the TDA2 RVP

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 38468401b85ab97c118ae790de9b0cda63027bd5
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Fri Jan 12 00:17:50 2018 -0500

    vps: devices: Add support for the IMI OV10640 + OV490 imager

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 1c8fdab5501787bd0f18f42cccbafacb06eba094
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Fri Dec 8 18:17:34 2017 -0500

    vps: lvds: Add support for the upper four cameras on the TDA2 RVP 8ch BB

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 29b664aa8514f7a52d9f7c60e45f37706562a1f6
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Fri Dec 8 18:13:40 2017 -0500

    vps: lvds: Add function to determine I2C inst ID based on ov inst ID

    Many boards use different I2C buses for the SerDeses. Some boards, namely the
    TDA2 RVP uses multiple buses to support all of the SerDeses used. To decrease
    code duplication all of this was moved to one function.

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 51a1d645b92367d2785a50a0b2bd5ab16774261c
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Fri Dec 8 18:09:04 2017 -0500

    vps: devices: Update max device handles to 8 to support the TDA2 RVP 8ch BB

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 631460d7c7b3fe097e92de77a9a147200a5536b3
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Fri Dec 8 15:40:01 2017 -0500

    vps: lvds: Disable HDMI conflict resolution for RVPs

    The HDMI conflict only exists on EVMs and the spurious I2C writes will fail at
    the best and write to an unintended device at worst.

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 3ec3ba6dd94107723ba0341175fb096f02b326d5
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Thu Dec 7 07:40:52 2017 -0500

    vps: Send dummy value for appArgs as NULL triggers an assert

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit ef61d14206241d4328cc105ba6f5c8f426c87ffc
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Thu Dec 7 00:34:47 2017 -0500

    vps: lvds: Add support for the first 4 cameras of the TDA2 RVP

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 796430ad6e6c36076db68be1560ff2c6ca8ad0b3
Author: Jason Stanislawski <jstanislawski@d3engineering.com>
Date:   Wed Dec 6 10:56:56 2017 -0500

    vps: Add option to switch between BIOS & Linux XBAR/INTC mappings

    Linux uses different crossbar to INTC mappings for IPU1/2 from those
    in the TDA2xx CSL. This adds a build option & define option that can
    be used to select the alternate mapping in the code.

    Possibly a better solution is to not use the CSL_INTC_EVENTID_I2CINTx
    maps when setting up I2C.

commit ee4af482c394a7b06f4ee8b47de919ec9e733b00
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Fri Nov 17 18:11:22 2017 -0500

    vps: board: tad2xx: Disable Bsp_boardSelectDeviceTda2xx on TDA2XX RVP

    The TDA2XX RVP has no on-board muxes to configure and so has no need for this
    function.

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 6a1aeb8afc42ee2eb2452f7f979e3d901d8e4adf
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Fri Nov 17 18:04:53 2017 -0500

    vps: Added support for I2C5 to TDA2XX RVP

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 19c2dc1e3452918ab74bd0ff34dd7ed585bc3181
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Thu Nov 16 07:50:22 2017 -0500

    vps: board: Add functions to clear the cached board ID and rev

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 283b410b2da4a63e494eb6e8a726f9b6152d5255
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Thu Nov 16 07:47:45 2017 -0500

    vps: boards: tda2: Add functions to read board IDs for TDA2XX RVP

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit aa075db5e30acd4840c7c6d60569c1b1c637ad20
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Thu Nov 16 04:18:21 2017 -0500

    vps: boards: tda2: Add pinmuxing for VIPs, I2C3, and I2C4 for TDA2xx RVP

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 79dda39480a4fc34ac0698a05cf35e6cab3f103b
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Thu Nov 16 04:11:51 2017 -0500

    vps: boards: Add initial TDA2xx RVP board support

    Also adds two additional OV1063x MULDES instance IDs as the the 8 channel supports up to 8 at once, up from the previous maximum of 6.

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 49ec9d3e4d35de34d5fc521041f4fd89c62df271
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Thu Nov 16 04:02:47 2017 -0500

    vps: boards: Add TDA2 RVP variants to the board ID and board rev enums

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
commit 703f61d7e91afca63c297e01ae383a80008ef1ee
Author: Gabriel Smith <gsmith@d3engineering.com>
Date:   Thu Nov 16 04:15:35 2017 -0500

    build: vps: Add a board dependency for vps_examples_utility for TDA SOCs

    Added to support TDA2xx RVP but done for all TDA SOCs due to the build system
    for Vision SDK.

Signed-off-by: Gabriel Smith <gsmith@d3engineering.com>
3 years ago[ADASVISION-1047][PDK-2216] Support for 2nd ub960 and csi2 phy is added.
Jithin K S [Thu, 22 Feb 2018 05:12:39 +0000 (10:42 +0530)]
[ADASVISION-1047][PDK-2216] Support for 2nd ub960 and csi2 phy is added.

This commit has the following changes.
- 2lane configuration to be used for 2nd ub960
- [PDK-2216] Bug fix in setting csi2 context in CAL.
    This bug is fixed by declaring a two dimentional array for csi2 context from which
    Resources will be allocated. Allocator will select the resource by considering the
    csi2 instance also.

Signed-off-by: Jithin K S <x0272999@bangvideoapps02>
3 years ago[Bugfix] PDK-2134 patch2
Prasad Konnur [Tue, 6 Mar 2018 08:07:30 +0000 (13:37 +0530)]
[Bugfix] PDK-2134 patch2

 Desc: [PM] Enable Dual Clock out from Video PLL

 Resolution: Added testcase in UT.
 Updated UT for enabling multiple LCD vencs simultaniously

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoupdated input buffers as required by sd load
Prasad Konnur [Tue, 6 Mar 2018 08:05:58 +0000 (13:35 +0530)]
updated input buffers as required by sd load

 - updated zorder for pipes with pixel alpha

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoPDK-2224 Code to add support for rlDeviceWaitIrqStatus
Piyali Goswami [Mon, 5 Mar 2018 09:33:27 +0000 (15:03 +0530)]
PDK-2224 Code to add support for rlDeviceWaitIrqStatus

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoBuild Brek fix : DSP/EVE builds are ficed now.
sujith [Fri, 2 Mar 2018 07:26:57 +0000 (12:56 +0530)]
Build Brek fix : DSP/EVE builds are ficed now.

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-2212 : Addressed review comments
sujith [Thu, 1 Mar 2018 09:59:17 +0000 (15:29 +0530)]
PDK-2212 : Addressed review comments

Tested on TDA3x EVM + UB954 EVM

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-2212 : Supported in bare-metal application
sujith [Fri, 16 Feb 2018 14:07:29 +0000 (19:37 +0530)]
PDK-2212 : Supported in bare-metal application

Changes done
Uses LINE EVENT Notification and WR DMA END events
to issue CB to applications

Line Length : There is a restriction on minimum no of lines that could
be sepecified for notification. The IP team is yet to confirm on the
actual limit

Testing : Bare Metal application demonstrates the use of this feature

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoBSP OSAL : API is now functional
sujith [Fri, 16 Feb 2018 13:54:02 +0000 (19:24 +0530)]
BSP OSAL : API is now functional

Read from the 32 KHz free running counter.

Test : Used this in CAL bare metal app

Signed-off-by: sujith <sujith.s@ti.com>
3 years ago[PDK-2218] Updates to migrate to mmwave_dfp_01_00_00_01
Piyali Goswami [Fri, 23 Feb 2018 09:43:23 +0000 (15:13 +0530)]
[PDK-2218] Updates to migrate to mmwave_dfp_01_00_00_01

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years ago[BugFix] PDK-2217
Prasad Konnur [Mon, 26 Feb 2018 13:21:58 +0000 (18:51 +0530)]
[BugFix] PDK-2217

Desc: [VIP] driver create fails for 5 channels for TDA2Ex

Resolution: Incareased the memory allocated statically for the data descriptors.

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoPDK-2214: Support for D3 TDA3xx Starter Kit
Sivaraj R [Fri, 23 Feb 2018 06:19:24 +0000 (11:49 +0530)]
PDK-2214: Support for D3 TDA3xx Starter Kit

- Applied the patches received from D3
- Build goes through
- Testing will be performed by D3

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoVSDK Build fix
Ankur [Thu, 22 Feb 2018 10:43:18 +0000 (16:13 +0530)]
VSDK Build fix

Signed-off-by: Ankur <a0132173@ti.com>