Commit graph

1366 commits

Author SHA1 Message Date
Jyotheeswar Reddy
b7d22226d9 PMUFW: Interrupts: Fix Event IDs in debug message
Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:33:57 +05:30
Jyotheeswar Reddy
6b0ba64eda PMUFW: MOD: Add new module for legacy power request handling
CSU ROM and FSBL send power up/down requests to PMU via the
PWR_UP/PWR_DN request register in PMU_GLOBAL. This module
handles these requests and routes them to respective ROM handlers

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:33:11 +05:30
Jyotheeswar Reddy
bc66b745b7 PMUFW: Events: Add REQ_PWRUP and REQ_PWRDN events
Add new events and supporting functions to handle legacy
ROM power up and power down requests that are initiated
using PMU GLOBAL registers.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:32:51 +05:30
Jyotheeswar Reddy
6fe99fac43 PMUFW: MOD: Add DAP Wake Module
Add DAP event handler to PMU Firmware as a new user module and pass on
the handling to respective ROM Handlers.When a DAP wake arrives,
PMU should ACK the DAP Wake using its local registers.
PMU ROM has handlers for these and we will re-use these handlers here.
This module is enabled only if ENABLE_PM is not defined to avoid conflict
with the PM module

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:23:31 +05:30
Suneel Garapati
9a13c33ea1 lib: sw_apps: freertos support for latest bsp
change to freertos821_xilinx version

Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-07 16:10:39 +05:30
Nava kishore Manne
69f6f49627 Move @details before driver description
Move @details before driver description

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-08-07 16:07:18 +05:30
Rohit Fule
6c9a54d19b PMUFW: PM: Modified serial ordering of PM API ids
This patch removes the gap in serial numbering of PM API ids
between PM_SET_MAX_LATENCY and PM_RESET_ASSERT defined in
pm_defs.h

Signed-off-by: Rohit Fule <rohitf@xilinx.com>
Tested-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Jyotheeswar Reddy Mutthareddyvari <jyothee@xilinx.com>
2015-08-07 16:03:33 +05:30
Rohit Fule
652be149c6 sw_services:xilpm: Modified serial ordering of PM_API ids
This patch removes clock related PM API ids defined in pm_defs.h
under sw_services and reassigns ids in serial order.

Signed-off-by: Rohit Fule <rohitf@xilinx.com>
Acked-by: Jyotheeswar Reddy Mutthareddyvari <jyothee@xilinx.com>
2015-08-07 16:01:41 +05:30
Sarat Chand Savitala
61bd977834 sw_apps:zynqmp_fsbl: Corrected the logic used to determinte A53 Execution state
Execution state of A53 (64-bit/32-bit) is now determined based on __aarch64__ value

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-07 16:01:05 +05:30
Nava kishore Manne
88a48effad Retain @details only in the primary header file. Removed all other instances
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-08-07 16:00:18 +05:30
Naga Sureshkumar Relli
2b86552aef iomodule: Fix Iomodule UART receive interrupt detection.
This patch updates the XIOModule_Uart_InterruptHandler to
read ISR Register instead of reading Interrupt pending register.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-07 15:59:23 +05:30
Sarat Chand Savitala
84204047c7 sw_apps:zynqmp_fsbl: Added A53 32-bit support in FSBL
This patch adds support for FSBL running in A53 32-bit mode and
also supports handing off to A53 32-bit applications from FSBL.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-06 15:33:14 +05:30
Andrei-Liviu Simion
754a82e98b dp: rx: Enable enhanced framing mode and training pattern 3 if DP v1.2.
As per specification.
- Always enable enhanced framing mode.
- Declare training pattern 3 support if core is DP v1.2.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:15:24 +05:30
Andrei-Liviu Simion
d972cf8c18 dp: tx: Added link configuration and training callbacks.
New callbacks for:
- Link rate changes.
- Lane count changes.
- Pre-emphasis and voltage swing adjust request.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:15:08 +05:30
Andrei-Liviu Simion
941a63a7b9 dp: Updated comments.
Added missing revision history comments.
Added missing Doxygen @addtofile closing parenthesis.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:14:53 +05:30
Andrei-Liviu Simion
0e5f54a853 dp: Guard interrupts against uninitialized callbacks.
If an interrupt occurs without a user defined callback, don't invoke the
function.
Otherwise, unexpected behavior will be seen due to running code from 0x0 (NULL).

