pci-imx6.c: wait for retraining

This patch handles the case where the PCIe link is up and running, yet drops
into the LTSSM training mode. The link spends short time in the LTSSM training
mode, but the current code can misinterpret it as the link being stalled.
Waiting for the LTSSM training to complete fixes the issue.

Signed-off-by: Marek Vasut <marex@denx.de>
Tested-by: Troy Kisky <troy.kisky@boundarydevices.com>
PCI: Add quirk for setting valid class for TW6869 frame grabber

Based on commit d4ab3dedc3be1a033420de9daf03056f949c4e51
(PCI: Add quirk for setting valid class for TI816X Endpoint)

Having class code = 0 makes kernel PCI bus code skip
allocating BARs to these devices resulting in the following
error:

PCI: Device 0000:01:00.0 not available because of resource collisions

This patch adds a ID specific (0x1797:6869) early fixup quirk
to replace class code with PCI_CLASS_MULTIMEDIA_VIDEO.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
dma-mapping: increase DEFAULT_DMA_COHERENT_POOL_SIZE ifdef CONFIG_VIDEO_TW68
tw68: add driver for tw6869
tw68: audio fixes
ov5640: setup mux for parallel input
mxc_v4l2_capture: cleanup debug messages
i.MX6: v4lout: none of our displays support color-space conversion

Without this, fb0 can become a YUV buffer and doesn't switch
back to being rgb when fb0 is closed by the app.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
ov5640_mipi: change registered name from ov5640 to ov5640_mipi to reduce confusion
dts: imx6qdl-sabrelite: add ov5640 csi1 parallel camera
mxc_mipi_csi2: add ipu/csi info to probed output
mxc_v4l2_capture: add mxc_camera_common_lock/unlock, fix device name
ov5640_mipi: add i2c address change feature
ov5642: add i2c address change feature
imx6qdl-sabrelite: change ov5640_mipi/ov5642 default address
imx6qdl-nitrogen6x: change ov5640_mipi/ov5642 default address
imx6q-sabrelite.dts: add csi capture for ipu2
imx6dl-nitrogen6x.dts: add ov5640 pinctrl
imx6q-nitrogen6x.dts: add ov5640 pinctrl
ov5640_mipi: fix csi/ipu check for imx6dl