From: Volodymyr Kharuk <vkh@xxxxxxxxxxx> To: linux-media@xxxxxxxxxxxxxxx Cc: Volodymyr Kharuk <vkh@xxxxxxxxxxx>, Andrii Kyselov <ays@xxxxxxxxxxx>, Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>, Rob Herring <robh+dt@xxxxxxxxxx>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx>, Hyun Kwon <hyun.kwon@xxxxxxxxxx>, Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>, Michal Simek <michal.simek@xxxxxxxxxx>, Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx>, devicetree@xxxxxxxxxxxxxxx Subject: [PATCH 2/6] media: xilinx: video: Add 1X12 greyscale format Date: Mon, 20 Jun 2022 19:24:33 +0300 Message-Id: <33eb3ccce5d4d0832b07dd0e18c5ec7c800f471a.1655738299.git.vkh@xxxxxxxxxxx> X-Mailer: git-send-email 2.36.1 In-Reply-To: <cover.1655738299.git.vkh@xxxxxxxxxxx> References: <cover.1655738299.git.vkh@xxxxxxxxxxx> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Extend the xilinx video driver with Y12_1X12 greyscale format Signed-off-by: Volodymyr Kharuk <vkh@xxxxxxxxxxx> --- drivers/media/platform/xilinx/xilinx-vip.c | 2 ++ 1 file changed, 2 insertions(+) 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 }, }; /** -- BR, Volodymyr Kharuk