summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorVolodymyr Kharuk <vkh@melexis.com>2022-07-14 11:34:44 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-08-30 17:17:20 +0300
commitd6a1feba5dcabb6cae9e005714baa80bb37819b1 (patch)
tree7b0d125e03e51eaab64cc72b06aa1ff4785a84bc /drivers/media
parent1a4f8d7d1874df483e6c6b3685fe2a1f51ed0086 (diff)
downloadlinux-d6a1feba5dcabb6cae9e005714baa80bb37819b1.tar.xz
media: xilinx: video: Add 1X12 greyscale format
Extend the xilinx video driver with Y12_1X12 greyscale format Signed-off-by: Volodymyr Kharuk <vkh@melexis.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/xilinx/xilinx-vip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/xilinx/xilinx-vip.c b/drivers/media/platform/xilinx/xilinx-vip.c
index a0073122798f..5b214bf7f93a 100644
--- a/drivers/media/platform/xilinx/xilinx-vip.c
+++ b/drivers/media/platform/xilinx/xilinx-vip.c
@@ -40,6 +40,8 @@ static const struct xvip_video_format xvip_video_formats[] = {
1, V4L2_PIX_FMT_SGBRG8 },
{ XVIP_VF_MONO_SENSOR, 8, "bggr", MEDIA_BUS_FMT_SBGGR8_1X8,
1, V4L2_PIX_FMT_SBGGR8 },
+ { XVIP_VF_MONO_SENSOR, 12, "mono", MEDIA_BUS_FMT_Y12_1X12,
+ 2, V4L2_PIX_FMT_Y12 },
};
/**