microblaze: Don't mark arch_kgdb_ops as const.

Other architectures don't do it, and it conflicts with the extern'd definition
in include/linux/kgdb.h.

The patch fails checkpatch but it reflects current
functions declaration and solved compilation error.

Signed-off-by: Graeme Smecher <gsmecher@threespeedlogic.com>
CC: Michal Simek <monstr@monstr.eu>
CC: linux-kernel@vger.kernel.org
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
spi: xilinx-qps: Fix qspi issues wrt read and write to flash

Use correct offset while copying the data to TXD1/2/3 register.
In case of dual parallel, write/read must be of double byte
resolution, hence, use TXD0 register as hack on hw limitation,
and on RXD register always parse 4 bytes.

Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
mtd: m25p80: Use conditional compilation for OF function calls

Place the code which calls OF api's under conditional compilation
parameter CONFIG_OF.

Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
mtd: m25p80: Fix sparse warnings

- do not define device_node *np again
- is dual must be u32 because of_property_read_u32

Warning log:
drivers/mtd/devices/m25p80.c:1238:22: warning: symbol 'np' shadows an earlier one
drivers/mtd/devices/m25p80.c:1148:36: originally declared here
drivers/mtd/devices/m25p80.c:1337:23: warning: symbol 'np' shadows an earlier one
drivers/mtd/devices/m25p80.c:1148:36: originally declared here
drivers/mtd/devices/m25p80.c:1244:45: warning: incorrect type in argument 3 (different signedness)
drivers/mtd/devices/m25p80.c:1244:45:    expected unsigned int [usertype] *out_value
drivers/mtd/devices/m25p80.c:1244:45:    got int static *<noident>

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Suneel Garapati <suneel.garapati@xilinx.com>
arch/microblaze/boot/dts/cf_xcomm: update to new dt DMA api

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
iio: frequency: adf4350: Fix reserved bit register usage

ADF4350/1 register 5 has two reserved bits (19/20) these must be set to 1
otherwise this may result in unwanted behavior.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
iio:frequency: adf4350: Fix prescaler usage.

The ADF4350/1 features a programmable dual-modulus prescaler of 4/5 or 8/9.
When set to 4/5, the maximum RF frequency allowed is 3 GHz.
Therefore, when operating the ADF4351 above 3 GHz, this must be set to 8/9.
In this context not the RF output frequency is meant
- it's the VCO frequency.

Therefore move the prescaler selection after we derived the VCO frequency
from the desired RF output frequency.

This BUG may have caused PLL lock instabilities when operating the VCO at
the very high range close to 4.4 GHz.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
iio: frequency: adf4350: Misc changes to ease debugfs usage

The ADF4350/1 features some knobs to tune application specific performance.
All of them a accessible via device tree.

We had several requests to ease finding the right values by using the debugfs
direct register access functionality. Unfortunately whenever a new frequency
is set all these changes values are reverted with the device tree defaults.

This patch removes the configuration bits from the frequency update function.
In addition all registers are written to the device whenever a single bit is changed
via the debugfs interface.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Merge branch 'xcomm_zynq' of https://github.com/analogdevicesinc/linux into xcomm_zynq
drm_fb_cma_helper.c: Add module information

Allows it to be built as a module.
zynq.dtsi: Add devicetree entries for OCM and DDRC

Adds on-chip memory and DDR error detection capabilities.
Use dma_request_slave_channel() instead of_dma_request_slave_channel()

of_dma_request_slave_channel() is not exported for use in modules, so use
dma_request_slave_channel() instead.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Merge branch 'xcomm_zynq' of git://github.com/analogdevicesinc/linux into xcomm_zynq
Revert "of-dma.c: Export of_dma_request_slave_channel method"

This reverts commit 0b54d7262dd424508a02fdbe918e37172df811dd.

Commit 3c6428cbc1af3465937ec1af5bf5398bba7150c0 made this obsolete.
Merge branch 'master' of git://github.com/Xilinx/linux-xlnx into xcomm_zynq
zynq-zed.dtsi: Support full 32MB flash (add 16MB to rootfs)

The QSPI/flash driver now uses paging and can thus address the whole
32MB.