Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2818145lqp; Mon, 25 Mar 2024 10:02:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUdAxFQv3bpgseLyZGnhiWhWTL+9sj+g5ZjmbP6wN2BiUJCGj8pyRkUjt636dnEJBYZI/w5MsTaRutTSyeVKIQnF3XjR0C7FD3BKhPQA== X-Google-Smtp-Source: AGHT+IE7y/c07hsHVJk/ViLPqQa0qMO+MTSrjHvNwFL32R5jXNMUbRx1t6Dn0R8bejYII3z1E9TO X-Received: by 2002:a05:6a20:3d8a:b0:1a3:a99c:cd4d with SMTP id s10-20020a056a203d8a00b001a3a99ccd4dmr10629524pzi.48.1711386153126; Mon, 25 Mar 2024 10:02:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711386153; cv=pass; d=google.com; s=arc-20160816; b=GW/sXz2GgyjsJvsHjkkmxgTAF2kMt2lQipZpY2AyrT026tF5RuOCURL6XVElahZcTO 4ODzdq4UKltqBYxeyr5R47ltI1ac2Dqrj409znGAje268daUG90rFFv0q25JaWwjdR+f W5jovZYk1PIl1VvOGzF9qYlNOzVdmQq5GK/YspobByqM29pr5IEPtn5ecWTVVuAP3wIa 0ecxrqsl96CMNIOYXv8hEdd630uCtxjoSPgwMOyr4zmV82jjhdAoqgQCkDsYbCjgFD39 RP2FI/v/diUdilcwjmDqUopiMOoNfbMWvfTg5gRoW3ssSGHwfC74+P7dytffk6YP9+Pm R+DQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=C7mMKlhm8g+2fO48vIj3EVlRJ4Rnhb01lNIhRmsmszo=; fh=+tkasQuPYOyCWlXctQnrL+tFv3O2TXkLWOSIRFj6z14=; b=LHKYOGNZ956Qyyd370xyMpCysX2aB4aHp2t7gnr6HPKEOLE3vVVYPRK5NprslfofUo DlDfbdX2DwI5pZBmUB7MaKq4MKbjINunlnRsK7NO2AXz7E1TuNy+WRXKsNY3pUbCDVyk NKRJWwV8p86u3OOgv79UkjjF4iBETAJnlYuv00HSJFHvVb5Ed79JxiyNNDGB6qh2F/bp RvHR/YVo2ar13N6MgGhaEvpt5KK0MzLy2jcdaJCsHAbO832jhn7YZFZM/H0MnX3uwsUU mhKpG5foe/CgyKUt9/aGXyGfKwbRC25NL1VE9APGnMF4vN5JsDfBs3EvUyfIOz1bk+0O 8jYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Rcg6XqTn; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-117344-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117344-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m6-20020a637106000000b005dcbba4b76csi7837352pgc.331.2024.03.25.10.02.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 10:02:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117344-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Rcg6XqTn; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-117344-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117344-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EC6CC2C5040 for ; Mon, 25 Mar 2024 16:53:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33A9F3FB26; Mon, 25 Mar 2024 15:14:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Rcg6XqTn" Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEC821373; Mon, 25 Mar 2024 15:14:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711379651; cv=none; b=XIX8EMh4anA/MSF4cosN//SZqDa2qGCN6oL2Vss5E/6qIAp1yLWJrS6kSjbHzovXc3G9BeIAFVp4dO4nw35oYBh1nMSKVkML99hQgqaU7FM++d3r3Iijlm0tzN9cwrzShEKROrbyMiFaeY9LXzQPCzUCNpY+jogdI+rIQszC424= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711379651; c=relaxed/simple; bh=PzYgqO2j7ARM9Bcg4w9L6keBbuWdl2jRvP/eRb+K7mo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iknnA+kcOANNOkmkq/qZpe9TWAAvEEAosMBYH1YtduxZa6eaGOpKM9sqjrtYCb3svo1cvVpkh7jXxKip6UWelbEf28vzhHgqkkSo/rKKfDxNt1pDqEnHUhvCmGCV9Gy443lYBWsH0tyjuNLhOD9t4rniCxuFVyQj1uOz78t/kn8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=Rcg6XqTn; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DE8767E4; Mon, 25 Mar 2024 16:13:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1711379617; bh=PzYgqO2j7ARM9Bcg4w9L6keBbuWdl2jRvP/eRb+K7mo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Rcg6XqTnYwnClxCdZ69f0XzSzvHMRyj45uCqlXW7HJuUu7+RJUBldgOByGNnNP7Nu ypsNnBWZvTy4Jxujkx/1mOi3vfocLG1ANA11nc4LLBn6/xrZ4sJM0AA9o20dT/b+aS kfNFzcRTp7d8QWbY+bINUaPJEw65BNCAESCzvEQE= Date: Mon, 25 Mar 2024 17:14:02 +0200 From: Laurent Pinchart To: Adam Ford Cc: Paul Elder , linux-media@vger.kernel.org, devicetree@vger.kernel.org, kieran.bingham@ideasonboard.com, tomi.valkeinen@ideasonboard.com, umang.jain@ideasonboard.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Marek Vasut , Alexander Stein , Lucas Stach , Frank Li , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , open list Subject: Re: [PATCH 1/2] arm64: dts: imx8mp: Add DT nodes for the two ISPs Message-ID: <20240325151402.GW18799@pendragon.ideasonboard.com> References: <20231129093113.255161-1-paul.elder@ideasonboard.com> <20231129093113.255161-2-paul.elder@ideasonboard.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Hi Adam, On Wed, Mar 20, 2024 at 07:35:46AM -0500, Adam Ford wrote: > On Wed, Nov 29, 2023 at 3:31 AM Paul Elder wrote: > > > > 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 > > Paul, are you able to resend this now that the driver part has been > merged into the main branch? > > If you can't, I can resend it on your behalf. I've just sent a v2, you're on CC. > > --- > > 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>; -- Regards, Laurent Pinchart