[media] media: imx: csi: add frame size/interval enumeration
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 7 Jun 2017 18:34:09 +0000 (15:34 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 11:02:24 +0000 (08:02 -0300)
commit949ffdbfdb505708f4c308f79312d9d3ea6c3c28
tree25edd7f7364afd3d48f168c5fcc194c8f5334b85
parent69e78611ffc84be13cf96781e10521103dfe50dd
[media] media: imx: csi: add frame size/interval enumeration

Add frame size and frame interval enumeration to CSI.

CSI can downscale the image independently horizontally and vertically by a
factor of two, which enumerates to four different frame sizes at the
output pads. The input pad supports a range of frame sizes.

CSI can also drop frames, resulting in frame rate reduction, so
enumerate the resulting possible output frame rates.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/imx/imx-media-csi.c