Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4469773rdh; Wed, 29 Nov 2023 02:20:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGG5qn1KhF72uPAMg2Xmwe27Qy1yn0CFNQDGQqlNAFlaigAZwYfvAgIJqLdeA8bFGE4y1c X-Received: by 2002:aca:d17:0:b0:3b8:7aca:bbe4 with SMTP id 23-20020aca0d17000000b003b87acabbe4mr7890102oin.18.1701253226943; Wed, 29 Nov 2023 02:20:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701253226; cv=none; d=google.com; s=arc-20160816; b=mnBu9xYmXHmCQ5dRk8IH/7QurqVYeIVr7CDcngcf/zoPN8stHHVRLZJmjcneXRugou o/pvEjo2+MqKNIpLzOu5LwJON+ulsLGMqxe2CGuy1C/xN8LZqahePZ/41jYn4pq2TlM/ 7zUMTpdhjt55gopDyQvu0fQ/c4OXXuzsqkbRtWpfc/OCvU2DHfv7YBCEe2vCRkiKK/Tc xUF+kZUtig1iajx2EZ6Cs4wlNGUkO9sRHMf9U+fH0xDm3aa5KMCfSFrjCX7sPhcMlsIE 9XaNuCymj9RJ5raPfZ6Kwi0kurgq9Avivyi7tvdaLBFg7IrXiM707owm2YsJeXBcFh59 tazw== 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 :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=KZkH8bl3BtculFLewEii2JTZkTpl2Gc15g5xYx6zHoQ=; fh=/zyBKPc8s5+y3rxzpbOF6slhwxVRZfN3xPQoj8KAhVo=; b=y2CGgAXUGXnNcwCzqGGr19l4G9+n32sCwr/BR/Ctye+kFJhn8KIUnwzHOMCiMRPYqE wAd/2LIaaNO1/FLLgMyOCAOECBAR89F+PNIZv4xEzpbxrIUdOwwhwF1pwzlxYE6C/uAE g3QQ3BnKxMwsvXNOG/u6rehdJulw0pCF7iVDrJWamvGI3xRHf1t9Yj3FlxN90TU7853S GXBFh/2LXoxzQgTBKe6LP7qtHOhP1ITIxLPqcKhrmjrukfqA9LjBroaJ6nHMir1Ydh3r Q6vMuvy/K1V4UTpMAskWQ5C7u2Irg18f5EzSc0hwBBRzMS2u8q5j+kegB+Cvms3Ut7W3 bzMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b="Z9DqCNf/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id e37-20020a630f25000000b005bce8cfb592si13687261pgl.245.2023.11.29.02.20.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 02:20:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b="Z9DqCNf/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 67B248221118; Wed, 29 Nov 2023 02:20:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231653AbjK2KUH (ORCPT + 99 others); Wed, 29 Nov 2023 05:20:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231601AbjK2KUF (ORCPT ); Wed, 29 Nov 2023 05:20:05 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 441B7AF; Wed, 29 Nov 2023 02:20:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1701253210; x=1732789210; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KZkH8bl3BtculFLewEii2JTZkTpl2Gc15g5xYx6zHoQ=; b=Z9DqCNf/6k10xKzhLFM1lpDEiya4zzh8+W7mjBUN5+bmbc0Zq4d40gIG +9AZtgejVTDpkFAbs6HbDZS7wxnL/6+rxK0EQyNVguWPprczA2Jn2lML1 9ILvU1xY6SBufQXG2j1e6+QRZ8i+jgD5ux33938sCK/UcRvibfuDERPlf vIFo/7lkM8Wt4dY2Y8MKwVXiIB+fP4T2IT1EGJLEwfbWZHxfA4n8okEqD eYOgMZWo3+dFq1ElOiMjZ/WhgtDr6H5813rZvK1UdemAxpWU76JDpyqMP AAK0tmTh3zzjzGE24Thf7O5R/Q8burtiyztVx25+eE2A93ksCTIjxj80/ A==; X-IronPort-AV: E=Sophos;i="6.04,235,1695679200"; d="scan'208";a="34234253" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 29 Nov 2023 11:20:08 +0100 Received: from steina-w.localnet (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 240C3280075; Wed, 29 Nov 2023 11:20:08 +0100 (CET) From: Alexander Stein To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, Paul Elder Cc: kieran.bingham@ideasonboard.com, tomi.valkeinen@ideasonboard.com, umang.jain@ideasonboard.com, Laurent Pinchart , Paul Elder , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Tim Harvey , Philippe Schenker , Marek Vasut , Gregor Herburger , Marcel Ziswiler , open list , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Subject: Re: [PATCH 2/2] arm64: dts: imx8mp: Add overlays for ISP instances Date: Wed, 29 Nov 2023 11:20:07 +0100 Message-ID: <7122934.GXAFRqVoOG@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <20231129093113.255161-3-paul.elder@ideasonboard.com> References: <20231129093113.255161-1-paul.elder@ideasonboard.com> <20231129093113.255161-3-paul.elder@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 29 Nov 2023 02:20:24 -0800 (PST) Hi Paul, thanks for the patch. Am Mittwoch, 29. November 2023, 10:31:13 CET schrieb Paul Elder: > From: Laurent Pinchart >=20 > Add two overlay to enable each ISP instance. The ISP is wired directly > to the CSIS for now, bypassing the ISI completely. I'm not sure if this is worth adding in a separate overlay. > Signed-off-by: Laurent Pinchart > Signed-off-by: Paul Elder > --- > arch/arm64/boot/dts/freescale/Makefile | 2 ++ > .../arm64/boot/dts/freescale/imx8mp-isp1.dtso | 36 +++++++++++++++++++ > .../arm64/boot/dts/freescale/imx8mp-isp2.dtso | 36 +++++++++++++++++++ > 3 files changed, 74 insertions(+) > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-isp1.dtso > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-isp2.dtso >=20 > diff --git a/arch/arm64/boot/dts/freescale/Makefile > b/arch/arm64/boot/dts/freescale/Makefile index 300049037eb0..f97dfac11189 > 100644 > --- a/arch/arm64/boot/dts/freescale/Makefile > +++ b/arch/arm64/boot/dts/freescale/Makefile > @@ -113,6 +113,8 @@ dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-dhcom-pdk2.dtb > dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-dhcom-pdk3.dtb > dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-evk.dtb > dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-icore-mx8mp-edimm2.2.dtb > +dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-isp1.dtbo > +dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-isp2.dtbo > dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-msc-sm2s-ep1.dtb > dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-phyboard-pollux-rdk.dtb > dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-tqma8mpql-mba8mpxl.dtb > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-isp1.dtso > b/arch/arm64/boot/dts/freescale/imx8mp-isp1.dtso new file mode 100644 > index 000000000000..cf394ed224ab > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/imx8mp-isp1.dtso > @@ -0,0 +1,36 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright 2022 Ideas on Board Oy > + */ > + > +/dts-v1/; > +/plugin/; > + > +#include > + > +&isi_0 { > + status =3D "disabled"; ISI is disabled by default. What is your intention here? > + > + ports { > + port@0 { > + /delete-node/ endpoint; This doesn't work in overlays. See [1]. Otherwise the OF graph connections= =20 look fine to me. I'm using the same in my local overlay. Best regards, Alexander [1] https://lore.kernel.org/all/ CAMuHMdWu4KZbBkvEofUV2wuA1g2S=3DXHHM3RUN1cNrcZBkhsPZA@mail.gmail.com/ > + }; > + }; > +}; > + > +&isp_0 { > + status =3D "okay"; > + > + ports { > + port@1 { > + isp0_in: endpoint { > + bus-type =3D ; > + remote-endpoint =3D <&mipi_csi_0_out>; > + }; > + }; > + }; > +}; > + > +&mipi_csi_0_out { > + remote-endpoint =3D <&isp0_in>; > +}; > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-isp2.dtso > b/arch/arm64/boot/dts/freescale/imx8mp-isp2.dtso new file mode 100644 > index 000000000000..14e2e7b2617f > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/imx8mp-isp2.dtso > @@ -0,0 +1,36 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright 2022 Ideas on Board Oy > + */ > + > +/dts-v1/; > +/plugin/; > + > +#include > + > +&isi_0 { > + status =3D "disabled"; > + > + ports { > + port@1 { > + /delete-node/ endpoint; > + }; > + }; > +}; > + > +&isp_1 { > + status =3D "okay"; > + > + ports { > + port@1 { > + isp1_in: endpoint { > + bus-type =3D ; > + remote-endpoint =3D <&mipi_csi_1_out>; > + }; > + }; > + }; > +}; > + > +&mipi_csi_1_out { > + remote-endpoint =3D <&isp1_in>; > +}; =2D-=20 TQ-Systems GmbH | M=FChlstra=DFe 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht M=FCnchen, HRB 105018 Gesch=E4ftsf=FChrer: Detlef Schneider, R=FCdiger Stahl, Stefan Schneider http://www.tq-group.com/