zynq: Synchronize defconfigs

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
char: devcfg: Use devm_ functions

Using them dramatically simplify probe and release functions.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
mmc: host: xilinxps: Use standard mmc binding

Use standard MMC binding which uses "broken-cd" property
in sdhci_get_of_property() which is called in sdhci_pltfm_register().

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
mmc: host: xilinxps: Use devm_ functions

Simplify probe and release functions.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
mmc: host: xilinxps: Simplify PM initialization

Use SIMPLE_DEV_PM_OPS macro.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
media: i2c: adv7511: Remove compilation warning

sd is used by v4l2_dbg() and sd should be initialized.

drivers/media/i2c/adv7511.c: In function 'adv7511_probe':
drivers/media/i2c/adv7511.c:1941:2: warning: 'sd' may be used
uninitialized in this function [-Wuninitialized]

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
media: i2c: adv7511: Use devm_ functions

Simplify initialization.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
media: i2c: adv7511: Use module_i2c_driver

Use helper function for driver initialization.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
media: i2c: adv7511: Remove useless #ifdef macros

client->dev.of_node and of_match_ptr just does the protection.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: Use predefined SYSCALL_DEFINE macro

Use standard syscall definition.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: Fix bug with mmap2 syscall MB implementation

Fix mmap2 behaviour which incorrectly works with pgoff
not in 4k units.

Reported-by: Rich Felker <dalias@aerifal.cx>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
uio: uio_xilinx_apm: Add Xilinx AXI performance monitor driver

Added driver for Xilinx AXI performance monitor IP.

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
samples: xilinx_apm: Add sample application for xilinx_apm

Added xilinx AXI performance monitor sample application

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
xdevcfg: Automatic endian-swap and header removal

Allows writing a raw .bit file directly to /dev/xdevcfg,
without having to process it using bootgen -split.

The change itself is really quite trivial, but the kernel
implementation is complicated by the fact that userspace
writes the bit-file in small chunks. These chunks may not
be lined up on word boundaries, so it is not possible to
endian-swap the last few bytes, until the next chunk
arrives.

Thus the addition of "residue_buf" to carry across the
last couple of bytes between calls to write() method.

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