]> rtime.felk.cvut.cz Git - zynq/linux.git/log
zynq/linux.git
10 years agoxilinx_devcfg: Fix "sync word" messages xilinx-v2013.4
Mike Looijmans [Thu, 19 Dec 2013 13:41:08 +0000 (14:41 +0100)]
xilinx_devcfg: Fix "sync word" messages

When (partially) programming the PL, the driver outputs unwanted
messages like "Found normal sync word".

Replace use of "default" printk with pr_debug. This surpresses the
message until explicitly asked for.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agousb: gadget: Removed device_initialize() and device_add() functions
Subbaraya Sundeep Bhatta [Wed, 18 Dec 2013 13:45:18 +0000 (19:15 +0530)]
usb: gadget: Removed device_initialize() and device_add() functions

device_initialize() and device_add() functions are done by
gadget layer hence removed in driver.

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoarm: dt: zynq: cc108: Added wp-inverted property to the SDHC device node
Andrei Simion [Fri, 13 Dec 2013 19:27:49 +0000 (11:27 -0800)]
arm: dt: zynq: cc108: Added wp-inverted property to the SDHC device node

The CC108 uses microSD, which does not have a write protect pin. In order to be
able to write to microSD, the wp-inverted property needs to be used.

Signed-off-by: Andrei Simion <andrei.simion@xilinx.com>
Tested-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoAPF: Updated defconfig to fix issues with 3.12 merge
S Mohan [Fri, 13 Dec 2013 16:57:03 +0000 (08:57 -0800)]
APF: Updated defconfig to fix issues with 3.12 merge

Merge to 3.12 on Nov 11 removed the CMA configs required for APF
This patch brings back the CMA configs

Signed-off-by: S Mohan <s.mohan@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Removed _of_ prefix in probe and remove functions
Michal Simek [Fri, 13 Dec 2013 10:24:49 +0000 (11:24 +0100)]
vdma: xilinx: Removed _of_ prefix in probe and remove functions

Synchronize names with other drivers

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdmatest: xilinx: Removed _of_ prefix in probe and remove functions
Srikanth Thokala [Fri, 13 Dec 2013 09:07:43 +0000 (14:37 +0530)]
vdmatest: xilinx: Removed _of_ prefix in probe and remove functions

Synchronize names with other drivers

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Document node properties in VDMA device node
Srikanth Thokala [Fri, 13 Dec 2013 09:07:42 +0000 (14:37 +0530)]
vdma: xilinx: Document node properties in VDMA device node

This patch documents all the properties that are populated in
VDMA device node.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdmatest: xilinx: Add description of the test client driver
Srikanth Thokala [Fri, 13 Dec 2013 09:07:41 +0000 (14:37 +0530)]
vdmatest: xilinx: Add description of the test client driver

This patch adds description of test client driver and also
changes copyright year.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdmatest: xilinx: Document structures as per kernel-doc
Srikanth Thokala [Fri, 13 Dec 2013 09:07:40 +0000 (14:37 +0530)]
vdmatest: xilinx: Document structures as per kernel-doc

This patch documents structures as per kernel-doc.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdmatest: xilinx: Added 'xilinx_' prefix to structures and functions
Srikanth Thokala [Fri, 13 Dec 2013 09:07:39 +0000 (14:37 +0530)]
vdmatest: xilinx: Added 'xilinx_' prefix to structures and functions

This patch adds 'xilinx_' prefix to structures and functions

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdmatest: xilinx: Fix checkpatch.pl errors/warnings
Srikanth Thokala [Fri, 13 Dec 2013 09:07:38 +0000 (14:37 +0530)]
vdmatest: xilinx: Fix checkpatch.pl errors/warnings

Fix checkpatch.pl errors/warnings

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdmatest: xilinx: Fix sparse errors
Srikanth Thokala [Fri, 13 Dec 2013 09:07:37 +0000 (14:37 +0530)]
vdmatest: xilinx: Fix sparse errors

Fix sparse errors

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdmatest: xilinx: Code cleanup in the test client
Srikanth Thokala [Fri, 13 Dec 2013 09:07:36 +0000 (14:37 +0530)]
vdmatest: xilinx: Code cleanup in the test client

This patch cleanup the redundant code in the vdma test
client.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdmatest: xilinx: Add support to read number of frame stores from device node
Srikanth Thokala [Fri, 13 Dec 2013 09:07:35 +0000 (14:37 +0530)]
vdmatest: xilinx: Add support to read number of frame stores from device node

This patch adds support to read number of frame stores from the vdmatest
device node. And it documents this new node member to device tree bindings
documentation.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Use of_dma framework in vdma test client
Srikanth Thokala [Fri, 13 Dec 2013 09:07:34 +0000 (14:37 +0530)]
vdma: xilinx: Use of_dma framework in vdma test client

