media: atmel: atmel-isc: add raw Bayer 8bit 10bit output formats

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.hristev@microchip.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
Eugen Hristev 2021-12-13 14:49:38 +01:00 committed by Mauro Carvalho Chehab
parent e8b13dc37b
commit da13c943da
2 changed files with 48 additions and 0 deletions

View File

@ -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* */

View File

@ -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* */