Prior to this, it was the responsibility of the user to ensure all callbacks for
interrupts were set.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:14:36 +05:30
Andrei-Liviu Simion
83cfd59989 dp: rx: Fix interrupt masking.
The interrupt mask and interrupt cause registers are independent. The interrupt
handler has been modified to ignore interrupts that have been masked out.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:14:24 +05:30
Andrei-Liviu Simion
0ebb5dbdfe dp: HDCP additions and unplug interrupt.
Added new interrupts, callbacks, and macros related to HDCP (High-bandwidth
Digital Content Protection).
Added new interrupts, callbacks, and macros for an unplug event.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:13:44 +05:30
Andrei-Liviu Simion
f3e3c76a68 dp: Cleaned up CfgInitialize.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:13:21 +05:30
Andrei-Liviu Simion
761ae699f7 dp: Fixed compilation warnings.
Fixed compilation warnings when using:
-Wall -Wextra

No need for ">=0" assertions on arguments that are of unsigned type.
Removed unused variables.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:13:05 +05:30
Andrei-Liviu Simion
dd5ecd1b10 dp: tx: Fractional byte calculation is scaled by 1024 instead of 1000.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:12:46 +05:30
Andrei-Liviu Simion
0f275f26d7 dp: rx: Renamed interrupt + timer example to reflect SST + DP159.
The naming of this example is better described as SST with DP159
functionality.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:12:20 +05:30
Andrei-Liviu Simion
bd2d7b4487 dp: rx: Added DP159 programming sequence to example.
The programming sequence required by the DP159 retimer has been
added.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:11:57 +05:30
Andrei-Liviu Simion
fc4dca3846 dp: rx: Updated timer usage in examples.
Set the reset value for the timer upon initialization.
Use the timer ID as an argument for consistency with the other
device IDs.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:11:28 +05:30
Andrei-Liviu Simion
29952963ce dp: rx: Add DP159 dependencies to initialization.
Using the DP159 solution, 8 ms needs to be used as the AUX training
interval.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:10:05 +05:30
Andrei-Liviu Simion
513926d80a dp: rx: Added macros for the training settings and CDR control.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:09:12 +05:30
Andrei-Liviu Simion
8518d9a3da dp: rx: Optimized initialization.
RX initialization is not dependent on PLL and reset checks.
- Training will not be initiated until the RX is ready.

The clock is transmitted only once the cable is connected.
- This means that the CPLLs will never lock if no cable is plugged
in resulting in DP RX core initialization time out.

Moved core and interrupt mask enables towards end of function.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:08:46 +05:30
Andrei-Liviu Simion
3b39183e40 video_common: Updated version to v2.0.
Due to DP159 API additions.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:06:08 +05:30
VNSL Durga
7ca1fb1844 xilskey: Modified example and input.h files
Example has been modified to support both Zynq PL eFuse and
Ultrascale eFuse. Added GPIO pins and channels to access
Master Jtag through GPIO and RSA key hash, AES's CRC value
input macros are also added.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-08-05 21:05:52 +05:30
VNSL Durga
02ccf03a94 xilskey: Added ultrascale efuse functionality
Added macros and functions required for accessing
Ultrascale's eFuse

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-08-05 21:05:39 +05:30
VNSL Durga
0b14b181ba xillskey: Added new functions
As GpioPs and Timers are different for Ultrascale
all the calls related to Gpio and timers are saperated
by ifdefinitions.
Added new jtag function to access efuse of Ultrascale.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-08-05 21:05:24 +05:30
VNSL Durga
365de9549f xilskey: Modified PL instance.
To add ultrascale's efuse functionality added GPIO pins
and GPIO channels to access master JTAG, Fpga_Flag to tell
the FPGA series, AES CRC check flag and AES CRC value, RSA key
hash to program and RSA key hash read back and control and
secure parameters in PL instance and modified IR length
macro ZYNQ_TAP_IR_LENGTH to TAP_IR_LENGTH as IR length is same for both
Zynq and Ultrasale.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-08-05 21:05:07 +05:30
VNSL Durga
00e045e760 xilskey:Added API for clk calculations.
Removed redundant code by adding common API for clock
calculations.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-08-05 21:04:48 +05:30
VNSL Durga
e2ccad3c90 xilskey: Modified xilskey_efuse_example
Modified macro name of efuse PS XSK_EFUSEPL_RSA_KEY_HASH_STRING_SIZE
to XSK_EFUSEPS_RSA_KEY_HASH_STRING_SIZE.
Added missing goto.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-08-05 21:04:35 +05:30
VNSL Durga
841227f998 xilskey: Added new version v3_0
Modified tcl for adding macro in xparameters.h based on the
processor.As support is being added for Ultrascale and hence
supported processors are a9 and microblaze too, removed
supported peripherals option in mld.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-08-05 21:03:24 +05:30
Bhavik Ameta
d27a264328 sw_services:xilsecure: Changed RSA API error codes
RSA sign verification error codes combined into XST_FAILURE.

