video: fb: xylonfb: Driver version 2.0

Added support for logiCVC IP version 3.0 functionality with YUV and Alpha layers.
FB console available on top of the 8bpp YUV CLUT layer.
YUV supported formats 4:2:2 (16 bpp) and 4:4:4 (32 bpp), alpha layer format is 8bpp.
Added miscellaneous module.
Miscellaneous interface implements ADV7511 control functions working on top of Cisco adv7511 V4L2 driver.
logiCVC dynamic configuration to preferred resolution of connected display, according to EDID.
Improved driver configuration from kernel configuration menu and DTS file.

Signed-off-by: Davor Joja <davor.joja@logicbricks.com>
[media] v4l: Helper function for obtaining timestamps

v4l2_get_timestamp() produces a monotonic timestamp but unlike
ktime_get_ts(), it uses struct timeval instead of struct timespec, saving
the drivers the conversion job when getting timestamps for v4l2_buffer's
timestamp field.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
[media] adv7604: Add adv7611 support

This patch adds support for the Analog Devices ADV7611 HDMI receiver.
The adv7611 is quite similar to the adv7604. It has only one instead of four
HDMI inputs and no analog frontend though. Also some register bits have been
shuffled around, but large parts of their register maps are compatible.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
[media] adv7604: Move adv7604_{read,write}_reg out of CONFIG_VIDEO_ADV_DEBUG section

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
adv7511: Support for ADV7511 HDMI transmitter

Cisco V4L2 driver for ADV7511 HDMI transmitter.

Driver changes against original version:
- fixed compiling issues
- fixed race conditions
- added OFDT support for greater flexibility and configurability on different hw platforms

Signed-off-by: Davor Joja <davor.joja@logicbricks.com>
dma: Rename xilinx dmatest to axidmatest

The reason is that there is standard dmatest in dma folder
a because of the design of these xilinx proprietary tests
without binding that ends in duplicating filenames
just because of the same driver name.

Warning log:
WARNING: at fs/sysfs/dir.c:536 sysfs_add_one+0x78/0x98()
sysfs: cannot create duplicate filename '/module/dmatest/parameters/iterations'

Renaming driver to different name caused that kernel
will use different module name.

~ # ls /sys/module/ | grep dma
axidmatest
cdmatest
dmatest
vdmatest

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
usb: xilinxps_otg: Removed unused function declaration.

Removed unused function declaration.

Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com>
usb: xilinxps_udc: Added s/w workaround for USB disconnect detection

Added s/w workaround for USB disconnect detection as mentioned in
AR# 47538. See http://www.xilinx.com/support/answers/47538.htm for
more details. This fix is not applicable for OTG mode as there is
no callback registered for B session end event.

Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
usb: xilinxps_udc: Added checking for full speed gadget.

Added checking for full speed gadget. The controller supports
both high speed and full speed in device mode.

Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com>
usb: xilinxps_udc: Update the driver to use usb_endpoint_descriptor inside the struct usb_ep.

Update the driver to use usb_endpoint_descriptor inside the struct usb_ep.
Remove redundant pointer to struct usb_endpoint_descriptor.

Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com>