Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp342121rwb; Fri, 18 Nov 2022 02:10:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf7pRas+EKlp5AT4qM3TzmLqXQUkIbj8Q+RDYgVqDUbrrylmVYMLfPRTg0gHA211jJ49kvE3 X-Received: by 2002:a05:6a00:4c11:b0:56d:93d8:d81a with SMTP id ea17-20020a056a004c1100b0056d93d8d81amr7225748pfb.14.1668766205812; Fri, 18 Nov 2022 02:10:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668766205; cv=none; d=google.com; s=arc-20160816; b=Uij4+P1iczfx2lV7X9t21DoqZ1rhp0sCMM0q/v1HlxLIsXg7p7LtZv0bG/fIc8pNN5 97jzgIpeMz2RrlsMjUd24icNOYO/3NNGMLv7PjpLgjt1nEevplcOaSMXkLIlWVW7Zxmq sp/2Cwc+st8R2+Rem/EQ4ARSEvi49HJnu06oZSV8m3VJxO9XmJ2Etu1N6mKoEZWFIbpn D9+O+zOExhP63LS5Bp34stNAWc8A/N+wyYfopa7URtmzR8DyhrQTwwNRET3l7T8wTitK NXwynZXhdPN3nyQiQKBkUaFpmMsS360+hdWzhAcNyHcqCCtYLyvfNevISooh4SKdleoQ teLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=CO1BS2+cvTRjuMfslzRSWGoDk0ONDycAQ7H0o14pVJA=; b=A3gBXO5gTSXJk2R2kfqlznemcVq+fuiMye1vJtYf8zIH1Bvir0cinwxrFHvhPIf6X/ SkrlKKaENquXziYIzpspbzsA2Rsb59F3rd/pkGNZAaj/Gfcg03q3DUT9ACml/R8vYHdz ti+EV94eQ7lGd5Qe6KIZZWiO00hR+Dy2NRKNKtcjrQSWJkl8LK+G2LPDf3KlxHPXQ9dX 0yjALfjXr4+tTKAH8SmnfvVVDGr2+jRvBiIMX74QLDmQ0tEOk1LSuI3QAUGNAVcplSGQ s8bXDVUZsRdJP4W5qIB9V5wurB2iU650PkI6H8YW6mhC2UfcNMH6yflrvjTaKs8unVEA XhOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=FeA6osoq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lp13-20020a17090b4a8d00b002188666feeasi1642671pjb.3.2022.11.18.02.09.50; Fri, 18 Nov 2022 02:10:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=FeA6osoq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241969AbiKRJj5 (ORCPT + 91 others); Fri, 18 Nov 2022 04:39:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241599AbiKRJjp (ORCPT ); Fri, 18 Nov 2022 04:39:45 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F67A18B31; Fri, 18 Nov 2022 01:39:43 -0800 (PST) Received: from pyrite.tail37cf.ts.net (h175-177-042-159.catv02.itscom.jp [175.177.42.159]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 26B4FAF4; Fri, 18 Nov 2022 10:39:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1668764381; bh=8759RmpiUD0qDZZy0EBtArWNV2cOPT6xrqlG+fmlROo=; h=From:To:Cc:Subject:Date:From; b=FeA6osoqu0n82Tne2fJ/CiBNmJyqNK/nLk+xhu/Z1J3rj36na4gmB+1xjsdkAgKcF COTXTrSrfp3WfLvsVuSjAvMdqN1U012qbAl+a/QVrH1T9Vq676jPGTcQa5WaoTfmLx J1xYHTSEq9CiCRzFcp0eb8MO9AMKMbPfSh0buMqI= From: Paul Elder To: linux-media@vger.kernel.org Cc: Paul Elder , Dafna Hirschfeld , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Helen Koike , Laurent Pinchart , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 00/14] media: rkisp1: Add support for i.MX8MP Date: Fri, 18 Nov 2022 18:39:17 +0900 Message-Id: <20221118093931.1284465-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series depends on v3 of "dt-bindings: media: Add macros for video interface bus types" [1]. This series extends the rkisp1 driver to support the ISP found in the NXP i.MX8MP SoC. The ISP IP cores in the Rockchip RK3399 (known as the "Rockchip ISP1") and in the NXP i.MX8MP have the same origin, and have slightly diverged over time as they are now independently developed (afaik) by Rockchip and VeriSilicon. The latter is marketed under the name "ISP8000Nano", and is close enough to the RK3399 ISP that it can easily be supported by the same driver. The last two patches add support for UYVY output format, which can be implemented on the ISP version in the i.MX8MP but not in the one in the RK3399. This version of the series specifically has been tested on a Polyhex Debix model A with an imx219 (Raspberry Pi cam v2). [1] https://lore.kernel.org/linux-media/20220615221410.27459-2-laurent.pinchart@ideasonboard.com/ Laurent Pinchart (3): dt-bindings: media: rkisp1: Add i.MX8MP ISP example media: rkisp1: Add and use rkisp1_has_feature() macro media: rkisp1: Configure gasket on i.MX8MP Paul Elder (11): dt-bindings: media: rkisp1: Add i.MX8MP ISP to compatible media: rkisp1: Add match data for i.MX8MP ISP media: rkisp1: Add and set registers for crop for i.MX8MP media: rkisp1: Add and set registers for output size config on i.MX8MP media: rkisp1: Add i.MX8MP-specific registers for MI and resizer media: rkisp1: Shift DMA buffer addresses on i.MX8MP media: rkisp1: Add register definitions for the test pattern generator media: rkisp1: Fix RSZ_CTRL bits for i.MX8MP media: rkisp1: Support devices without self path media: rkisp1: Add YC swap capability media: rkisp1: Add UYVY as an output format .../bindings/media/rockchip-isp1.yaml | 79 ++++++++++- .../platform/rockchip/rkisp1/rkisp1-capture.c | 102 +++++++++++--- .../platform/rockchip/rkisp1/rkisp1-common.h | 32 +++++ .../platform/rockchip/rkisp1/rkisp1-debug.c | 14 +- .../platform/rockchip/rkisp1/rkisp1-dev.c | 67 +++++++-- .../platform/rockchip/rkisp1/rkisp1-isp.c | 128 +++++++++++++++++- .../platform/rockchip/rkisp1/rkisp1-regs.h | 90 ++++++++++++ .../platform/rockchip/rkisp1/rkisp1-resizer.c | 35 ++++- include/uapi/linux/rkisp1-config.h | 2 + 9 files changed, 509 insertions(+), 40 deletions(-) -- 2.35.1