MLK-12432-02: capture: Add support for mipi input
authorSandor Yu <Sandor.yu@nxp.com>
Mon, 28 Mar 2016 10:04:40 +0000 (18:04 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:51:46 +0000 (14:51 -0500)
commitea12b18d0afb2010abc4c342504590cdf28c21f2
tree37574f34f41751b223c135e37bb171db52ef9a6e
parent85f3c488ca7caf16c421d6c2d7e732d8e198d8b6
MLK-12432-02: capture: Add support for mipi input

Combine csi image setting function for 32-bit,16-bit,8-bit format.
For parallel 8-bit sensor input, when bit per pixel is 16,
csi image width should been doubled.
But for mipi input, the csi image width and height should align
with mipi whatever data width.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
drivers/media/platform/mxc/subdev/mx6s_capture.c