[PATCH] [media] s5p-csis: Added RAW data format as the supported format.

Ritesh Kumar Solanki r.solanki at samsung.com
Mon Oct 15 05:48:03 EDT 2012


csis can support jpeg, yuv and raw data format.

Signed-off-by: Ritesh Kumar Solanki <r.solanki at samsung.com>
---
 drivers/media/platform/s5p-fimc/mipi-csis.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/media/platform/s5p-fimc/mipi-csis.c b/drivers/media/platform/s5p-fimc/mipi-csis.c
index 2f73d9e..0205ae4 100644
--- a/drivers/media/platform/s5p-fimc/mipi-csis.c
+++ b/drivers/media/platform/s5p-fimc/mipi-csis.c
@@ -145,6 +145,10 @@ static const struct csis_pix_format s5pcsis_formats[] = {
 		.code = V4L2_MBUS_FMT_JPEG_1X8,
 		.fmt_reg = S5PCSIS_CFG_FMT_USER(1),
 		.data_alignment = 32,
+	}, {
+		.code = V4L2_MBUS_FMT_SGRBG10_1X10,
+		.fmt_reg = S5PCSIS_CFG_FMT_RAW10,
+		.data_alignment = 24,
 	},
 };
 
-- 
1.7.2.3




More information about the linux-arm-kernel mailing list