Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp560421ybh; Tue, 10 Mar 2020 04:08:02 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsRElFjnT2H2kTkVr1/4V1ddxvumWWKPwu+mUlTyLsEGW8D9Am8ho8fZxbZUksjlB2vPjoM X-Received: by 2002:aca:acc2:: with SMTP id v185mr721462oie.27.1583838482666; Tue, 10 Mar 2020 04:08:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583838482; cv=none; d=google.com; s=arc-20160816; b=JLy6CPOfAJ8QTTBVgECtXGVgsZxWjnSH9+UvNh5rvtgL5mncwNPfAi7WS/GvTg6cqA J54Hd3CB+UKkSxVSyN2+9Nu7D1cVFxpD5gZ53PiQ2cG8TPRqlgEYJur+/0ZFqJgAv0r1 JPQgX1IKjoR6+SOE8oETwF2Y7jBvngLC96/PtyWlXfSwrdmjmKvcrKrdAj6GwXxRwi7g 4ZkXm+MkCGfP+/KjovJLHKzIqK7gSHnpQ2vSaI6sBLIsOpXLRQx3zG7iMynH577jCa7d P+5oI9vjQwmwq0cB0djZmoIANGgIuvk67g0obqddwtBz/o5uO7Pu0nbpd+sqKLLK4Qf1 YUUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=Evo/r/hXsMA0EgitI2BWKLvbYGTVUQfDWOEKUZGqvGU=; b=p3d4Tuzufyt9nqsDszijV8zHS1ganQiCDh43szyrAHfoCt8cI1GTxiBfyfYyz4iWbL njai8IxjENbMVYFQQP1+jl7371LVLNlvia5iPAjOs1dR+lu4HmOMOHT3jINIPg/RJg5b 8Y0eEHgQYFLvTow94QPe+1TU1n5XdejyduB0ylKEXxrlLDeIjhCQ98eMbziIQvFTshUE rsvnx4/Jjz2p33Op4/J2e0XSGXY2ECB+dqFgq5jXmPRBWediaD5wQVVYvPkEF/FyxZMu ZcRFje0Jq00eMMEA0KzkHuu9TZiF6LW537T0nUCb+FYTgL9SYlPie4VTanlzJ7zy6Zjd uRVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 17si5068943oir.132.2020.03.10.04.07.50; Tue, 10 Mar 2020 04:08:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726526AbgCJLGx (ORCPT + 99 others); Tue, 10 Mar 2020 07:06:53 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:25631 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726325AbgCJLGw (ORCPT ); Tue, 10 Mar 2020 07:06:52 -0400 X-IronPort-AV: E=Sophos;i="5.70,536,1574089200"; d="scan'208";a="41493406" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 10 Mar 2020 20:06:51 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 18F06420C2EB; Tue, 10 Mar 2020 20:06:49 +0900 (JST) From: Lad Prabhakar To: Mauro Carvalho Chehab , Niklas Cc: linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Lad Prabhakar , Lad Prabhakar Subject: [PATCH v2 3/3] media: rcar-vin: rcar-csi2: Add support for MEDIA_BUS_FMT_SRGGB8_1X8 format Date: Tue, 10 Mar 2020 11:06:04 +0000 Message-Id: <1583838364-12932-4-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1583838364-12932-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1583838364-12932-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds support for MEDIA_BUS_FMT_SRGGB8_1X8 format for CSI2 input. Signed-off-by: Lad Prabhakar --- drivers/media/platform/rcar-vin/rcar-csi2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/rcar-vin/rcar-csi2.c b/drivers/media/platform/rcar-vin/rcar-csi2.c index 39e1639..b030ef6 100644 --- a/drivers/media/platform/rcar-vin/rcar-csi2.c +++ b/drivers/media/platform/rcar-vin/rcar-csi2.c @@ -320,6 +320,7 @@ static const struct rcar_csi2_format rcar_csi2_formats[] = { { .code = MEDIA_BUS_FMT_YUYV8_1X16, .datatype = 0x1e, .bpp = 16 }, { .code = MEDIA_BUS_FMT_UYVY8_2X8, .datatype = 0x1e, .bpp = 16 }, { .code = MEDIA_BUS_FMT_YUYV10_2X10, .datatype = 0x1e, .bpp = 20 }, + { .code = MEDIA_BUS_FMT_SRGGB8_1X8, .datatype = 0x2a, .bpp = 8 }, }; static const struct rcar_csi2_format *rcsi2_code_to_fmt(unsigned int code) -- 2.7.4