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 pads and formats to struct xvip_device

This will simplify video IP drivers by handling pads and formats
allocation in a central place.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
media: xilinx: vip: Group functions in sections

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: cfa: Rename compatible string to xlnx,v-cfa

This matches the compatible string values used by the DT generator.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: cresample: Rename compatible string to xlnx,v-cresample

This matches the compatible string values used by the DT generator.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: remapper: Rename compatible string to xlnx,v-remapper

This matches the compatible string values used by the DT generator.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: rgb2yuv: Rename compatible string to xlnx,v-rgb2yuv

This matches the compatible string values used by the DT generator.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: scaler: Rename compatible string to xlnx,v-scaler

This matches the compatible string values used by the DT generator.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: switch: Rename compatible string to xlnx,v-switch

This matches the compatible string values used by the DT generator.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: tpg: Rename compatible string to xlnx,v-tpg

This matches the compatible string values used by the DT generator.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: vtc: Rename compatible string to xlnx,v-tc

This matches the compatible string values used by the DT generator.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: video: Rename compatible string to xlnx,video

None of the video-related IP cores use AXI in their compatible string,
modify the video device compatible string to match that.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: tpg: Lock the control handler when modifying control range

__v4l2_ctrl_modify_range has to be called with the control handler lock
held, which isn't the case in all code paths. Fix them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: Remove axi- prefix from DT properties

The prefix has been removed from the compatible strings, remove it from
the video-width and video-format properties as well.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: tpg: Remove axi- prefix from DT properties

The prefix has been removed from the compatible strings, remove it from
the video-width and video-format properties as well.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: remapper: Remove axi- prefix from DT properties

The prefix has been removed from the compatible strings, remove it from
the video-width and video-format properties as well.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: cfa: Remove axi- prefix from DT properties

The prefix has been removed from the compatible strings, remove it from
the video-width and video-format properties as well.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: cresampler: Remove axi- prefix from DT properties

The prefix has been removed from the compatible strings, remove it from
the video-width and video-format properties as well.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>