From patchwork Tue Sep 15 23:01:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 255785 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7ED5DC2D0E3 for ; Tue, 15 Sep 2020 23:02:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 537BA20770 for ; Tue, 15 Sep 2020 23:02:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727194AbgIOXCg (ORCPT ); Tue, 15 Sep 2020 19:02:36 -0400 Received: from bin-mail-out-05.binero.net ([195.74.38.228]:53149 "EHLO bin-mail-out-05.binero.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727563AbgIOXCL (ORCPT ); Tue, 15 Sep 2020 19:02:11 -0400 X-Halon-ID: 76773da2-f7a7-11ea-92dc-005056917a89 Authorized-sender: niklas.soderlund@fsdn.se Received: from bismarck.berto.se (p54ac52a8.dip0.t-ipconnect.de [84.172.82.168]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA id 76773da2-f7a7-11ea-92dc-005056917a89; Wed, 16 Sep 2020 01:02:05 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH 0/2] rcar-{csi2, vin}: Extend RAW8 support to all RGB layouts Date: Wed, 16 Sep 2020 01:01:38 +0200 Message-Id: <20200915230140.1201187-1-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hello, When adding support for V4L2_PIX_FMT_SRGGB8 it was overlooked that the same solution could be used to support all RAW8 RGB layouts (SBGGR8, SGBRG8, SGRBG8 and SRGGB8). This series extends the R-Car VIN and CSI-2 drivers to support all RAW8 RGB layouts. The VIN driver changes are applicable to both Gen2 and Gen3 while the changes to the CSI-2 driver only effects Gen3. Niklas Söderlund (2): rcar-csi2: Extend RAW8 support to all RGB layouts rcar-vin: Extend RAW8 support to all RGB layouts drivers/media/platform/rcar-vin/rcar-csi2.c | 3 +++ drivers/media/platform/rcar-vin/rcar-dma.c | 28 ++++++++++++++++++++- drivers/media/platform/rcar-vin/rcar-v4l2.c | 27 ++++++++++++++++++++ 3 files changed, 57 insertions(+), 1 deletion(-) Reviewed-by: Ulrich Hecht