From patchwork Thu Jul 14 08:34:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Volodymyr Kharuk X-Patchwork-Id: 12917479 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 34935CCA47C for ; Thu, 14 Jul 2022 08:35:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235642AbiGNIe7 (ORCPT ); Thu, 14 Jul 2022 04:34:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235688AbiGNIe4 (ORCPT ); Thu, 14 Jul 2022 04:34:56 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E38323C8EA for ; Thu, 14 Jul 2022 01:34:55 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id v14so1563302wra.5 for ; Thu, 14 Jul 2022 01:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=melexis.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CZaviK4TRAYwB1ueU1rfg2T0PUe/5MyrhBt48vfDihg=; b=SKISWAz8bxQLPyK7q6MASrRTa+l7kbxQORso9Ssbp5pyLJStK/EN/2nEy91Wzod0YG Xr+2ZmkinnpOiwkgMrzww7XAb1pb4YoWvRRUU8Aj5vPYUinjytSnoAcNgiMficVOazwx bl2tFzsaU4pEXT9fQmBamBoQMUCYCwpLbd/LKFzQbRqVPpua5k48UUfwErvM/FOngB7b ZwMsrNkwcoHIdkhFlIjlFEjm5Zgx8hKa4Im/Gd9c+VSu6+R+H7XnLXJkNJiqcF2zBYny RWZeHIlgt8Au0E4SnnTaAYsOK646WFWmZH0NF8hSUxCm0n5gleB2nFp+0a+/cKwQ7eg6 uHjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CZaviK4TRAYwB1ueU1rfg2T0PUe/5MyrhBt48vfDihg=; b=2cr3MubyY+OZM6FyBTiiDun9fjm+iM563nOR0U42kF56kHShqNWtUoJTvuMGIPLxB6 RRhQYQ26RhCikwc/bJaEn4ZoVR7qCXRBLMhrFRC276oKZpD+9bacoObVOQdpvu88caIM uxEiAqoXLRHns+13MLgTCViUrd+b33QxV/VDSxsrJBEhzr0JSjvHufSN4N0ocBekhyVg Vf0fvv+/BIKtrIF+fIfs1jNGGLEfreLOkqYczVtT/15Q2IMYk6f3ioiEyDfg6pkwq+OM xg5eYbjvwG7MTz8UmXBvqu9pAlFaAKPQBLFQVzZNtBa4iLeDdsC3o4DRqA1thHgjECis +iVg== X-Gm-Message-State: AJIora/CGZCniyscEDgZ9A48JpnMQU57joMzaGGVrbOxB75XFXehnppr uP/oPCb70/L5Ba8bXzZsl7xFlXcdaXElKnDyB/4SCkrjqameiC2zankarL6XR84r1tygRosGVpT N8kvGkFH3OFcVmtAvNUlXwAtgxhN9HSIkRTiDZV2mpJjxWSOwXHyHlEIZ05XSIhN37Xmkf5Id X-Google-Smtp-Source: AGRyM1s158dLwy7rKWDZQ+Z75dy45/m0B+9INoKUu6pUX6ft0NpWzuX4cu7SLghW+b2oX445YBYJJg== X-Received: by 2002:a5d:508c:0:b0:21d:68d5:83f0 with SMTP id a12-20020a5d508c000000b0021d68d583f0mr6962767wrt.505.1657787694364; Thu, 14 Jul 2022 01:34:54 -0700 (PDT) Received: from melexis ([194.44.50.167]) by smtp.gmail.com with ESMTPSA id o38-20020a05600c512600b003a2e2e965absm4509004wms.20.2022.07.14.01.34.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 01:34:54 -0700 (PDT) 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 v2 1/6] media: xilinx: csi2rxss: Add 1X12 greyscale format Date: Thu, 14 Jul 2022 11:34:43 +0300 Message-Id: <68fc9d4edfff563995a1b3d452b57735b00ab364.1657786765.git.vkh@melexis.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Extend the csi2rxss with Y12_1X12 greyscale format Signed-off-by: Volodymyr Kharuk Reviewed-by: Laurent Pinchart --- 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 },