Signed-off-by: Bhavik Ameta <bameta@xilinx.com>
Acked-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-08-04 18:05:10 +05:30
Bhavik Ameta
976c6455ad sw_services:xilsecure: Pointer warnings fixed
Changed u64 casts to UINTPTR, to fix the warnings.

Signed-off-by: Bhavik Ameta <bameta@xilinx.com>
Acked-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-08-04 18:05:01 +05:30
Bhavik Ameta
2491b4d9a2 sw_services:xilsecure: R5 build failure fixed
Removed individual checks for compilers from Makefile.These were causing build failure.

Signed-off-by: Bhavik Ameta <bameta@xilinx.com>
Acked-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-08-04 18:04:29 +05:30
Rohit Consul
eff8fdf3f3 vprocss: Added vdma alignment fix
-Added logic to fix vdma ip alignement issues with different bit
 width at axis and aximm interface at all supported pixel/clk
 and color depth combinations
-Moved stream (input/output) validation logic scattered around
 in different blocks to a central location
-Added API to report subsystem configuration status
-Code cleanup and changed relevant prints to dbg print

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:11:50 +05:30
Rohit Consul
759573e90f v_hscaler: Bug Fix in phase calculation logic
4 Samples/Clock phase calculation logic works on 64bit entities.
However a 32bit variable was used that caused wrong phase
information to be generated. Updated relevant variables to 64b

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:11:38 +05:30
Rohit Consul
b015782fbc vprocss: Added subcores support for mutiple pixel/clk
- Code cleanup to remove interrupt handler registration.
   Subsystem does not have interrupts
 - Updated sub-core init routines to load default filter
   coefficients for scaler and chroma resamplers
 - Added layer 2 registers for chroma resamplers
 - Updated VDMA Read/Write interface to work with color depth
   instead of Bytes/Pixel

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:11:07 +05:30
Rohit Consul
f4901fa438 v_vscaler: Added multiple pixel per clock support
- IP updated to add multiple pixel/clk support.
 - Added default filter coefficient table for 6/8/10/12 taps
 - Added API to load default coefficients or allow user to load
   externally defined coefficients
 - Peformed code cleanup to remove coefficient generation logic
   (scaler to use fixed coefficients)

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:10:51 +05:30
Rohit Consul
5fb5067657 v_vcresampler: Added default filter coefficients
-Added filter coefficient table for 4/6/8/10 taps.
 -Added API to load the default coefficients
 -Added API to allow user to load coefficients

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:10:44 +05:30
Rohit Consul
0e0a006e7b v_tpg: Add copyright information to mdd
Added Xilinx copyright header to mdd file

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:10:37 +05:30
Rohit Consul
fb2d56f8c9 v_letterbox: Add copyright info to mdd
Added xilinx copyright information to mdd

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:10:30 +05:30
Rohit Consul
4955188410 v_hscaler: Added multiple pixel per clock support
- IP updated to add multiple pixel/clk support.
- Added default filter coefficient table for 6/8/10/12 taps
- Added API to load default coefficients or allow user to load
  externally defined coefficients
- Peformed code cleanup to remove coefficient generation logic
  (scaler to use fixed coefficients)

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:10:22 +05:30
Rohit Consul
4054a7aa4e v_hcresampler: Added default filter coefficients
-Added filter coefficient table for 4/6/8/10 taps.
-Added API to load the default coefficients
-Added API to allow user to load coefficients

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:10:12 +05:30
Rohit Consul
533b4d0587 v_deinterlacer: Add multiple samples per clock support
IP updated to add multiple pixels per clock support resulting in
API changes in driver.

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:10:04 +05:30
Rohit Consul
7ab5756f84 v_csc: Add copyright info
This patch adds copyright info to HLS generated mdd file

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:09:55 +05:30
Nava kishore Manne
7a47ffd9e8 Removed executable file permission from source code files.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-03 18:32:57 +05:30