Skip to contentSkip to conversation

s5p-csis: Added RAW data format as the supported format.

PATCH New Ritesh Kumar Solanki 2 participants 2 messages Oct 15, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s5p-csis: Added RAW data format as the supported format.

csis can support jpeg, yuv and raw data format.

---
 drivers/media/platform/s5p-fimc/mipi-csis.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/media/platform/s5p-fimc/mipi-csis.c +4 -0
index 2f73d9e..0205ae4 100644
@@ -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,
 	},
 };
 
Signature · 1 line
1.7.2.3
#1 lore raw

PATCH 1/1 s5p-csis: Added RAW data format as the supported format.

Hi Ritesh,

Quoted 3 lines · Ritesh Kumar Solanki

csis can support jpeg, yuv and raw data format.

Thanks for the patch. I already have a patch adding all three raw Bayer formats (SGRBG8/10/12) at the driver and I plan it for v3.8. So I'd like to use it instead of your patch. I'll post it as soon as I get my development branch cleaned up.

Regards,
Sylwester

Quoted 18 lines
---
 drivers/media/platform/s5p-fimc/mipi-csis.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/media/platform/s5p-fimc/mipi-csis.c +4 -0
index 2f73d9e..0205ae4 100644
@@ -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,
 	},
 };