media: xilinx: dma: Fix alignments of xvip_dma_fops definition

Fix alignments of xvip_dma_fops definition.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: dma: Workaround for bytesperline

Workaround for bytesperline bug from mplayer.

need to be removed.
Documentation: media: xilinx: Add more description of input/output formats

Add more description of input/output formats. As some of IPs can have
different input and output formats, description is added to documentation
accordingly.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: tpg: Add the passthrough mode

Add the passthrough mode, which TPG takes the external input and draws
some pattern(moving box) on top of it. TPG would have input/output pads
in the passthrough modes.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: tpg: Add controls for TPG

Add controls for TPG. Controls include motion, speed, noise, stuck pixel,
and etc. These controls are exposed to users to configure.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: tpg: Change *_OFFSET to *_SHIFT

Change *_OFFSET to *_SHIFT.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: tpg: Remove _TIMING_ from register definition

Remove _TIMING_ from register definition.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: tpg: Remove hard-coded default width/height

Remove hard-coded default width/height. Width and height are configured
at synthesis time, and correct values can be read from registers.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: tpg: Fix alignments around __xtpg_get_pad_format()

Fix minor alignments around __xtpg_get_pad_format().

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: tpg: Use the fixed format for xtpg_set_format()

Since pixel format is fixed, use the format for xtpg_set_format().

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: tpg: Add xtpg_init_formats()

As the TPG can have different input and output formats, xtpg_init_formats()
is added, and called in xtpg_open() and xtpg_probe().

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: tpg: Change include <linux/slab.h> to <linux/device.h>

Change include <linux/slab.h> to <linux/device.h>.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: tpg: Fix alignments

Fix minor alignments.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: tpg: Fix minor styles

Fix minor styles; Remove empty lines, and change the structure order.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
media: xilinx: vip: Add xvip_of_get_formats()

xvip_of_get_formats() takes a dts node, and pares the input and output formats.
This function can be used for IP drivers which can have different input and
output formats.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
v4l: xilinx: Add Color Correction Matrix(CCM) driver

Add Color Correction Matrix(CCM) driver. The CCM does the color correction
using coefficient matrix such as adjusting white balance, color case,
brightness, or contrast of an image.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
v4l: xilinx: Add Color Filter Array (CFA) driver

Add Color Filter Array(CFA) driver. The CFA reconstructs sub-sampled
color data for images captured by a Bayer Color Filter Array image sensors.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
v4l: xilinx: Add Chroma Resampler (CRESAMPLE) driver

Add Chroma Resampler(CRESAMPLE) driver. The CRESAMPLE converts between
sub-sample formatch such as YUV444, YUV422, and YUV420.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
v4l: xilinx: Add Image Enhancement (ENHANCE) driver

Add Image Enhancement(ENHANCE) driver. The ENHANCE reduces image noise and
enhance the edges of objects in each picture. Two dimensional filters are
used to suppress noise while preserving and enhancing edges.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
v4l: xilinx: Add Gamma Correction (GAMMA) driver

Add Gamma Correction(GAMMA) driver. The GAMMA is to do gamma correction of
image data to match the response of display devices.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>