Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4445855rdh; Wed, 29 Nov 2023 01:32:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IH13qViC4hLoZ6GDPmkkfqrepgV6r3JM5RX+cXnkILkqDF6oc5dMaD4f8uWbyWmafrhw0im X-Received: by 2002:a17:90b:1d89:b0:285:c0db:7fc7 with SMTP id pf9-20020a17090b1d8900b00285c0db7fc7mr9500621pjb.14.1701250361547; Wed, 29 Nov 2023 01:32:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701250361; cv=none; d=google.com; s=arc-20160816; b=RfWx6uiz5iBoWdbpqnBegy6Be6JeT3f+a4CoPkZFJK1MaZD0nk6L+dE1Aqp2WWmaXL /I3NG7iGPV7h3n+eKWqUhqHgmPqIohFmPPAbW8IxdYOfVJxmWaUhCTqkUGtJgDCsgoKy n8heugkQ/ECvZUpZNt9xP4F8bEUujDzntkUkWdbdXKaDMDaMW2WRDUg84FVTazNJM5NA +kbHMCtDb+bQh8/Fl/x/pia5MGxZRJtXrrzSJHk4gLaQUxbrw4xtmVnwzRPX2kHub46G 36/IeNeNr5a6haqxGMlLRhYhJZretb5ojz6KZmTlphrxZ0coklLaYWaCZLMC32qtwBJb Lxmg== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=3s/csikS8JgSU6IgiFVptAtMxaEE/b45xXQ1cL2emLY=; fh=CjUiylO3reg0KaqhSgATUcBeMZnUyd76ojVLvgTyvUE=; b=dndXMG3vUMjy6U6T40f5j91iNe4nKDFfMvIfFCGFDnob8s/GWzF4bBz8rZfFKhyoT6 XdZg3abEjnkePfanYDkNqzeKOX5LsaBYGPGwmSwGh9hdlbvw+6407r454ptotir5f5Jz ZBsj0Pp5+CZ7qNO9PeLRSMeFjC6QSqjCIYn+DhJABVJa9h/Yw5foAflIoMs0uDWfllkM +dEnLdRwMF0QdWYwUe/RAZGpczp/VPByGZ4+5lY6/5hv90XIMZZ5fLlJdA33aKHPcHWG aJm+5hkCXDtit/copPHwSjJ/o0WlKFtS6fSQ2U9Jb6pZMMX6TC8PcPIJHTzsZPIk/fwp dE4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="H+GaGd/M"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id p1-20020a17090ab90100b00285ada58d5bsi925089pjr.49.2023.11.29.01.32.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 01:32:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="H+GaGd/M"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id DA3CA808E0CB; Wed, 29 Nov 2023 01:32:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230298AbjK2JcW (ORCPT + 99 others); Wed, 29 Nov 2023 04:32:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231360AbjK2JcK (ORCPT ); Wed, 29 Nov 2023 04:32:10 -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 1B972213F; Wed, 29 Nov 2023 01:31:43 -0800 (PST) Received: from pyrite.hamster-moth.ts.net (h175-177-049-135.catv02.itscom.jp [175.177.49.135]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 736FA2B6; Wed, 29 Nov 2023 10:30:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1701250265; bh=Ivci0RIdZox1QiCzMM0eBouiiFmKKEtb5YIkQNAQ3HY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H+GaGd/Mvd577CKM47ZqEdGDKy7TtRBM1fO5smyYn1ulrdAlXRM531mw/N7Gtc6pO z5eq3XiCNsg/DCUIox2IIOncFaiDOOiEQyxZB3EIWMTRbct/whRTJSDTJmb0QTsGg6 V1c1Q5R+yo8ALwsM413vSDzzchnsk0di9AiaKJeI= From: Paul Elder To: linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: kieran.bingham@ideasonboard.com, tomi.valkeinen@ideasonboard.com, umang.jain@ideasonboard.com, Paul Elder , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Marek Vasut , Alexander Stein , Lucas Stach , Adam Ford , Laurent Pinchart , Frank Li , linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 1/2] arm64: dts: imx8mp: Add DT nodes for the two ISPs Date: Wed, 29 Nov 2023 18:31:12 +0900 Message-Id: <20231129093113.255161-2-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231129093113.255161-1-paul.elder@ideasonboard.com> References: <20231129093113.255161-1-paul.elder@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 howler.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 (howler.vger.email [0.0.0.0]); Wed, 29 Nov 2023 01:32:39 -0800 (PST) The ISP supports both CSI and parallel interfaces, where port 0 corresponds to the former and port 1 corresponds to the latter. Since the i.MX8MP's ISPs are connected by the parallel interface to the CSI receiver, set them both to port 1. Signed-off-by: Paul Elder --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 50 +++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index c9a610ba4836..25579d4c58f2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1604,6 +1604,56 @@ isi_in_1: endpoint { }; }; + isp_0: isp@32e10000 { + compatible = "fsl,imx8mp-isp"; + reg = <0x32e10000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MP_CLK_MEDIA_ISP_ROOT>, + <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>, + <&clk IMX8MP_CLK_MEDIA_APB_ROOT>; + clock-names = "isp", "aclk", "hclk"; + assigned-clocks = <&clk IMX8MP_CLK_MEDIA_ISP>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_500M>; + assigned-clock-rates = <500000000>; + power-domains = <&media_blk_ctrl IMX8MP_MEDIABLK_PD_ISP>; + fsl,blk-ctrl = <&media_blk_ctrl 0>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + }; + }; + }; + + isp_1: isp@32e20000 { + compatible = "fsl,imx8mp-isp"; + reg = <0x32e20000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MP_CLK_MEDIA_ISP_ROOT>, + <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>, + <&clk IMX8MP_CLK_MEDIA_APB_ROOT>; + clock-names = "isp", "aclk", "hclk"; + assigned-clocks = <&clk IMX8MP_CLK_MEDIA_ISP>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_500M>; + assigned-clock-rates = <500000000>; + power-domains = <&media_blk_ctrl IMX8MP_MEDIABLK_PD_ISP>; + fsl,blk-ctrl = <&media_blk_ctrl 1>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + }; + }; + }; + dewarp: dwe@32e30000 { compatible = "nxp,imx8mp-dw100"; reg = <0x32e30000 0x10000>; -- 2.39.2