Commit graph

695 commits

Author SHA1 Message Date
Kishore Kumar Korathaluri
3ceaccc416 dp : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:19 +05:30
Kishore Kumar Korathaluri
b16b0142aa dmaps : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:18 +05:30
Kishore Kumar Korathaluri
5552966947 deinterlacer : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:17 +05:30
Kishore Kumar Korathaluri
953cad9356 cresample : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:16 +05:30
Kishore Kumar Korathaluri
4a47d1a898 cpu_cortexa9 : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:15 +05:30
Kishore Kumar Korathaluri
00eb12eec8 cfa : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:14 +05:30
Kishore Kumar Korathaluri
0f03eac7db ccm : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:13 +05:30
Kishore Kumar Korathaluri
a55c571e82 canps : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:13 +05:30
Kishore Kumar Korathaluri
c25f27e689 can : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:12 +05:30
Kishore Kumar Korathaluri
2c022e5d30 axivdma : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:11 +05:30
Kishore Kumar Korathaluri
6f06309dac axipmon : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:10 +05:30
Kishore Kumar Korathaluri
94a13e6c7c axipcie : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:09 +05:30
Kishore Kumar Korathaluri
2e62859b7b axiethernet : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:08 +05:30
Kishore Kumar Korathaluri
3ba980b143 axidma : added hsi namespace to xdefine procs.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:07 +05:30
Kishore Kumar Korathaluri
44cd866272 axicdma : modified xdefine procs to use hsi namespace.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:35:07 +05:30
Anirudha Sarangi
b91fe7dc6b standalone BSP: Update the standalone mld file for proper STDIN/STDOUT range
This patch updates the mld file with range properties for
STDIN and STDOUT.

Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-04-26 10:35:06 +05:30
Shakti Bhatnagar
c50dd02430 nandps: Pass address cycles as per the onfi parameter page.
Using the address cycles defined in onfi parameter page than
hardcoding this value to 5 for read and write operations in
XNandPs_SendCommand API.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-04-26 10:35:05 +05:30
Suneel Garapati
0fe3c2e1a3 driver: intc: hsi changes for hierarchical names
updated intc driver to use hsi::format_xparam_name to convert hierarchical names
in xparam names to compilable names

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Signed-off-by: kalyani <kalyani.tummala@xilinx.com>
Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com>
2015-04-26 10:35:04 +05:30
Kinjal Pravinbhai Patel
856091f036 drivers: scugic: change in low level example
This patch removes unused variable in low level example to fix
compilation error

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:35:03 +05:30
Punnaiah Choudary Kalluri
513490e787 emacps: Remove the alignment check for the adjacent BD gap
Removed the alignment check for the adjacent BD gap as the controller
expects all the BDs are organized in linear order.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-04-26 10:35:02 +05:30
Punnaiah Choudary Kalluri
b165375f88 emacps: Enable the 64 bit address for A53
Enable the 64 bit address bus for A53

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-04-26 10:35:01 +05:30
Punnaiah Choudary Kalluri
c8ea48f783 emacps: Correct the BD alignment for Gem module id 2
Corrected the BD alignment for Gem module id 2

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-04-26 10:35:00 +05:30
Punnaiah Choudary Kalluri
ec4196bb61 emacps: Corrected the extended descriptor macro values
Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-04-26 10:34:59 +05:30
Punnaiah Choudary Kalluri
abc19cf379 emacps: Use single bd to avoid multiple version checks
Modified to use single BD for both rx and tx for avoiding the
multiple version checks and probabaly create another example
for multiple BD processing.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-04-26 10:34:58 +05:30
Punnaiah Choudary Kalluri
8c4eca5dde emacps: Removed unnecessary comments
Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-04-26 10:34:58 +05:30
Punnaiah Choudary Kalluri
cf4616c934 emacps: Restrict Alto GEM to 100mbps
Restrict the Alto GEM to 100mbps as no support in the current platfrom
for 1G.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-04-26 10:34:57 +05:30
Punnaiah Choudary Kalluri
510db9aef3 emacps: Remove PEEP board related code
Remove PEEP board related code.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-04-26 10:34:56 +05:30
Punnaiah Choudary Kalluri
9f76bf06be emacps: Include examples only when interrupt line is configured
Don't include examples when interrupt is not connected

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-04-26 10:34:55 +05:30
Kinjal Pravinbhai Patel
3b8941be6d drivers: cpu: hsi changes for hierarchical external interface names
updated cpu driver to use hsi::format_xparam_name to convert
hierarchical external interface names to valid compilable xparam names

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:34:54 +05:30
Kinjal Pravinbhai Patel
6cb4127c2c driver: intc: hsi changes for hierarchical names
updated intc driver to use hsi::format_xparam_name to convert
hierarchical names in xparam names to compilable names

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:34:54 +05:30
Kinjal Pravinbhai Patel
5316b1a4c7 drivers: cpu_cortexa9: changes for hsi
updated driver to use hsi::utils::format_xparam_name to convert
hierarchical names to valid compilable xparameter names

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:34:53 +05:30
Andrei-Liviu Simion
9101ecf808 video_common: Updated Doxygen documentation.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:52 +05:30
Andrei-Liviu Simion
be8784f051 video_common: XVidC_ColorConversionStd->XVidC_ColorStd.
Previous naming was lengthy.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:51 +05:30
Andrei-Liviu Simion
81d24be485 video_common: ColorSpace->ColorFormat.
Color format better describes the represented RGB/YUV444/YUV422/YUV420 formats.
Color space would be YUV/RGB.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:50 +05:30
Andrei-Liviu Simion
3b2961139d dp: Only increment segment pointer if required.
It seems that monitors capable of MST, upon switching to SST mode in the monitor
options menu, respond with NACK when the segment pointer is written.
These same monitors ACK segment pointer writes when running in MST mode.
Tested monitors that are SST only monitors also ACK segment pointer writes.

