Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp649828ybz; Wed, 15 Apr 2020 15:57:41 -0700 (PDT) X-Google-Smtp-Source: APiQypLbjWR4xdhDwAV2vH1KBebTzPWreBPtz8Rpc0onbEI4+zhcrtlDgxigIPgtL2KDvMUJozxl X-Received: by 2002:a17:906:951:: with SMTP id j17mr7449641ejd.33.1586991461029; Wed, 15 Apr 2020 15:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586991461; cv=none; d=google.com; s=arc-20160816; b=re4GBKWUkavn7gdJQmhshMEscdk2HVquFQeSXCHRMu2CQv2HOjyi0zdd71dbhD3ncu 0KrLPAWYRfhILH1iapOindf30/qrok+sVAtUyEFPXZzuly5HZSMTLo3XSUBBnMqA6xH6 onL63aVYv7vxAwL+Km+VYQVycyPfasYvpIFBjlf1dwS6S6PxO6OfdRoGBy0Kyc9/Rh/l Bq87gz0OQOxyOhYB//9+j6RIhHXBHttAV0kCmTC+GuD4YOVSvpdTv39zzScRkRZwnRZT WV7hdHBB+7BzRw/66b0Bt0dgcZYKVJyctoPLV5Y1+SvXTz5zuWO4TJeDl5nnR38Dk3T6 Vu+g== 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=dzFJiKd50+r7JmSCvXFkX7Q5ndGmo0yxcfITWT8k4UU=; b=TP1/TZLYiJ+03h1W0PQ2xY1lbfMTz3s+54ADAvim0s2kuTa3lfcaS5JabJiihM9K6x msqxKexCWKsWksi/DajE/EXJ0L5eZeizOfSXChZNO5ls0Wcu+aRWrauoXZyUwPCKUbDG jJOh3zuDtoKnNt/bfesrEA255CeQiAZVnItc4qJYilWT3bLUeuMw2UoyMk5eff2G2Fz/ xbX+cAHucnwrgqYkIYGhCBiZd3ZZFE8IG1bwiWxIVIZ8p+vxyKs42fnaVE/Ho9JSKLdJ Vpa7x/9gdBSc1ntg4dwWoYUHPGKBhb7fpig/XBdo9XQHyxRF+6agY9k7LvBDhvvjTkG3 OgPA== 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 g5si6981027edu.188.2020.04.15.15.57.17; Wed, 15 Apr 2020 15:57:41 -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 S2896585AbgDOKpl (ORCPT + 99 others); Wed, 15 Apr 2020 06:45:41 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:22960 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2408512AbgDOKUI (ORCPT ); Wed, 15 Apr 2020 06:20:08 -0400 X-IronPort-AV: E=Sophos;i="5.72,386,1580742000"; d="scan'208";a="44789389" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 15 Apr 2020 19:19:28 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 9D2074007F4F; Wed, 15 Apr 2020 19:19:26 +0900 (JST) From: Lad Prabhakar To: Niklas Cc: Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH v4 3/3] media: rcar-csi2: Add support for MEDIA_BUS_FMT_SRGGB8_1X8 format Date: Wed, 15 Apr 2020 11:19:08 +0100 Message-Id: <1586945948-11026-4-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1586945948-11026-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1586945948-11026-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 faa9fb23a2e9..3d1945d7996c 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.20.1