From patchwork Fri Feb 16 10:42:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13559842 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 16512C48260 for ; Fri, 16 Feb 2024 10:43:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=EVH3PIlTjvV7/lMaVo9lNKvMXJpKnpz/Q25NuQhlxpY=; b=PgTYnoIo4Na/sb aCGOm6t5aZLHye1ROyXOcuMM0Opy3CMe310hGYlns6BtJ+4GwWvgoKxaMj1gs2mL37j0HUNhxPnty TK3qBgT45FKXhhNMxd5+ynuMkX9BLQPSZSX5ip8mWcIX+fYYAyK6WdBsf+VWhifGrNAc/gI8/KFRz XVJPGTEREyi2NgSh15uRlg2GHH+K6PHYhzJtp1eCvs9B+w+NyvDUnLSInQDm00dSyOnAEPneufVBP E5munkj8rMpSZi572c3PdoN6LNBifV40ex9ZCsEtL5/O0IUL9L0tlyowxVkWd3T8AJ8BBg4ValEPE dcVT3ekxPsY5smWTMHMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ravgZ-000000020P0-3VgA; Fri, 16 Feb 2024 10:43:15 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ravgS-000000020Lj-1kSG for linux-arm-kernel@lists.infradead.org; Fri, 16 Feb 2024 10:43:10 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 765BF22533; Fri, 16 Feb 2024 11:42:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1708080180; bh=lILCCVDpv4TSePKRO4sehh2ym0PKUbFZyoHWNmTyAF8=; h=From:To:Subject; b=GQEAbCVkfq1zUI6SODikNg5z3gVzvia8TQ0QbeYQGJJxNBrBm2PfaZBJrwb4D8n67 fxrYYi9tprQzfpxXL/+hs2mECWq8tFriOxLTqRCyeUO2c7AEkXDo2CcxGLIdHDmz4B 6HptLDaSba0lTQiobppeQRdvSsgxZ6iPdXYj4O8Iii04hjNvr9UdkC4ddBj64FWcFd b1+V7uv2BEXJfQbSTKeGDTgPrdhd7Sry6mq8ndO17g9XR1tExEjkJwGb+anFgacn9v Ath70p7kw2BQatrYXlBA8R76WArqhU4J4jW24PgYw+aqkEsLxxtm54Mdhb57kVYNXy MZlgaUTGKIApA== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: Francesco Dolcini , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Marco Felsch , Roland Hieber , Hiago De Franco Subject: [PATCH v1] ARM: dts: imx7: remove DSI port endpoints Date: Fri, 16 Feb 2024 11:42:55 +0100 Message-Id: <20240216104255.21052-1-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240216_024308_645843_221BB42C X-CRM114-Status: GOOD ( 10.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Francesco Dolcini This fixes the display not working on colibri imx7, the driver fails to load with the following error: mxsfb 30730000.lcdif: error -ENODEV: Cannot connect bridge NXP i.MX7 LCDIF is connected to both the Parallel LCD Display and to a MIPI DSI IP block, currently it's not possible to describe the connection to both. Remove the port endpoint from the SOC dtsi to prevent regressions, this would need to be defined on the board DTS. Reported-by: Hiago De Franco Closes: https://lore.kernel.org/r/34yzygh3mbwpqr2re7nxmhyxy3s7qmqy4vhxvoyxnoguktriur@z66m7gvpqlia/ Fixes: edbbae7fba49 ("ARM: dts: imx7: add MIPI-DSI support") Signed-off-by: Francesco Dolcini --- arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi index ebf7befcc11e..9c81c6baa2d3 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi @@ -834,16 +834,6 @@ lcdif: lcdif@30730000 { <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>; clock-names = "pix", "axi"; status = "disabled"; - - port { - #address-cells = <1>; - #size-cells = <0>; - - lcdif_out_mipi_dsi: endpoint@0 { - reg = <0>; - remote-endpoint = <&mipi_dsi_in_lcdif>; - }; - }; }; mipi_csi: mipi-csi@30750000 { @@ -895,22 +885,6 @@ mipi_dsi: dsi@30760000 { samsung,esc-clock-frequency = <20000000>; samsung,pll-clock-frequency = <24000000>; status = "disabled"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - #address-cells = <1>; - #size-cells = <0>; - - mipi_dsi_in_lcdif: endpoint@0 { - reg = <0>; - remote-endpoint = <&lcdif_out_mipi_dsi>; - }; - }; - }; }; };