From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 333FFC072AD for ; Thu, 16 May 2019 01:46:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0F21B2087E for ; Thu, 16 May 2019 01:46:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726772AbfEPBqf (ORCPT ); Wed, 15 May 2019 21:46:35 -0400 Received: from vsp-unauthed02.binero.net ([195.74.38.227]:46872 "EHLO vsp-unauthed02.binero.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726657AbfEPAs1 (ORCPT ); Wed, 15 May 2019 20:48:27 -0400 X-Halon-ID: 4ae1d50c-7774-11e9-8ab4-005056917a89 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (unknown [89.233.230.99]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA id 4ae1d50c-7774-11e9-8ab4-005056917a89; Thu, 16 May 2019 02:48:24 +0200 (CEST) From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= To: Laurent Pinchart , linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?UTF-8?q?Niklas=20S=C3=B6derlund?= Subject: [PATCH 0/3] rcar-vin: Add support for RGB formats with alpha component Date: Thu, 16 May 2019 02:47:43 +0200 Message-Id: <20190516004746.3794-1-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Hi, This small series adds support for two new pixel formats for the rcar-vin driver; V4L2_PIX_FMT_ARGB555 and V4L2_PIX_FMT_ABGR32. Both formats have an alpha component so a new standard control is also added to control its value, V4L2_CID_ALPHA_COMPONENT. The series is based on the latest media-tree and is tested on both Renesas Gen2 and Gen3 hardware without any regressions found. Patch 1/3 fixes a badly named register name, 2/3 adds the new control and finally 3/3 adds the two new pixel formats. Niklas Söderlund (3): rcar-vin: Rename VNDMR_DTMD_ARGB1555 to VNDMR_DTMD_ARGB rcar-vin: Add control for alpha component rcar-vin: Add support for RGB formats with alpha component drivers/media/platform/rcar-vin/rcar-core.c | 53 ++++++++++++++++++++- drivers/media/platform/rcar-vin/rcar-dma.c | 39 ++++++++++++++- drivers/media/platform/rcar-vin/rcar-v4l2.c | 8 ++++ drivers/media/platform/rcar-vin/rcar-vin.h | 5 ++ 4 files changed, 101 insertions(+), 4 deletions(-) -- 2.21.0