From patchwork Mon Jun 20 16:25:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Volodymyr Kharuk X-Patchwork-Id: 583412 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28B6CCCA479 for ; Mon, 20 Jun 2022 16:25:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238798AbiFTQZp (ORCPT ); Mon, 20 Jun 2022 12:25:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239131AbiFTQZW (ORCPT ); Mon, 20 Jun 2022 12:25:22 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74F6C17AAD for ; Mon, 20 Jun 2022 09:25:21 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id g4so5715454lfv.9 for ; Mon, 20 Jun 2022 09:25:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=melexis.com; s=google; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=UCpDhGnG8qf0Pht8ozeWOG9JZcY4xZZxEfZx+vL3nrk=; b=LfJvdiizbyvUmnNdcArReSPTDd/EjFHFqFCjWuwSFYo+4s0RnfVNe0p4w6YLcw9Haw dTT9++dOi50mxf2GnjxJFoFv6rteNNSj9VsoygAJOUtRV7FTNDvX77EVwU5F9x8NDiWc AR4b2oShm6El/nOkGngD3RjImyb55ednm0uYMECN8NXV/F47VVP2llwRWvRf3sPH5KAx s1glAGNhiewgINYj2IDUk7cFYgkSOz7COvqyw44Z7Suj7iY+GMSyoS4hr/g/il4yFMbq /aEa0Cu4LhGHcqzgr51GJc79XuDXsDc7pTHNdbQjrehToni6xgEiAF2am/+vGWeXFjE5 keNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition; bh=UCpDhGnG8qf0Pht8ozeWOG9JZcY4xZZxEfZx+vL3nrk=; b=swX4xgiUPeYYtK9NRBqjMZoidjCZbFydqzHcvHtKcaRLv7sL4m/VVhewsG+v36d/MC Tpb9QgH9ySrJQfxRvmyBAMvexa6pPQtgmu/5HBPKDMItzq/O991UzZwuwKyaWC9Tbyml wLh7bJBViXJZl6oB2Wuz8rgbO4AYvOPSsFqC5WU7313R817cP8d8DpzXeje2KdUSYJMc ZGzPhf/UrKH3IOLBfUfBEcr7PrcT0XltnQBOJQjRngdDEqszEEYo9wY4Hh3CSKswIdTq c8af4dWUWOOtocPF5wscpw4oLc7G/kTfLkPvqb90exJ9lY99a9vog3hq73MEKSWO3DHN kvug== X-Gm-Message-State: AJIora8EK4tQ2YCgqjvqXLCWlyEAt/dH6caqVT/0HlLBHuJsnYgAphIm Dt/y8cpX87hRLFL8GePIJFRfMQ== X-Google-Smtp-Source: AGRyM1t1DNcCrHdpbtKHkPex43LSxtJ2IIkMbPLEhTYJALYeHAZcfEJFAj0YOGAw0LCZV59qNGRSXQ== X-Received: by 2002:a05:6512:3ba0:b0:47f:664c:9e87 with SMTP id g32-20020a0565123ba000b0047f664c9e87mr5555031lfv.59.1655742319811; Mon, 20 Jun 2022 09:25:19 -0700 (PDT) Received: from vkh-ThinkPad-T490 ([91.192.183.26]) by smtp.gmail.com with ESMTPSA id u9-20020a197909000000b00478f739f1fdsm1816288lfc.103.2022.06.20.09.25.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 09:25:19 -0700 (PDT) Date: Mon, 20 Jun 2022 19:25:18 +0300 From: Volodymyr Kharuk To: linux-media@vger.kernel.org, vkh@melexis.com, ays@melexis.com, mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, hyun.kwon@xilinx.com, laurent.pinchart@ideasonboard.com, michal.simek@xilinx.com, kieran.bingham+renesas@ideasonboard.com, devicetree@vger.kernel.org Subject: [PATCH 1/6] media: xilinx: csi2rxss: Add 1X12 greyscale format Message-ID: <20220620162518.GA13973@vkh-ThinkPad-T490> MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Volodymyr Kharuk To: linux-media@vger.kernel.org Cc: Volodymyr Kharuk , Andrii Kyselov , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Hyun Kwon , Laurent Pinchart , Michal Simek , Kieran Bingham , devicetree@vger.kernel.org Subject: [PATCH 1/6] media: xilinx: csi2rxss: Add 1X12 greyscale format Date: Mon, 20 Jun 2022 19:24:32 +0300 Message-Id: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Extend the csi2rxss with Y12_1X12 greyscale format Signed-off-by: Volodymyr Kharuk --- drivers/media/platform/xilinx/xilinx-csi2rxss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/xilinx/xilinx-csi2rxss.c b/drivers/media/platform/xilinx/xilinx-csi2rxss.c index 051c60cba1e0..67574244eb2b 100644 --- a/drivers/media/platform/xilinx/xilinx-csi2rxss.c +++ b/drivers/media/platform/xilinx/xilinx-csi2rxss.c @@ -188,6 +188,7 @@ static const u32 xcsi2dt_mbus_lut[][2] = { { MIPI_CSI2_DT_RAW12, MEDIA_BUS_FMT_SBGGR12_1X12 }, { MIPI_CSI2_DT_RAW12, MEDIA_BUS_FMT_SGBRG12_1X12 }, { MIPI_CSI2_DT_RAW12, MEDIA_BUS_FMT_SGRBG12_1X12 }, + { MIPI_CSI2_DT_RAW12, MEDIA_BUS_FMT_Y12_1X12 }, { MIPI_CSI2_DT_RAW16, MEDIA_BUS_FMT_SRGGB16_1X16 }, { MIPI_CSI2_DT_RAW16, MEDIA_BUS_FMT_SBGGR16_1X16 }, { MIPI_CSI2_DT_RAW16, MEDIA_BUS_FMT_SGBRG16_1X16 },