From patchwork Fri Sep 6 14:40:27 2019 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: 11135437 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6A5891593 for ; Fri, 6 Sep 2019 14:40:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 55BE1207FC for ; Fri, 6 Sep 2019 14:40:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391232AbfIFOkx (ORCPT ); Fri, 6 Sep 2019 10:40:53 -0400 Received: from bin-mail-out-05.binero.net ([195.74.38.228]:43052 "EHLO bin-mail-out-05.binero.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729464AbfIFOkx (ORCPT ); Fri, 6 Sep 2019 10:40:53 -0400 X-Halon-ID: 413221c9-d0b4-11e9-837a-0050569116f7 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (unknown [84.172.84.18]) by bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA id 413221c9-d0b4-11e9-837a-0050569116f7; Fri, 06 Sep 2019 16:40:25 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Laurent Pinchart , linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH 0/2] rcar-vin: Add support for outputting NV12 Date: Fri, 6 Sep 2019 16:40:27 +0200 Message-Id: <20190906144029.24080-1-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi, This series adds support for storing captures in NV12 pixel format on most Gen3 SoCs. It is based on top of latest media-tree and tested on Gen2 and Gen3 with out any regressions. Patch 1/2 prepares for the admonition of NV12 support by defining which Gen3 SoCs supports the output format. While patch 2/2 is the real change adding the format and register writes to deliver NV12. Niklas Söderlund (2): rcar-vin: Define which hardware supports NV12 rcar-vin: Add support for outputting NV12 drivers/media/platform/rcar-vin/rcar-core.c | 6 ++++ drivers/media/platform/rcar-vin/rcar-dma.c | 5 ++- drivers/media/platform/rcar-vin/rcar-v4l2.c | 39 +++++++++++++++++---- drivers/media/platform/rcar-vin/rcar-vin.h | 2 ++ 4 files changed, 45 insertions(+), 7 deletions(-)