This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: atmel: atmel-isc: add raw Bayer 8bit 10bit output formats
Author:  Eugen Hristev <eugen.hris...@microchip.com>
Date:    Mon Dec 13 14:49:38 2021 +0100

The ISC can dump the 8 bit and 10 bit raw bayer formats directly to
the memory.
Thus, add them to the supported output format list.

Signed-off-by: Eugen Hristev <eugen.hris...@microchip.com>
Reviewed-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mche...@kernel.org>

 drivers/media/platform/atmel/atmel-sama5d2-isc.c | 24 ++++++++++++++++++++++++
 drivers/media/platform/atmel/atmel-sama7g5-isc.c | 24 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

---

diff --git a/drivers/media/platform/atmel/atmel-sama5d2-isc.c 
b/drivers/media/platform/atmel/atmel-sama5d2-isc.c
index 1b2063cce0f7..c5b9563e36cb 100644
--- a/drivers/media/platform/atmel/atmel-sama5d2-isc.c
+++ b/drivers/media/platform/atmel/atmel-sama5d2-isc.c
@@ -88,6 +88,30 @@ static const struct isc_format sama5d2_controller_formats[] 
= {
        {
                .fourcc         = V4L2_PIX_FMT_Y10,
        },
+       {
+               .fourcc         = V4L2_PIX_FMT_SBGGR8,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SGBRG8,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SGRBG8,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SRGGB8,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SBGGR10,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SGBRG10,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SGRBG10,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SRGGB10,
+       },
 };
 
 /* This is a list of formats that the ISC can receive as *input* */
diff --git a/drivers/media/platform/atmel/atmel-sama7g5-isc.c 
b/drivers/media/platform/atmel/atmel-sama7g5-isc.c
index 020cd3ed1a9d..07a80b08bc54 100644
--- a/drivers/media/platform/atmel/atmel-sama7g5-isc.c
+++ b/drivers/media/platform/atmel/atmel-sama7g5-isc.c
@@ -100,6 +100,30 @@ static const struct isc_format 
sama7g5_controller_formats[] = {
        {
                .fourcc         = V4L2_PIX_FMT_Y16,
        },
+       {
+               .fourcc         = V4L2_PIX_FMT_SBGGR8,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SGBRG8,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SGRBG8,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SRGGB8,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SBGGR10,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SGBRG10,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SGRBG10,
+       },
+       {
+               .fourcc         = V4L2_PIX_FMT_SRGGB10,
+       },
 };
 
 /* This is a list of formats that the ISC can receive as *input* */

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to