Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1785566rbb; Tue, 27 Feb 2024 00:33:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVG1RR9BU4dqW4oUWIs/zdFxHqKNt0JgfxyqXmtuRuA8LO5wke0KRhmxzgj2lemf2Hr7/qBQcM73cyxtKaT1WMPPkiFziqhp4x6SJNB2w== X-Google-Smtp-Source: AGHT+IHSzgyarFnz64fk6kJje4NLj0vU84CdtS9FvqM7bg0Msja75+WUm+3HiS07A7krd5KK1n5G X-Received: by 2002:aa7:850f:0:b0:6e5:a8c:1669 with SMTP id v15-20020aa7850f000000b006e50a8c1669mr5605308pfn.5.1709022822646; Tue, 27 Feb 2024 00:33:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709022822; cv=pass; d=google.com; s=arc-20160816; b=aEJwb8tSIFKGffHzoTXB1hVuyePX4Ako8DbNrYx6Dlu5b2jBuYXMFtvZon/9oNLlwb 1yYhcOXjoRadXKeRb+G2FDdGbYT87+bXHG4QbJ8op7ZzLNG96QAjhXWEivgxqxraC5j3 2PmPFeAvBIevi+o4bsNW7Qeri+bDvHGTZ+KlKtGMtnU3SGwW5MB++1j0lqGLOkKhhfeS grvWAl2FODsTicQoehBZTiXaxSftn8GKhinOUyUjW9TotbfH5kC5sgwRah6gq3zLG1Ok Q/EDBK5yH2q0sWtS5/4xs3TbEyGM6RmuojwloLNVHPg+ohGMdDeNenWhLV2I8Q50scX8 R9WA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=UqvTon8xBmWFJNWh824LuPse7jd/O4M9Pma+G/J2KqU=; fh=FlJFwMgDrr9X2ZIdyv+pLeYXksI6igmU6jhj4KDYRFg=; b=be6srcoxfiZR0thPLqcy9OxCHeSDVBR2Ubx13P6fgLX/2DYikjVA10K5HnF/lmObk4 0Yzx1F6XQNbe6xdAzscuyxzVzOFaEl00IdJEpFXgeYFcsVcfQu6NJS9bzvzEYdaV6Cn6 t0nMLYNIRg6Tqm+ccAgKrffFywwuDI6puAysDjnBl72dPhH9oL5FYfFuPt2nq6sVV9fw 0InWY8LI/xVd2yg33PTD17I2hlszBiEhmIDM3y9/Qbn/M0xssWKk9V0nAZfBMXVtUG3Z h4CYBdNCpkHJJZq/dNvowCQsjhguO8McAIw7aGSGLxJ3SGOUVFbLbUtcH6zyAqhI+kpa Uecw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-82866-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82866-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 p5-20020a631e45000000b005cda184c281si5007109pgm.199.2024.02.27.00.33.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 00:33:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82866-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; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-82866-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82866-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 583D5281E4B for ; Tue, 27 Feb 2024 08:33:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 881CB12FB2C; Tue, 27 Feb 2024 08:33:35 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 33B1E7B3D3 for ; Tue, 27 Feb 2024 08:33:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709022815; cv=none; b=KIeegvXqwXOTE2Q1YUHmnDu7iwyeQd98HTFUdmj+0eTE5+QTmC0/DlWvbeiooHJuREhchhaQr2zTH+W0I+d9m0bQ/JzmbFkQw7NlBRkQx55xLHxkMYZZxmjIFzAbIsxjWoPD/+CclpAs3MtrWaR90WnRxigtDNGOnAer4MrlXJA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709022815; c=relaxed/simple; bh=rW7fAbIhtIRH6uFf53KwWwv4BvDxmE1+BtDpctFXvJ8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BcHg0ELTaKxfkLlDBdjgxqcsJl/X3gyTEu1vSSYFhGrpg0U2hDqDcb6fGlZ+9/BWwkFYaz+mXFhKVU7oTClg9riAgKqk4wN6hH06Bf5NdKNfZXHD/7hUGEAL0cMeEgORfIKkvM/pW6j9jbWTuXUS8EJwGYYUUU5EK223Oq4J68g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1resta-0001UR-RL; Tue, 27 Feb 2024 09:33:02 +0100 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1restZ-0039fx-Ie; Tue, 27 Feb 2024 09:33:01 +0100 Received: from mfe by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1restZ-00AXPK-1V; Tue, 27 Feb 2024 09:33:01 +0100 Date: Tue, 27 Feb 2024 09:33:01 +0100 From: Marco Felsch To: Adam Ford Cc: linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, Marek Vasut , Kishon Vijay Abraham I , Conor Dooley , Fabio Estevam , Pengutronix Kernel Team , Will Deacon , Rob Herring , imx@lists.linux.dev, Sascha Hauer , aford@beaconembedded.com, linux-kernel@vger.kernel.org, Vinod Koul , Krzysztof Kozlowski , Catalin Marinas , Shawn Guo , Luca Ceresoli , devicetree@vger.kernel.org, Lucas Stach Subject: Re: [PATCH V6 5/6] arm64: dts: imx8mp: add HDMI display pipeline Message-ID: <20240227083301.4saxxuv4n6aoqnl6@pengutronix.de> References: <20240226234532.80114-1-aford173@gmail.com> <20240226234532.80114-6-aford173@gmail.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=us-ascii Content-Disposition: inline In-Reply-To: <20240226234532.80114-6-aford173@gmail.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Hi Adam, thanks a lot for pushing this topic. On 24-02-26, Adam Ford wrote: > From: Lucas Stach > > This adds the DT nodes for all the peripherals that make up the > HDMI display pipeline. > > Signed-off-by: Lucas Stach > Signed-off-by: Adam Ford > Tested-by: Marek Vasut > Tested-by: Luca Ceresoli > --- > V6: Make LCDIF3 disabled by default > > V5: No change > > V3: Re-ordered the HDMI parts to properly come after irqstree_hdmi > inside AIPS4. Change size of LCDIF3 and PVI to match TRM sizes > of 4KB. > > V2: I took this from Lucas' original submission with the following: > Removed extra clock from HDMI-TX since it is now part of the > power domain > Added interrupt-parent to PVI > Changed the name of the HDMI tranmitter to fsl,imx8mp-hdmi-tx > Added ports to HDMI-tx > --- > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 95 +++++++++++++++++++++++ > 1 file changed, 95 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > index 18bfa7d9aa7f..637b0265b0f1 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -1940,6 +1940,101 @@ irqsteer_hdmi: interrupt-controller@32fc2000 { > clock-names = "ipg"; > power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_IRQSTEER>; > }; > + > + hdmi_pvi: display-bridge@32fc4000 { > + compatible = "fsl,imx8mp-hdmi-pvi"; > + reg = <0x32fc4000 0x1000>; > + interrupt-parent = <&irqsteer_hdmi>; > + interrupts = <12>; > + power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_PVI>; this node should be 'status = "disabled";' as reported by Luca else this node will EPROBE_DEFER. With that beeing fixed you can add my: Tested-by: Marco Felsch Regards, Marco > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + pvi_from_lcdif3: endpoint { > + remote-endpoint = <&lcdif3_to_pvi>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + pvi_to_hdmi_tx: endpoint { > + remote-endpoint = <&hdmi_tx_from_pvi>; > + }; > + }; > + }; > + }; > + > + lcdif3: display-controller@32fc6000 { > + compatible = "fsl,imx8mp-lcdif"; > + reg = <0x32fc6000 0x1000>; > + interrupt-parent = <&irqsteer_hdmi>; > + interrupts = <8>; > + clocks = <&hdmi_tx_phy>, > + <&clk IMX8MP_CLK_HDMI_APB>, > + <&clk IMX8MP_CLK_HDMI_ROOT>; > + clock-names = "pix", "axi", "disp_axi"; > + power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_LCDIF>; > + status = "disabled"; > + > + port { > + lcdif3_to_pvi: endpoint { > + remote-endpoint = <&pvi_from_lcdif3>; > + }; > + }; > + }; > + > + hdmi_tx: hdmi@32fd8000 { > + compatible = "fsl,imx8mp-hdmi-tx"; > + reg = <0x32fd8000 0x7eff>; > + interrupt-parent = <&irqsteer_hdmi>; > + interrupts = <0>; > + clocks = <&clk IMX8MP_CLK_HDMI_APB>, > + <&clk IMX8MP_CLK_HDMI_REF_266M>, > + <&clk IMX8MP_CLK_32K>, > + <&hdmi_tx_phy>; > + clock-names = "iahb", "isfr", "cec", "pix"; > + assigned-clocks = <&clk IMX8MP_CLK_HDMI_REF_266M>; > + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_266M>; > + power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_HDMI_TX>; > + reg-io-width = <1>; > + status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + hdmi_tx_from_pvi: endpoint { > + remote-endpoint = <&pvi_to_hdmi_tx>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + /* Point endpoint to the HDMI connector */ > + }; > + }; > + }; > + > + hdmi_tx_phy: phy@32fdff00 { > + compatible = "fsl,imx8mp-hdmi-phy"; > + reg = <0x32fdff00 0x100>; > + clocks = <&clk IMX8MP_CLK_HDMI_APB>, > + <&clk IMX8MP_CLK_HDMI_24M>; > + clock-names = "apb", "ref"; > + assigned-clocks = <&clk IMX8MP_CLK_HDMI_24M>; > + assigned-clock-parents = <&clk IMX8MP_CLK_24M>; > + power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_HDMI_TX_PHY>; > + #clock-cells = <0>; > + #phy-cells = <0>; > + status = "disabled"; > + }; > }; > > pcie: pcie@33800000 { > -- > 2.43.0 > > >