Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2037686ybz; Thu, 30 Apr 2020 09:45:01 -0700 (PDT) X-Google-Smtp-Source: APiQypLhh7ooB9NorOHmH/f1InylrnSNfNeTpEWIcQWZ/rzfXhCSm3BX+sdtOvBS0s1ioaXSZqDU X-Received: by 2002:a17:906:7204:: with SMTP id m4mr3693059ejk.48.1588265101221; Thu, 30 Apr 2020 09:45:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588265101; cv=none; d=google.com; s=arc-20160816; b=RU7stv9xkZOA2j0ConHPLfC85JKZ2d3WMZdPwn7mhI8aVCHLWL6sFaDot4OhMrLCL/ uMdx9rEqz3naMr9+UYOU3dA5Xq9tohoZ2C6ZjXD7De201jw7m9oAtTNJfi/6Wb2xG2D2 e6Ce0RPfLVfUEKnTy2v2YuuNEKCJLRMF8RSPZUvyYvXuYLVAX3l9nPFjd6Eq6AvpV115 Fq41d9PSZrVSbbguQRaQ0eeoJInl5xlJH5kfzJVR+p7HiZ3cDYPadmvDE+PCtIGU4lrF pqlBdcOTC420iKYGYX1NuqFo+wi9HCs/9Dj9liwhqmks3NzqLcKvFPLlrQNsmKjVomCy rwpA== 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 :message-id:date:subject:cc:to:from; bh=V7RjFRffX11724Filp/0tlGuQeuU0b7zA1JjMyQ80VQ=; b=VobQ/fvUNVbc23CXxq47hrpuWFUh1d7+fFpArlE3SDltoQRT89H/gO6vsoRZAjWQTm Q9oDnOD+XnsBOtvCE9cmWhYAFWluxheMacU04DSpwETk56Bsj3UnfRLa15ZsfcsDAupO Nzv+cyilffHmd5OyfXZR5kbiAph+g9j7sZ6ODh4rAn8YURkANd8dekjgSvAZRFAh8/kC g90JMpHOf+uTzZ9gOM7/66rNJ29xnngJDlHb6z/+N9OZkBrYXO1SDWFZz+75+se+WXyh vKrAuQwZ2rky/nJam0N/cLwlM1hwGj3aL3e9nRCnPq5zbLReBIp2jlvkl/Ft1irMXxrE QBug== 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 bf23si66523edb.414.2020.04.30.09.44.37; Thu, 30 Apr 2020 09:45:01 -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 S1726515AbgD3QnB (ORCPT + 99 others); Thu, 30 Apr 2020 12:43:01 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:44045 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbgD3QnA (ORCPT ); Thu, 30 Apr 2020 12:43:00 -0400 X-Originating-IP: 93.29.109.196 Received: from localhost.localdomain (196.109.29.93.rev.sfr.net [93.29.109.196]) (Authenticated sender: paul.kocialkowski@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 790D61C000B; Thu, 30 Apr 2020 16:42:57 +0000 (UTC) From: Paul Kocialkowski To: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Ezequiel Garcia , Mauro Carvalho Chehab , Rob Herring , Heiko Stuebner , Hans Verkuil , Thomas Petazzoni , Paul Kocialkowski Subject: [PATCH v3 0/4] media: rockchip: rga: PX30 support and YUV2YUV fix Date: Thu, 30 Apr 2020 18:42:41 +0200 Message-Id: <20200430164245.1630174-1-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series adds support for the Rockchip PX30 SoC in the V4L2 M2M RGA driver. It also contains a fix for the YUV2YUV case that was not properly handled. Changes since v2: - Used RK3288 compatible in PX30 dts, removed PX30 compatible from driver; - Added cleanup patch with format macros; - Added comment about CSC mode fix. Changes since v1: - Rebased on media tree master (changed dt binding to yaml); - Removed spurious line removal. Cheers, Paul Paul Kocialkowski (4): dt-bindings: rockchip-rga: Add PX30 compatible arm64: dts: rockchip: Add RGA support to the PX30 media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic media: rockchip: rga: Only set output CSC mode for RGB input .../bindings/media/rockchip-rga.yaml | 3 ++ arch/arm64/boot/dts/rockchip/px30.dtsi | 11 +++++++ drivers/media/platform/rockchip/rga/rga-hw.c | 29 ++++++++++--------- drivers/media/platform/rockchip/rga/rga-hw.h | 5 ++++ 4 files changed, 35 insertions(+), 13 deletions(-) -- 2.26.0