spi: spi-xcomm: add gpio support

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
xilinx: afx: udpate device tree flash partitions

The u-boot was changed and now Linux device tree
flash partitions are being cleaned up to allow
for a bitstream to be up high in flash.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
usb: Correction to c67x00 TD data length mask

TD data length is 10 bits, correct TD_PORTLENMASK_DL. Reference
Cypress Semiconductor BIOS User's Manual 1.2, page 3-10

Signed-off-by: Dave Tubbs <dave.tubbs@portalislc.com>
usb: c67x00 RetryCnt value in c67x00 TD should be 3

RetryCnt value in c67x00 TD should be 3 (both bits set to 1). Reference
Cypress Semiconductor BIOS User's Manual 1.2, page 3-14

Signed-off-by: Dave Tubbs <dave.tubbs@portalislc.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
usb: Make sure each c67x00 TD has been executed

Make sure each c67x00 TD has been executed or retry using the existing
retry mechanism. Reference Cypress Semiconductor BIOS User's Manual 1.2,
page 3-16

Signed-off-by: Dave Tubbs <dave.tubbs@portalislc.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
memory: zynq-smc: Add a terminating entry to the OF match table

Add a terminating entry to the OF match table of the zynq smc driver. Without
this the driver may bind to random devices who's compatibility string comes next
in memory.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
usg: gadget: Simplify driver initialization

Use module_platform_driver macro which creates
init and exit functions.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
iio:ad5064: Fix address of the second channel for ad5065/ad5045/ad5025

The ad5065, ad5045, ad5025 use address '3' for the second channel, so they need
their own channel spec.

Note that ad5064_sync_powerdown_mode() also needs to be slightly updated since
it was relying on the fact that chan->address always equaled chan->channel.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
iio:ad5064: Fix off by one in DAC value range check

The DAC value range check allows values one larger than the maximum value, which
effectively results in setting the DAC value to 0. This patch fixes the issue.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
iio:ad5064: Initialize register cache correctly

Initialize the register cache to the proper mid-scale value based on the
resolution of the device.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
arm: dt: zynq: Remove ep107 dts

The current kernel and dts are not tested on ep107. Hence, remove it.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
arm: zynq: Order Makefile targets alphabetically

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
spi: xilinx-ps: Set SPI master mode bits

Properly setup master->mode_bits to the supported modes of the device. The SPI
core will check if a master can support the mode requested by a SPI slave
device. If mode_bits is not initialized the core will error out on all modes but
SPI_MODE_0.

Also get rid of the mode superfluous checks in xspips_setup_transfer() and
xspips_setup(). The SPI core will take care of making sure that this master can
support the salve device.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Merge remote-tracking branch 'xilinx/master-next' into xcomm_zynq

Conflicts:
	drivers/spi/spi-xilinx-ps.c
Fix zynq-zed-adv7511.dts audio

Setup the 'audio-codec-adapter' property. Without it audio via HDMI is not going
to work.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Merge remote-tracking branch 'github/xcomm_zynq' into xcomm_zynq