The issue here is that MST monitors running in SST mode will error out when the
I2C read function is called because the segment pointer is always being written
to 0 (segment pointer is reset), and thus receives a NACK.
This patch prevents this from happening.

From now on, if the user changes the segment pointer, it is up to them to reset
it to 0.
The I2C read will only increment the segment pointer when required to do a read
outside of the base EDID block.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:49 +05:30
Andrei-Liviu Simion
7c1930723c dptx: Only increment segment pointer if required.
It seems that monitors capable of MST, upon switching to SST mode in the monitor
options menu, respond with NACK when the segment pointer is written.
These same monitors ACK segment pointer writes when running in MST mode.
Tested monitors that are SST only monitors also ACK segment pointer writes.

The issue here is that MST monitors running in SST mode will error out when the
I2C read function is called because the segment pointer is always being written
to 0 (segment pointer is reset), and thus receives a NACK.
This patch prevents this from happening.

From now on, if the user changes the segment pointer, it is up to them to reset
it to 0.
The I2C read will only increment the segment pointer when required to do a read
outside of the base EDID block.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:48 +05:30
Andrei-Liviu Simion
0194e3fc17 video_common: Fixed pixel clock calculation for interlaced modes.
In interlaced mode, the vertical total lines for frames 0 and 1 may not
necessarily be equal (off by 1). The pixel clock calculation needs to take this
into account by taking their average.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:48 +05:30
Andrei-Liviu Simion
767e6749ee video_common: Added XVidC_IsInterlaced.
This function checks if a video timing with a supplied ID from the video mode
table is interlaced or not.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:46 +05:30
Andrei-Liviu Simion
156f41affc video_common: Removed extern.
The video timing table isn't extern.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:45 +05:30
Andrei-Liviu Simion
2a4d0ee04e video_common: Removed duplicate interlaced video timings.
Removed 25 Hz and 30 Hz refresh rates since they have identical video timings to
the 50 Hz and 60 Hz varients. The 50/60Hz refresh rates take into account both
frames for interlaced.
The common video functions use the 50/60Hz refresh rates and divide by 2 where
needed to get the frame rate for each frame.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:44 +05:30
Andrei-Liviu Simion
57a0c64dd0 dp: tx: Don't write voltage swing and pre-emphasis values when writing TP0.
For compliance, training pattern 0 should be written without using a burst write
for voltage swing and pre-emphasis values.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:44 +05:30
Andrei-Liviu Simion
a36b777a40 dp: tx: When downshifting during link training, always issue training pattern 0.
For compliance purposes, training pattern 0 needs to be sent between
downshifting of lane count and link rates.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:43 +05:30
Andrei-Liviu Simion
45e5fabd1b dp: Update Doxygen documentation.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:41 +05:30
Andrei-Liviu Simion
b45d77cbe5 dp: rx: Added audio info and extension packet received interrupt handlers.
XDp_RxSetIntrInfoPktHandler and XDp_RxSetIntrExtPktHandler.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:40 +05:30
Andrei-Liviu Simion
74cef5fbbb dp: rx: Added audio control.
Enable, disable, and reset of audio stream packets on the main link.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:39 +05:30
Andrei-Liviu Simion
7368c8e1c9 dp: tx: Added function header to XDp_TxSendSbMsgRemoteIicWrite.
Added function description.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:38 +05:30
Andrei-Liviu Simion
83f6fe1f77 dp: rx: example: Set up handlers after core configuration has complete.
Since the RX handler initialization functions assert that the core is of type
RX, the configuration initialization function must be called prior to the
handlers being set.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:38 +05:30
Andrei-Liviu Simion
80eb9a43cd dp: Added TX/RX assertions on all API functions.
Functions now assert the core context upon which they operate.

XDp_Tx* functions are meant to be used with the DisplayPort core in the TX mode
of operation.
XDp_Rx* functions are meant to be used with the DisplayPort core in the RX mode
of operation.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:37 +05:30
Andrei-Liviu Simion
09b2ef3c26 dp: Enumerated the 2 modes of DisplayPort operation.
XDP_TX for Displayport transmitters (sources) XDP_RX for DisplayPort receivers
(sinks).

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:36 +05:30
Andrei-Liviu Simion
7b382d036f dp: TX/RX core type should operate on the XDp structure pointer.
Rather than on the configuration structure pointer.

This makes it cleaner and easier to use as this function is an API function.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:35 +05:30