This patch does following things:
- Uses of_dma framework in vdma test client
- Document the device node for vdma test client
- Add the above node as an example to existing vdma
  device binding documentation

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Reorganise tasklet related calls
Srikanth Thokala [Fri, 13 Dec 2013 09:07:33 +0000 (14:37 +0530)]
vdma: xilinx: Reorganise tasklet related calls

It is more appropriate to call tasklet_init() during allocating
channel resources and also this patch adds code to kill the
initialized tasklet when freeing up resources.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Update the variable with result from of_property_read_bool
Srikanth Thokala [Fri, 13 Dec 2013 09:07:32 +0000 (14:37 +0530)]
vdma: xilinx: Update the variable with result from of_property_read_bool

There is no need to check the result from of_property_read_bool and
then update the variable.  So, this patch removes this redundant
condition checks.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Change 'err' member of xilinx_vdma_chan type to bool
Srikanth Thokala [Fri, 13 Dec 2013 09:07:31 +0000 (14:37 +0530)]
vdma: xilinx: Change 'err' member of xilinx_vdma_chan type to bool

The 'err' member of xilinx_vdma_chan structure only takes boolean
values. So, this patch fix this.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Reuse already defined constants
Srikanth Thokala [Fri, 13 Dec 2013 09:07:30 +0000 (14:37 +0530)]
vdma: xilinx: Reuse already defined constants

Use already defined constants instead of using the direct values.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Remove duplicate file includes
Srikanth Thokala [Fri, 13 Dec 2013 09:07:29 +0000 (14:37 +0530)]
vdma: xilinx: Remove duplicate file includes

Remove duplicate file includes

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Cleanup halt/reset loop functions
Srikanth Thokala [Fri, 13 Dec 2013 09:07:28 +0000 (14:37 +0530)]
vdma: xilinx: Cleanup halt/reset loop functions

Changed the implementation of loops for better readability.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Add safe check if no child compatible string is available
Srikanth Thokala [Fri, 13 Dec 2013 09:07:27 +0000 (14:37 +0530)]
vdma: xilinx: Add safe check if no child compatible string is available

This adds a check condition if child node of VDMA device has
compatible strings neither "xlnx,axi-vdma-mm2s-channel" nor
"xlnx,axi-vdma-s2mm-channel".

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Code cleanup in the driver
Srikanth Thokala [Fri, 13 Dec 2013 09:07:26 +0000 (14:37 +0530)]
vdma: xilinx: Code cleanup in the driver

This patch does code cleanup in the driver:
- Use u32 to maintain sychronization throughout driver
- Use operators (conditional/boolean) on the previous line
  after a line-break
- And removes redundant code

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Rename flush_fsync to flush_on_fsync parameter
Srikanth Thokala [Fri, 13 Dec 2013 09:07:25 +0000 (14:37 +0530)]
vdma: xilinx: Rename flush_fsync to flush_on_fsync parameter

Renamed to flush_on_fsync to reflect its functionality.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Formatted the description and added proper copyright
Srikanth Thokala [Fri, 13 Dec 2013 09:07:24 +0000 (14:37 +0530)]
vdma: xilinx: Formatted the description and added proper copyright

This patch adds more detail to the description of driver and also
adds proper copyright message.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdma: xilinx: Current descriptor should be updated before starting VDMA
Srikanth Thokala [Fri, 13 Dec 2013 09:07:23 +0000 (14:37 +0530)]
vdma: xilinx: Current descriptor should be updated before starting VDMA

This fixes the issue with scatter-gather mode where the current
descriptor field of BD has to be updated before starting the VDMA
engine.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: macb: Fix build warning
Soren Brinkmann [Wed, 11 Dec 2013 04:57:57 +0000 (20:57 -0800)]
net: macb: Fix build warning

