Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1928837rbb; Tue, 27 Feb 2024 05:54:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW7NZtBKqq3U2esJTeWetsk6EZsbpwfWO6cXDwdit+hewz34o3DtV3K5Nuyudnq1bkS+WoIIxsp9d2abf6UJL8iSLQ8vFxH3CBgZrCXTg== X-Google-Smtp-Source: AGHT+IEMKyKVKM4yXH86iNtY8MJwTnOcJxawfLKYB37rTQ6lMniLu5DvrWwF3opxeMSn6DVyxBZj X-Received: by 2002:a17:902:bf49:b0:1db:f371:dc90 with SMTP id u9-20020a170902bf4900b001dbf371dc90mr9950688pls.20.1709042083260; Tue, 27 Feb 2024 05:54:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709042083; cv=pass; d=google.com; s=arc-20160816; b=umdJS/Wgwg4CGTT+D+cgN8+87uNACRI1aiadv4csfeGFaN8+b9RgUcehoW3d8XyPrU X0cbeHOj5N/0/PHUd+nTZkT2U1VVfgTcH6CanULH9SWxQSTgWVyYI4lZRPLr1K3DaeG6 zQ9aIdGVJudgtd9fU/I4GiZO0pA4g69PNkZ1xUH7JG+lTdkRvI367aJ9dIqCGcT3XVj5 nPzEc8dxFVe7ZuePl3o7xbwkPBIVD+5T4CogCzrlrFG9I44qUxdAWTYkh31L9xumL6C/ eQO/4IM96HoKuWGogynm5aqiRchPRzA/gj1mkpOUmr2eJHkSXQUlcdz4e8j8kqO/8xXw 742A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=mIVyIgwTLXzwUXutxuVhEBa2JRV+KMFUyJvpPIJLlDo=; fh=Fi43AixczdAp4eWCvbYqEMv6XHq+koo8BYHWSVrYGL4=; b=DOaOTJOHsq25tKPjTCHwgx+NEoukjNN1NIicD6maaRhe8QW2uTfBJyabOHL2qCTc9k Ll8qiMIuIHg4xDXPf+Z53ctKR85L003kKAsuzph10hdk8r3bwSk8xndO6aOBrQVLKcNu carcaPoKo7kF2tqbQCdlHeBQZrybfYQKoWP29YWrS57U0yQoxcBOyd0Mb+1Q5cHjRixx mdwSUo7U6LQYCqMiVdRBq88FmvyPdSVMSSJH1DfSItiQbUcKCVg6FATR8ZPFbiaiguFk /TRlUpwp4puAzf8HEtBY3/ItwrBuyCgdBmbK6Xvz2v7wgc6eur7gx0IQwzeXevsI/6S2 lAiQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Ax/xOD6h"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83351-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83351-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t1-20020a170902e84100b001d95f009fd0si1428505plg.367.2024.02.27.05.54.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 05:54:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83351-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 header.i=@gmail.com header.s=20230601 header.b="Ax/xOD6h"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83351-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83351-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 132CE286641 for ; Tue, 27 Feb 2024 13:52:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56F3D78B61; Tue, 27 Feb 2024 13:52:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ax/xOD6h" Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0C3513B2AC; Tue, 27 Feb 2024 13:52:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709041933; cv=none; b=eQQ3ldhGPFiOs+NvJp6jXMBcZwGQvHcr0k3+yG6QziTDzsxlv3Wk7Lpyz8e7IU8uEThMyNIUNW6js1egdm3Ui+F4GtXnTZyXFEP0ZhpBHG2NgfP6g9hOwVeJR/0P/Qjg/7GC9jSGf6WeeEClUmlUGgh6bJYMPgN25m5qjfO/22A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709041933; c=relaxed/simple; bh=8uZ65RdBRrZVQLt3Jfa2DywrGVNgAqJJKx5brrMyuuU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=IjPZTeJPKZ6qV2fMc2YGHbeBCuKiJOAJCSnLuLZyYf3MB/dA5iZK23gHvjFb2N+I01gWaY7xSqioRpvYnaxGL5It7/cjFRMSCsEWpVzB3ja3Lc/G8HjUdmdBj0NUfJtDnr71w+Uq1WLUUUnoxBbL3GXj6HN7AdZoTDaSHYnp6gY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Ax/xOD6h; arc=none smtp.client-ip=209.85.214.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-1d94b222a3aso43638455ad.2; Tue, 27 Feb 2024 05:52:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709041930; x=1709646730; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mIVyIgwTLXzwUXutxuVhEBa2JRV+KMFUyJvpPIJLlDo=; b=Ax/xOD6hfp5BvPZEncM4bAA+C8kLdLLhMi6Ftn8Zy/yqvD/PZzmGejkhX7ujauoYpO eE9uKXyL/S0107EAGoI7U12WboTNa620sngup1Nuy2qhS6bzwMsGO9LiF99L3LvfDThO rH9LHuiycrFwleltq4b4Up5QmgNbhEWpznnm7Sd9F3WXQ4Q1hUlfXPu24EN7JkUFf8R0 qOcwVSvVehcb34elndnltWHgBVWtYXM7JmJFBs/7gQqIgqmKg4FW+aLeR9FWIJA6WYYs vPkpMOlMiujKdmGGrEItX6XXDX/Re8qhGPWXkT9QhdqMM5gxmLt+l7+YCLPY7UlJpK9d dyYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709041930; x=1709646730; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mIVyIgwTLXzwUXutxuVhEBa2JRV+KMFUyJvpPIJLlDo=; b=QrFEZ/zPHK78pb18Q+LDueRg4wVrt7IwWHS3T/Tkjcry1mkCLzgeEOgBPopwIjY4Hf 2FdKzvYoqJOGnjCSbhfebeBsVW0oT8tZ9KvFMGe7By+p9UckBcra8BA+3WpJN9gnMpBg S67tYIoFiT2Yyx6ZPUP1OVDVveS98JmNkHZ0FDqOyLVgfAx+8Mn91Mpd/ORDLaVNKiL4 ZNlW22el4mtnOnwN00XNIZzBXwFS79dI/dUxTaQgcsJxSiiiG2RB+ZjvkPkR7uIluI/C tsYx4CNsnkMEQCyFfc1NXV8cQ3QwClQNA5XdeU0X2GbIkovsfpGwfGbQkKg0KaMu9+tt cAkg== X-Forwarded-Encrypted: i=1; AJvYcCWh0vQlLH6i7wGLOyKfjKjZI5i7OzZlPvQK8CwQFGRyTIlk46PghQPT2+Gw2XsuIA55PFuYiyebhECRA37Ns112yZWvtpgAyvV5PF+2r8Mj86aH8h8BhUZJvPigcbKx3yEgxN1AMuPlEA== X-Gm-Message-State: AOJu0Yy9OyRgIRFIkwkCHJQAa9ZHcryOUmuPu3yHpdEaGxHgFbw4ruc/ 2frV2V2C8xqjMb6xUTOipm6C0k6wD/TtiRw8X5yQRFcEJOa8yXSsPyhxU3SOELVUOBzTUUja6+l tBlB6pbdksLpp4g6X6r2I/q4RMQE= X-Received: by 2002:a17:902:db0e:b0:1dc:b77e:1973 with SMTP id m14-20020a170902db0e00b001dcb77e1973mr2408566plx.53.1709041930195; Tue, 27 Feb 2024 05:52:10 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240226234532.80114-1-aford173@gmail.com> <20240226234532.80114-6-aford173@gmail.com> <20240227083301.4saxxuv4n6aoqnl6@pengutronix.de> In-Reply-To: <20240227083301.4saxxuv4n6aoqnl6@pengutronix.de> From: Adam Ford Date: Tue, 27 Feb 2024 07:51:58 -0600 Message-ID: Subject: Re: [PATCH V6 5/6] arm64: dts: imx8mp: add HDMI display pipeline To: Marco Felsch 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 2:33=E2=80=AFAM Marco Felsch wrote: > > 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/boo= t/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 =3D "ipg"; > > power-domains =3D <&hdmi_blk_ctrl IMX8MP_= HDMIBLK_PD_IRQSTEER>; > > }; > > + > > + hdmi_pvi: display-bridge@32fc4000 { > > + compatible =3D "fsl,imx8mp-hdmi-pvi"; > > + reg =3D <0x32fc4000 0x1000>; > > + interrupt-parent =3D <&irqsteer_hdmi>; > > + interrupts =3D <12>; > > + power-domains =3D <&hdmi_blk_ctrl IMX8MP_= HDMIBLK_PD_PVI>; > > this node should be 'status =3D "disabled";' as reported by Luca else thi= s > node will EPROBE_DEFER. With that beeing fixed you can add my: sorry I missed that one...and I though I was done...sigh. I hope it's not too late to get this into the next release. > > Tested-by: Marco Felsch > I'll push a V7 tonight and add your tested-by. Thanks for testing. adam > Regards, > Marco > > > + > > + ports { > > + #address-cells =3D <1>; > > + #size-cells =3D <0>; > > + > > + port@0 { > > + reg =3D <0>; > > + pvi_from_lcdif3: endpoint= { > > + remote-endpoint = =3D <&lcdif3_to_pvi>; > > + }; > > + }; > > + > > + port@1 { > > + reg =3D <1>; > > + pvi_to_hdmi_tx: endpoint = { > > + remote-endpoint = =3D <&hdmi_tx_from_pvi>; > > + }; > > + }; > > + }; > > + }; > > + > > + lcdif3: display-controller@32fc6000 { > > + compatible =3D "fsl,imx8mp-lcdif"; > > + reg =3D <0x32fc6000 0x1000>; > > + interrupt-parent =3D <&irqsteer_hdmi>; > > + interrupts =3D <8>; > > + clocks =3D <&hdmi_tx_phy>, > > + <&clk IMX8MP_CLK_HDMI_APB>, > > + <&clk IMX8MP_CLK_HDMI_ROOT>; > > + clock-names =3D "pix", "axi", "disp_axi"; > > + power-domains =3D <&hdmi_blk_ctrl IMX8MP_= HDMIBLK_PD_LCDIF>; > > + status =3D "disabled"; > > + > > + port { > > + lcdif3_to_pvi: endpoint { > > + remote-endpoint =3D <&pvi= _from_lcdif3>; > > + }; > > + }; > > + }; > > + > > + hdmi_tx: hdmi@32fd8000 { > > + compatible =3D "fsl,imx8mp-hdmi-tx"; > > + reg =3D <0x32fd8000 0x7eff>; > > + interrupt-parent =3D <&irqsteer_hdmi>; > > + interrupts =3D <0>; > > + clocks =3D <&clk IMX8MP_CLK_HDMI_APB>, > > + <&clk IMX8MP_CLK_HDMI_REF_266M>, > > + <&clk IMX8MP_CLK_32K>, > > + <&hdmi_tx_phy>; > > + clock-names =3D "iahb", "isfr", "cec", "p= ix"; > > + assigned-clocks =3D <&clk IMX8MP_CLK_HDMI= _REF_266M>; > > + assigned-clock-parents =3D <&clk IMX8MP_S= YS_PLL1_266M>; > > + power-domains =3D <&hdmi_blk_ctrl IMX8MP_= HDMIBLK_PD_HDMI_TX>; > > + reg-io-width =3D <1>; > > + status =3D "disabled"; > > + > > + ports { > > + #address-cells =3D <1>; > > + #size-cells =3D <0>; > > + > > + port@0 { > > + reg =3D <0>; > > + > > + hdmi_tx_from_pvi: endpoin= t { > > + remote-endpoint = =3D <&pvi_to_hdmi_tx>; > > + }; > > + }; > > + > > + port@1 { > > + reg =3D <1>; > > + /* Point endpoint to the = HDMI connector */ > > + }; > > + }; > > + }; > > + > > + hdmi_tx_phy: phy@32fdff00 { > > + compatible =3D "fsl,imx8mp-hdmi-phy"; > > + reg =3D <0x32fdff00 0x100>; > > + clocks =3D <&clk IMX8MP_CLK_HDMI_APB>, > > + <&clk IMX8MP_CLK_HDMI_24M>; > > + clock-names =3D "apb", "ref"; > > + assigned-clocks =3D <&clk IMX8MP_CLK_HDMI= _24M>; > > + assigned-clock-parents =3D <&clk IMX8MP_C= LK_24M>; > > + power-domains =3D <&hdmi_blk_ctrl IMX8MP_= HDMIBLK_PD_HDMI_TX_PHY>; > > + #clock-cells =3D <0>; > > + #phy-cells =3D <0>; > > + status =3D "disabled"; > > + }; > > }; > > > > pcie: pcie@33800000 { > > -- > > 2.43.0 > > > > > >