* [PATCH] [media] s5p-csis: Added RAW data format as the supported format.
@ 2012-10-15 9:48 Ritesh Kumar Solanki
2012-10-15 11:01 ` Sylwester Nawrocki
0 siblings, 1 reply; 2+ messages in thread
From: Ritesh Kumar Solanki @ 2012-10-15 9:48 UTC (permalink / raw)
To: linux-media, linux-samsung-soc, linux-arm-kernel
Cc: mchehab, s.nawrocki, kyungmin.park
csis can support jpeg, yuv and raw data format.
Signed-off-by: Ritesh Kumar Solanki <r.solanki@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] [media] s5p-csis: Added RAW data format as the supported format.
2012-10-15 9:48 [PATCH] [media] s5p-csis: Added RAW data format as the supported format Ritesh Kumar Solanki
@ 2012-10-15 11:01 ` Sylwester Nawrocki
0 siblings, 0 replies; 2+ messages in thread
From: Sylwester Nawrocki @ 2012-10-15 11:01 UTC (permalink / raw)
To: Ritesh Kumar Solanki
Cc: linux-media, linux-samsung-soc, linux-arm-kernel, kyungmin.park
Hi Ritesh,
On 10/15/2012 11:48 AM, Ritesh Kumar Solanki wrote:
> csis can support jpeg, yuv and raw data format.
>
> Signed-off-by: Ritesh Kumar Solanki <r.solanki@samsung.com>
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
> ---
> 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,
> },
> };
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-15 11:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15 9:48 [PATCH] [media] s5p-csis: Added RAW data format as the supported format Ritesh Kumar Solanki
2012-10-15 11:01 ` Sylwester Nawrocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).