media: xilinx: vip: Add default min/max height/width definitions

Add default min/max height/width definitions, min = 32, max = 7680.

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

media: xilinx: vip: Add xvip_enum_mbus_code(), which enumerate
the mbus code of a subdevice.

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

Add xvip_enum_frame_size(), which enumerates the min/max frame size
of a subdevice.

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

Add xvip_get_pad_format(), which gets the format of a certain pad
for a subdevice.

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

Add xvip_set_format() which set the format of a subdevice.

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

Add xvip_init_formats(), which initializes the formats of a subdevice.

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

Add xvip_start(), which starts the IP and enables the reg update.

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

Add xvip_stop(), which resets and stops the IP.

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

Add xvip_set_size(), which sets the size of IP.

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

Use xvip_enum_mbux_code() instead of own function, xtpg_enum_mbus_code().

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

Replace xtpg_enum_frame_size() with xvip_enum_frame_size().

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

Replace __xtpg_get_pad_format() with xvip_get_pad_format().

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

Use xvip_set_format().

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

Use xvip_start().

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

Use xvip_stop().

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

Use xvip_set_size().

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

The TPG is not able to have different input and output formats.
So, use the format propagation scheme for xtpg_set_format().

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>
media: xilinx: ccm: Use xvip helper functions

Use xvip helper functions.

This patch will be squashed to the initial one.
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>