When adjusting the link speed, the target frequency is determined by a
'swith (LINK_SPEED)' statement, that assigns the target rate only for
valid and expected LINK_SPEED values. This incomplete switch statement
leads to the following build warning:
     drivers/net/ethernet/cadence/macb.c: In function 'macb_handle_link_change':
  >> drivers/net/ethernet/cadence/macb.c:241:14: warning: 'rate' may be used uninitialized in this function [-Wmaybe-uninitialized]
        netdev_warn(dev, "unable to generate target frequency: %ld Hz\n",
                   ^
     drivers/net/ethernet/cadence/macb.c:215:13: note: 'rate' was declared here
       long ferr, rate, rate_rounded;

Fixing this by bailing out of that function in the switch's default case
before the rate variable is used.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: emaclite: add barriers to support Xilinx Zynq platform
Srikanth Thokala [Sat, 7 Dec 2013 08:10:49 +0000 (13:40 +0530)]
net: emaclite: add barriers to support Xilinx Zynq platform

This patch adds barriers at appropriate places to ensure the driver
works on Xilinx Zynq ARM-based SoC platform.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: emaclite: Remove unnecessary code that enables/disables interrupts on PONG buffers
Srikanth Thokala [Sat, 7 Dec 2013 08:10:48 +0000 (13:40 +0530)]
net: emaclite: Remove unnecessary code that enables/disables interrupts on PONG buffers

There are no specific interrupts for the PONG buffer on both
transmit and receive side, same interrupt is valid for both
buffers. So, this patch removes this code.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Reviewed-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoarm: zynq: Clean-up zynq Kconfig
Michal Simek [Wed, 11 Dec 2013 16:42:41 +0000 (17:42 +0100)]
arm: zynq:  Clean-up zynq Kconfig

Based on Rob Herring's patch
"ARM: clean-up common multi-platform kconfig options"
cleanup our Kconfig file.
This patch has been also sent to mainline.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: macb: Adjust tx_clk when link speed changes
Soren Brinkmann [Wed, 11 Dec 2013 00:07:23 +0000 (16:07 -0800)]
net: macb: Adjust tx_clk when link speed changes

Adjust the ethernet clock according to the negotiated link speed.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: macb: Use devm_request_irq()
Soren Brinkmann [Wed, 11 Dec 2013 00:07:22 +0000 (16:07 -0800)]
net: macb: Use devm_request_irq()

Use the device managed interface to request the IRQ, simplifying error
paths.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: macb: Use devm_ioremap()
Soren Brinkmann [Wed, 11 Dec 2013 00:07:21 +0000 (16:07 -0800)]
net: macb: Use devm_ioremap()

Use the device managed version of ioremap to remap IO memory,
simplifying error paths.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: macb: Migrate to devm clock interface
Soren Brinkmann [Wed, 11 Dec 2013 00:07:20 +0000 (16:07 -0800)]
net: macb: Migrate to devm clock interface

Migrate to using the device managed interface for clocks and clean up
the associated error paths.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: macb: Migrate to dev_pm_ops
Soren Brinkmann [Wed, 11 Dec 2013 00:07:19 +0000 (16:07 -0800)]
net: macb: Migrate to dev_pm_ops

Migrate the suspend/resume functions to use the dev_pm_ops PM interface.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: xilinx_emacps: Disable napi when xemacps_mii_probe fails
Punnaiah Choudary Kalluri [Tue, 10 Dec 2013 05:32:40 +0000 (11:02 +0530)]
net: xilinx_emacps: Disable napi when xemacps_mii_probe fails

In xemacps_open(), call napi_disable() when the xemacps_mii_probe() fails.
This change is needed to undo the napi_enable() which called before the
xemacps_mii_probe().

This fix is needed because of below commit
"net: xilinx_emacps: Fix race condition occurs during link up/down"
(sha1: 49028589bcd9c7d2657b3b6fec82d216a9c9f5c6)

Reported-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agousb: phy-zynq: Fix devm_kzalloc() calls
Soren Brinkmann [Thu, 28 Nov 2013 20:05:10 +0000 (12:05 -0800)]
usb: phy-zynq: Fix devm_kzalloc() calls

The calls to devm_kzalloc had several issues:
 - missing struct device pointer
 - sizeof argument should be within parentheses
 - sizeof argument should use variable identifier opposed to a type

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoarm: dt: zynq-zed: Fix Ethernet phy address
Soren Brinkmann [Thu, 5 Dec 2013 19:55:34 +0000 (11:55 -0800)]
arm: dt: zynq-zed: Fix Ethernet phy address

When Ethernet is brought up, the driver cannot find the phy. Correcting
the phy address fixes this issue, resulting in working Ethernet.

For Rev <= B the address is 7
For Rev >= C the address is 1

Setting up broadcast address 0 should work on all revisions.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Jason Wu <j.wu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoclk/zynq/clkc: Fix fclk-enable logic
Soren Brinkmann [Wed, 27 Nov 2013 19:49:28 +0000 (11:49 -0800)]
clk/zynq/clkc: Fix fclk-enable logic

Commit 'clk/zynq/clkc: Add 'fclk-enable' functionality'
(d0b69caa6c963ed23f7bd725fcc68670dd2ed257) introduced the fclk-enable
feature and DT property. And commit 'clk: zynq: Change handling of FCLK
default state' (48461c50475550328e02c7bb46d7f5d53f5bdecb) changed the
fclk handling during boot. Unfortunately the logic to enable/disable
fclks was buggy, not implementing the intended behavior.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agomtd: m25p80: Add missing m25p80 flash merge
Punnaiah Choudary Kalluri [Thu, 5 Dec 2013 10:36:28 +0000 (16:06 +0530)]
mtd: m25p80: Add missing m25p80 flash merge

Added m25p80 flash merge which is missing on below
merge commit
"Merge tag 'v3.12' into master-next"
(sha1: cd30bed1eb9cddb9bd24c0fcd13bdbba6373ac1f)

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: xilinx_emacps: Add PTP hardware clock support
Punnaiah Choudary Kalluri [Wed, 4 Dec 2013 16:18:44 +0000 (21:48 +0530)]
net: xilinx_emacps: Add PTP hardware clock support

This patch adds timestamping and PTP hardware clock support to the
emacps driver.
Removed the existing timestamp implementation as the support for this
implementation is deprecated in kernel and causing the compilation errors.

With new implementation, Hardware frequency adjustment algorithm is not working
properly and this will be fixed in future versions.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoaxivdma: xilinx: Fix checkpatch.pl errors
Srikanth Thokala [Tue, 3 Dec 2013 18:08:06 +0000 (23:38 +0530)]
axivdma: xilinx: Fix checkpatch.pl errors

Fix checkpatch.pl errors

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoaxivdma: xilinx: Use pdev instead of op
Srikanth Thokala [Tue, 3 Dec 2013 18:08:05 +0000 (23:38 +0530)]
axivdma: xilinx: Use pdev instead of op

Synchronize names with other drivers

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoaxivdma: xilinx: Document APIs and structures
Srikanth Thokala [Tue, 3 Dec 2013 18:08:04 +0000 (23:38 +0530)]
axivdma: xilinx: Document APIs and structures

Add documentation to APIs and structures as per
kernel-doc.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: can: Remove unneded error message for alloc_candev
Michal Simek [Tue, 3 Dec 2013 15:15:12 +0000 (16:15 +0100)]
net: can: Remove unneded error message for alloc_candev

Error message should be automatically generated
by the core.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: xilinx_emacps: Simplified the cleanup logic for fragmented packets
Punnaiah Choudary Kalluri [Tue, 3 Dec 2013 14:51:03 +0000 (20:21 +0530)]
net: xilinx_emacps: Simplified the cleanup logic for fragmented packets

The following changes simplify the fragmented packet and buffer descriptor
cleanup process by eliminating the redundant while loop

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: xilinx_emacps: Apply the spinlock to the required critical section
Punnaiah Choudary Kalluri [Tue, 3 Dec 2013 14:51:02 +0000 (20:21 +0530)]
net: xilinx_emacps: Apply the spinlock to the required critical section

Applied the spinlock to the required critical sections in xemacps_tx_poll
and xemacps_start_xmit function. Removed the barrier instructions that exist
just before the spinlock calls and the places where the usage of barrier
instrcution is not relevant.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agousb: xusbps: Clear the endpoint complete event after each dTD processing
Punnaiah Choudary Kalluri [Tue, 3 Dec 2013 14:06:39 +0000 (19:36 +0530)]
usb: xusbps: Clear the endpoint complete event after each dTD processing

Clear the endpoint complete event status after prcoessing the dTDs that are
marked as completed in the current queue. This change is required to reduce
the false interrupts that may occur due to processing the all the completed
dTDs in the ISR though the isr is meant for the single dTD complete event.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agospi: zynq-qspi: Improve the transfer rate
Punnaiah Choudary Kalluri [Wed, 20 Nov 2013 11:48:05 +0000 (17:18 +0530)]
spi: zynq-qspi: Improve the transfer rate

The following sequence is used to keep spi bus busy and transfer rate
1. Configure the Rx threshold register with optimum value
2. Fill the complete Tx fifo
3. Wait for the Rx fifo not empty or Tx fifo empty condition
4. Read data from the Rx fifo for Rx threshold entries or requested
   no of bytes if the outstanding bytes are less than the threshold
5. Fill the Tx fifo with Rx threshold entries or requested no of
   bytes if the outstanding bytes are less than the threshold
6. Repeat step 2

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agospi: zynq-qspi: Avoid temp variables used in fifo read/write operations
Punnaiah Choudary Kalluri [Wed, 20 Nov 2013 11:48:04 +0000 (17:18 +0530)]
spi: zynq-qspi: Avoid temp variables used in fifo read/write operations

For better throughput, Avoid temporary variable for storing the fifo data and
copying to user buffer and vice versa, Instead of that use the buffer directly

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agospi: zynq-qspi: Use autostart mode and avoid fifo status checks
Punnaiah Choudary Kalluri [Wed, 20 Nov 2013 11:48:03 +0000 (17:18 +0530)]
spi: zynq-qspi: Use autostart mode and avoid fifo status checks

For better throughput, always use manual chipselect and autostart mode and also
avoid fifo status check while accessing the fifo.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agospi: zynq-qspi: Use readl_/writel_relaxed functions instead of readl/writel
Punnaiah Choudary Kalluri [Wed, 20 Nov 2013 11:48:02 +0000 (17:18 +0530)]
spi: zynq-qspi: Use readl_/writel_relaxed functions instead of readl/writel

Since the qspi register space configured as device memory and the order of
accesses arriving at Device memory is guaranteed to correspond to the program
order of instructions which access Strongly-ordered or Device memory.
The readl/writel function contains a barrier and adding more delay while
accessing the data from the fifo registers

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agovdmatest: xilinx: Zero out the configuration fields before configuring VDMA
Srikanth Thokala [Wed, 27 Nov 2013 14:26:23 +0000 (19:56 +0530)]
vdmatest: xilinx: Zero out the configuration fields before configuring VDMA

The existing VDMA test client is failing to work with latest VDMA driver,
as some of the configuration fields of configuration structure are non-zero
and hence VDMA engine is not configured properly.  So this patch fixes
the issue.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoaxivdma: Documentation: devicetree: Updated device tree bindings with mandatory entries
Srikanth Thokala [Wed, 27 Nov 2013 14:26:40 +0000 (19:56 +0530)]
axivdma: Documentation: devicetree: Updated device tree bindings with mandatory entries

As 'xlnx,num-fstores' and 'xlnx,device-id' are mandatory device tree
properties the driver is expecting, these entries should be listed
in the bindings.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: ocm: Enable generic allocator by default
Michal Simek [Fri, 29 Nov 2013 08:47:47 +0000 (09:47 +0100)]
zynq: ocm: Enable generic allocator by default

Enable generic allocator by default and update defconfigs.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: Add OCM driver
Michal Simek [Mon, 25 Nov 2013 19:05:17 +0000 (20:05 +0100)]
zynq: Add OCM driver

The driver provide memory allocator which can
be used by others drivers to allocate memory inside OCM.
All location for 64kB blocks are supported
and driver is trying to allocate the largest continuous
block of memory.

Checking mpcore addressing filterring is not done here
but could be added in future.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: slcr: Introduce new get_ocm_config()
Michal Simek [Tue, 26 Nov 2013 11:27:25 +0000 (12:27 +0100)]
zynq: slcr: Introduce new get_ocm_config()

This function will be used by OCM driver.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: dtses: Fix usb, enet and i2c reset description
Michal Simek [Wed, 27 Nov 2013 06:57:08 +0000 (07:57 +0100)]
zynq: dtses: Fix usb, enet and i2c reset description

Origin MIO connection just pointed to ps7_gpio controller
which is handling it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoarm: dt: zynq: Add dts for cc108
Sören Brinkmann [Tue, 26 Nov 2013 18:23:22 +0000 (10:23 -0800)]
arm: dt: zynq: Add dts for cc108

Add a dts file for the cc108 Zynq based platform.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: pm: Sort headers
Michal Simek [Tue, 26 Nov 2013 11:10:53 +0000 (12:10 +0100)]
zynq: pm: Sort headers

Trivial fix.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: clk: Move topswitch code from PM driver
Michal Simek [Mon, 18 Nov 2013 15:48:19 +0000 (16:48 +0100)]
zynq: clk: Move topswitch code from PM driver

This is purely clock code and should be in clock driver.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: dtses: Remove pl330 primecell-preiphid
Michal Simek [Tue, 26 Nov 2013 14:40:10 +0000 (15:40 +0100)]
zynq: dtses: Remove pl330 primecell-preiphid

zynq doesn't require to rewrite this ID.
pl330 is detected automatically.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agommc: Synchronize with arasan mainline version
Michal Simek [Tue, 26 Nov 2013 14:37:01 +0000 (15:37 +0100)]
mmc: Synchronize with arasan mainline version

Keep our kernel compatible with the latest arasan mmc
driver.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoaxivdma: xilinx: Remove irq_dispose_mapping() as it is not required
Srikanth Thokala [Mon, 25 Nov 2013 14:20:43 +0000 (19:50 +0530)]
axivdma: xilinx: Remove irq_dispose_mapping() as it is not required

This patch removes the call irq_dispose_mapping() as in the code
we are not mapping the interrupt using create_mapping().  This
patch fixes the kernel crash when unloading this driver module.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agotty: xuartps: Update copyright information
Soren Brinkmann [Sat, 23 Nov 2013 01:45:31 +0000 (17:45 -0800)]
tty: xuartps: Update copyright information

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agotty: xuartps: Remove duplicate variable
Soren Brinkmann [Sat, 23 Nov 2013 01:45:30 +0000 (17:45 -0800)]
tty: xuartps: Remove duplicate variable

In the probe() function the variables 'rc' and 'ret' have been used to
store return values. One is obviously redundant and neither needs to be
initialized.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agotty: xuartps: Remove unused variable
Soren Brinkmann [Sat, 23 Nov 2013 01:45:29 +0000 (17:45 -0800)]
tty: xuartps: Remove unused variable

The driver data structure held the unused 'uartnum' member.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agousb: xudc: Don't define DEBUG symbols
Soren Brinkmann [Sat, 23 Nov 2013 00:26:36 +0000 (16:26 -0800)]
usb: xudc: Don't define DEBUG symbols

In general, debug symbols shouldn't be defined. Additionally those
defines cause a build warning for the redefinition of DEBUG.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agodrm: xilinx: Merge 3.12 and fix conflicts
Hyun Kwon [Fri, 22 Nov 2013 18:10:21 +0000 (10:10 -0800)]
drm: xilinx: Merge 3.12 and fix conflicts

Merge 3.12 and fix conflicts. Fix the prototype of
xilinx_drm_crtc_page_flip(), remove deprecated function call(drm_fasync),
change drm_gem_cma_dumb_destroy() with drm_gem_dumb_destroy(), and
remove #include <linux/of_i2c.h>.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoarm: dts: zynq-zc702-drm-v4l2: Add a pixel clock source to xilinx_drm
Hyun Kwon [Fri, 22 Nov 2013 18:10:20 +0000 (10:10 -0800)]
arm: dts: zynq-zc702-drm-v4l2: Add a pixel clock source to xilinx_drm

Add a pixel clock source to xilinx_drm dts node.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoarm: configs: zynq_drm: Add missing configs, and sync with 3.12
Hyun Kwon [Fri, 22 Nov 2013 18:10:19 +0000 (10:10 -0800)]
arm: configs: zynq_drm: Add missing configs, and sync with 3.12

Add missing configs for DRM_XILINX, such as cma size = 128 and si570 ccf,
and sync with 3.12 defconfig.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoarm: zynq: Remove duplicated COMMON_CLK selection
Michal Simek [Fri, 22 Nov 2013 15:28:27 +0000 (16:28 +0100)]
arm: zynq: Remove duplicated COMMON_CLK selection

Trivial fix.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agomicroblaze: extable: Sort the exception table at build time
Michal Simek [Fri, 22 Nov 2013 08:17:32 +0000 (09:17 +0100)]
microblaze: extable: Sort the exception table at build time

Sort the exception table at build-time rather than during boot.

Microblaze is the same case as AARCH64 that's why
EM_MICROBLAZE conditional check was added to allow
cross-compilation on machines which are not running
the latest libc-dev.

Inspired by AARCH64 commit:
"arm64: extable: sort the exception table at build time"
(sha1: adace89562c7a9645b8dc84f6e1ac7ba8756094e)

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agomicroblaze: Add missing v8.50.a version
Michal Simek [Fri, 22 Nov 2013 08:01:10 +0000 (09:01 +0100)]
microblaze: Add missing v8.50.a version

Add PVR value for MB 8.50.a.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agomicroblaze: Fix BS=1 case
Michal Simek [Fri, 22 Nov 2013 07:28:56 +0000 (08:28 +0100)]
microblaze: Fix BS=1 case

There was bug introduced by
"microblaze: Fix compilation error for BS=0"
(sha1: 50ef4f1128a880ea24c55b515125fc27cc489cf9)
which break compilation for BS=1 case.

Fixing is done in more generic way.
On systems without barrel shifter is bsrli replaced
by macro at build-time and replaced by srl instructions.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: emacps: Clearing private data is done automatically
Michal Simek [Thu, 21 Nov 2013 12:53:08 +0000 (13:53 +0100)]
net: emacps: Clearing private data is done automatically

Remove this additional step.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agonet: xilinx_emacps: Removed checkpatch errors
Punnaiah Choudary Kalluri [Mon, 18 Nov 2013 16:27:46 +0000 (21:57 +0530)]
net: xilinx_emacps: Removed checkpatch errors

Removed checkpatch.pl errors.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agomicroblaze: Permit pcibios_set_master override
Michal Simek [Wed, 20 Nov 2013 13:06:39 +0000 (14:06 +0100)]
microblaze: Permit pcibios_set_master override

This function is also available in pcie driver
and it is causing compilation failure where both
functions are defined.
Use weak attribute and override this default one.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agomicroblaze: Define read/write{b,w,l}_relaxed MMIO
Michal Simek [Wed, 20 Nov 2013 12:59:40 +0000 (13:59 +0100)]
microblaze: Define read/write{b,w,l}_relaxed MMIO

More and more ARM specific drivers is using MMIO
readX/writeX_relaxed IO functions and Microblaze can
shared some drivers with ARM too.

This patch adds relaxed IO accessor macros
to prevent compilation failures.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agomicroblaze: Fix compilation error for BS=0
Michal Simek [Tue, 19 Nov 2013 15:20:34 +0000 (16:20 +0100)]
microblaze: Fix compilation error for BS=0

This bug was introduced by:
"microblaze: Do not used hardcoded value in exception handler"
(sha1: 9f78d3b5ab97a22a7e836312c495804ee4bca4ab)

System without barrel shifter are pretty rare that's why
this bug has been fixed so late.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agomicroblaze: Fix missing bracket in printk
Michal Simek [Tue, 19 Nov 2013 13:27:33 +0000 (14:27 +0100)]
microblaze: Fix missing bracket in printk

The error was introduced by the patch
"microblaze: Fix coding style issues"
(sha1: 6bd55f0bbaebb79b39e147aa864401fd0c94db82).

Error message:
arch/microblaze/kernel/setup.c: In function 'machine_early_init':
arch/microblaze/kernel/setup.c:177:3: error: 'pr_cont'
  undeclared (first use in this function)
arch/microblaze/kernel/setup.c:177:3: note: each undeclared
  identifier is reported only once for each function it appears in
arch/microblaze/kernel/setup.c:177:10: error: expected ';'
  before string constant
arch/microblaze/kernel/setup.c:177:33: error: expected statement
  before ')' token

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agomicroblaze: Calculate kernel pad automatically
Michal Simek [Wed, 6 Nov 2013 15:36:08 +0000 (16:36 +0100)]
microblaze: Calculate kernel pad automatically

The kernel needs to setup the first two tlbs with pad
which is used for early page allocation which is used
by mapin_ram() to allocate tables for lowmem memory
before memory initialisation is done.
Calculate pad directly from lowmem size.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agomicroblaze: Remove unused NO_MMU Kconfig parameter
Michael Opdenacker [Mon, 4 Nov 2013 08:30:18 +0000 (09:30 +0100)]
microblaze: Remove unused NO_MMU Kconfig parameter

This removes the NO_MMU Kconfig parameter,
which was no longer used anywhere in the source code
and Makefiles.

This also updates a comment refering to this parameter.

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoARM: mm: Fix ECC mem policy printk
Michal Simek [Thu, 10 Oct 2013 09:59:46 +0000 (11:59 +0200)]
ARM: mm: Fix ECC mem policy printk

ECC policy can be applied to the whole system
when this bit is implemented by SoC vendor
(IMP - bit 9 - in L1 page table entry format).
When this bit is not implemented by SoC vendor
it doesn't mean that system has no other way
how to do ECC.
This patch ensures to show this message only when ECC
is requested via cmd line ecc=on and runs on
appropriate ARM core.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: slcr: Fix kernel-doc format
Michal Simek [Mon, 18 Nov 2013 14:03:37 +0000 (15:03 +0100)]
zynq: slcr: Fix kernel-doc format

Trivial fix.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: slcr: Driver cleanup
Michal Simek [Mon, 18 Nov 2013 13:27:01 +0000 (14:27 +0100)]
zynq: slcr: Driver cleanup

- Remove unneeded headers
- Remove duplicated SLCR_UNLOCK_MAGIC macro

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: slcr: Rename xslcr to zynq_slcr
Michal Simek [Mon, 18 Nov 2013 13:15:55 +0000 (14:15 +0100)]
zynq: slcr: Rename xslcr to zynq_slcr

zynq specific functions should use zynq_ prefix.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: drm-v4l2: Fix incorrect DTS merge
Michal Simek [Mon, 18 Nov 2013 13:02:02 +0000 (14:02 +0100)]
zynq: drm-v4l2: Fix incorrect DTS merge

The patch: "Merge tag 'v3.12' into master-next"
(sha1: cd30bed1eb9cddb9bd24c0fcd13bdbba6373ac1f)
brings inconsistency in drm-v4l2 DTS description
which has been changed by:
"drm: xilinx: cresample: Add input/output video format dts prop"
(sha1: 6c6790e95560e90bb6f7b483269cbfa8e89321a5)

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: Remove DMA_ENGINE=y from zynq Kconfig
Michal Simek [Mon, 18 Nov 2013 12:54:16 +0000 (13:54 +0100)]
zynq: Remove DMA_ENGINE=y from zynq Kconfig

There is no reason to enable DMA_ENGINE by default.
Every dma driver enables it if uses it.

Symbol was introduced by this commit
"arm: zynq: Move pl330 driver to the drivers/dma"
(sha1: dcd3488987548b15f8b9d0dfc703a3c19d109f69)
but this xilinx pl330 specific driver it is not longer
in the tree.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agoMerge tag 'v3.12' into master-next
Michal Simek [Mon, 18 Nov 2013 08:05:44 +0000 (09:05 +0100)]
Merge tag 'v3.12' into master-next

Upgrade to v3.12. This merge has to be properly tested
to be sure that there is not problem with the merge.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agozynq: drm: DTS synchronization with current configuration
Michal Simek [Mon, 18 Nov 2013 07:31:29 +0000 (08:31 +0100)]
zynq: drm: DTS synchronization with current configuration

Remove 2 vdmas and sobel filter.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agodrm: xilinx: crtc: Add CCF support for pixel clock
Hyun Kwon [Thu, 14 Nov 2013 20:16:33 +0000 (12:16 -0800)]
drm: xilinx: crtc: Add CCF support for pixel clock

Replace dependency on si570 using CCF interface.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Acked-by: Soren Brinkmann <sorenb@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agodrm: xilinx: plane: Add rgb2yuv/cresample support
Hyun Kwon [Thu, 14 Nov 2013 20:16:32 +0000 (12:16 -0800)]
drm: xilinx: plane: Add rgb2yuv/cresample support

Add to support the pipeline configuration with rgb2yuv and cresample
for each plane. Proper format checking between IP connections is done
in drivers.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agodrm: xilinx: drv: Add xilinx_drm_format_by_name()
Hyun Kwon [Thu, 14 Nov 2013 20:16:31 +0000 (12:16 -0800)]
drm: xilinx: drv: Add xilinx_drm_format_by_name()

xilinx_drm_format_by_name() translates the xilinx format name into
the drm format code. This function can be used by subdevice drivers
with format names in DTS descriptions.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agodrm: xilinx: plane: Add the 'planes' dts node
Hyun Kwon [Thu, 14 Nov 2013 20:16:30 +0000 (12:16 -0800)]
drm: xilinx: plane: Add the 'planes' dts node

Add the 'planes' dts node under xilinx_drm. The IP instances for each plane
can be specified using this node, and this enables to have the same IPs
in 2 locations: 1 before OSD(for plane), and 1 after OSD(for crtc).

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agodrm: xilinx: plane: Add xilinx_drm_plane_check_format()
Hyun Kwon [Thu, 14 Nov 2013 20:16:29 +0000 (12:16 -0800)]
drm: xilinx: plane: Add xilinx_drm_plane_check_format()

Add xilinx_drm_plane_check_format(), and replace
xilinx_drm_plane_get_format() with it. When fb is allocated, the requested
format is checked by calling this function. This function checks
if the given format is supported by available planes.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agodrm: xilinx: cresample: Add input/output video format dts prop
Hyun Kwon [Thu, 14 Nov 2013 20:16:28 +0000 (12:16 -0800)]
drm: xilinx: cresample: Add input/output video format dts prop

Add input/output video format dts prop. It requires to detect
formats of IP and provide proper information to users.
xilinx_cresample_get_input/output_format() functions are added.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agodrm: xilinx: drv: Replace xilinx_drm_format() with xilinx_drm_format_by_code()
Hyun Kwon [Thu, 14 Nov 2013 20:16:27 +0000 (12:16 -0800)]
drm: xilinx: drv: Replace xilinx_drm_format() with xilinx_drm_format_by_code()

Add xilinx_drm_format_by_code() which utilizes the Xilinx format descriptor,
then replace previous xilinx_drm_format() with xilinx_drm_format_by_code().
xilinx_drm_format_by_code() converts the Xilinx format code to the drm format.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agodrm: xilinx: Add Xilinx video format descriptors
Hyun Kwon [Thu, 14 Nov 2013 20:16:26 +0000 (12:16 -0800)]
drm: xilinx: Add Xilinx video format descriptors

Add Xilinx video format descriptors which have a Xilinx format name,
a Xilinx format code, and a drm format code. This descriptor can be
used to convert between format codes/name.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
10 years agowatchdog: zynq: Rename XWDTPS to ZYNQ_WDT
Michal Simek [Tue, 12 Nov 2013 11:40:20 +0000 (12:40 +0100)]
watchdog: zynq: Rename XWDTPS to ZYNQ_WDT

Use standard macro names for zynq.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>