Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp822695ybm; Wed, 27 May 2020 08:50:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwNXeaXaYgkCzZzFfRbl/PMZJN7RCl2RJZRJnQf/bbvrxyOkBQKIrdhORXmr1auH05pZ3p X-Received: by 2002:a50:85ca:: with SMTP id q10mr24189435edh.51.1590594638207; Wed, 27 May 2020 08:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590594638; cv=none; d=google.com; s=arc-20160816; b=N72J6vP+r9LphaDzTz7NWsQ9zqhiMzMZnnhODW7CH6bWFU5LUkPNhUHjrdxZA7MLVp Z+Twray2TOH/KjFSqYuvL8M9FverkDVGx21sfXQamfNWKXnRqXj+P6upjP3U9oimHChG c7nQmgC4opGdqRQP3iqwWls9SyVYRB4sysIoQRKdYFKtn4tqQvRH3FNfc72QDqb2EY9u 2Oe8cEGbYXSCHmUOg4sM7t02pMsS2fb4WGCme8TAPvPRTUqx8PP4+P4DKkow623rW2/U C8I0RFWyDsDFI2VEXZBv3PCQtZkTKSBsoJWDG2YfLrUaYuMXjyTSRR82RmSEHOexc+TU 4o+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2GHInZNEEP29p25e/kF8Ua06EPp1tLbvPDkk+TqgAno=; b=VyoNpM3zAPuKlrCK0eS9lwclH+bxSzRGF2dE5i69RTKfoiW9hdV3w0QsfUj2/FL2aV GhgiYL3Jr9k9il1LfDD8XAq3VRYsBKtbthOOEgoO0+x7TP5ldiSNwdr6AoZnVvy1vzAx PCja34TkibFrmqlvmJHgLDYQISmfl+V1KKtfpV26cGG74vxTmtrSgtro2tDU2GJ7hZwq V8D1Nrbl56cQU6m5BsuUitDCh8eW5L1OuLeGLLsufFRkgZpb0RU6GlsP4qXkNIO/kxUA Tr64FBH3DgfhHXlqkiODMINtc3sAf+uSRfp+gQwgjLaXleOtdRe27iqA+FfrF9xU6A97 yHaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gu10si2216871ejb.38.2020.05.27.08.50.15; Wed, 27 May 2020 08:50:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729698AbgE0MRb (ORCPT + 99 others); Wed, 27 May 2020 08:17:31 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:32289 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729411AbgE0MRa (ORCPT ); Wed, 27 May 2020 08:17:30 -0400 X-IronPort-AV: E=Sophos;i="5.73,441,1583161200"; d="scan'208";a="48154585" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 27 May 2020 21:17:29 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 334D042BA9F3; Wed, 27 May 2020 21:17:28 +0900 (JST) From: Lad Prabhakar To: =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Lad Prabhakar Subject: [PATCH v5 3/3] media: rcar-csi2: Add support for MEDIA_BUS_FMT_SRGGB8_1X8 format Date: Wed, 27 May 2020 13:16:50 +0100 Message-Id: <1590581810-19317-4-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1590581810-19317-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1590581810-19317-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Niklas Söderlund --- 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 151e6a90c5fb..45fdf4e74e51 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.17.1