Message ID | 20240216104255.21052-1-francesco@dolcini.it |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68463-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp425552dyb; Fri, 16 Feb 2024 02:43:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXdqPcP46sSRZLmKQ8uTbeFGpoIgT4wubHvuckP3eluivVG7joGZWlOyliwxOfweKtGmPTPAbW+aZgrce6lPFA6J4qsBA== X-Google-Smtp-Source: AGHT+IHwCKcB6UDCJ2kj4O50HUkxg7srXPQ4P6ViG5G5RQ06D7etigGXpi9Fsy2VniQjjWwjNUAB X-Received: by 2002:a05:6808:1141:b0:3c1:34ba:3bf4 with SMTP id u1-20020a056808114100b003c134ba3bf4mr5329490oiu.26.1708080200020; Fri, 16 Feb 2024 02:43:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708080199; cv=pass; d=google.com; s=arc-20160816; b=IYzBo+HuNuwH+NKrlhDBTniO3iS/SidMTIwC97iOoxHitGxpngl1Ka+yb6sDG5HFmO u2KdVBHIP21Jz82E+7q3YHfh1OxeFlGLlznlVxi/4OtbjHvQG+tUZEqBnW9APw+Dkkcd TZS+7YNbfw15h3bGVRchbEI8NB+6Uh+8qY2A3tJyVXjfgJjMlcnkfyD9vtPqzkz9ZGuJ pOxnLr/riWBwcNo+L3xsj0c3TH7lWiuyyJIImCcdqZiQS/hhhNfjzxfQw3gwely6m5Mc wmaA9oqs94QWzHycO00DUxaSnLACMN3WCnZDZAMlxCGTiKAgSomESkl9rOwEUyr8KwnD 0iTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=lILCCVDpv4TSePKRO4sehh2ym0PKUbFZyoHWNmTyAF8=; fh=v0cK1cyEYz2M+/7imF4atrRuGXj6wEu+kupT2neoIvU=; b=GtEWjzrAC6JOuvYEb33EiYJMpv3zF1hUg1AmzMfT4VawHZ9Li51ZJKk9tdNyPuQ2ok aRUsTgxtT9mePw5NDowv9ZBfVdcbqBJG+0UfOsGeEglZ+uCwnZoJgBrMctWSTcSbjHiA ZjKM80O11cio1bLKxM7dNRIWk2vGozq+T2Qj+gDvxAV3w0OVsMrL3l+Si7/td/9fw5lE WbXTIwBmLywP2fkD7oKTzw4LJiXwNZw89XjZ2yZcCfSsrZxcVmUn5VyMWiP0clL4DVCr 3IJ79H2gm1eXS5pVv9TUhekFDSwYv7aX1G0BzcogCPJCGtLH33gvad5vLCdMoZKuBbnX oczg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=GQEAbCVk; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-68463-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68463-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id iu11-20020ad45ccb000000b0068ce97edd3csi3567901qvb.246.2024.02.16.02.43.19 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:43:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68463-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=GQEAbCVk; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-68463-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68463-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CA0431C21B90 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 10:43:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 859E3535B9; Fri, 16 Feb 2024 10:43:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="GQEAbCVk" Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (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 618DB1EA73; Fri, 16 Feb 2024 10:43:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708080186; cv=none; b=XpBnHInpwwY/X2YtdZo1t+HgaaKar7PBZToLi0o7UK6iaMVwK7mFAsKcyZNsIfotxiG39b7YiuDYYnAN2o2omlupH6DfK+/JwvN9IuCeWhO+2qkENQGVx+h9ztlQFM99dZ9tv7A1/l36edZKv4mI2hv1IDXA/AsIKqnCQa3FA9E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708080186; c=relaxed/simple; bh=dYt4+bsRVChAZxDRXVRdgR3p1sIvnLqzGOD4N6Srd2I=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ijtCfx1V+LFrqQM85KreB1vVhuDAuA6z5mihvX6WkRhDnlFwIrC7fq0LKO1o0hz0Vk7unt7k4Jrn6yJkhvcbJT/JVb4kyF38UeWoONy8bTFah593BW2KaUYxG7TQlKreptnCUaaGebdgc3+gIW+KqmJ11As/0woHz82Nk9Xz01w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=GQEAbCVk; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it 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 <francesco@dolcini.it> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com> Cc: Francesco Dolcini <francesco.dolcini@toradex.com>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Marco Felsch <m.felsch@pengutronix.de>, Roland Hieber <rhi@pengutronix.de>, Hiago De Franco <hiagofranco@gmail.com> 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791051903898542919 X-GMAIL-MSGID: 1791051903898542919 |
Series |
[v1] ARM: dts: imx7: remove DSI port endpoints
|
|
Commit Message
Francesco Dolcini
Feb. 16, 2024, 10:42 a.m. UTC
From: Francesco Dolcini <francesco.dolcini@toradex.com> 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 <hiagofranco@gmail.com> Closes: https://lore.kernel.org/r/34yzygh3mbwpqr2re7nxmhyxy3s7qmqy4vhxvoyxnoguktriur@z66m7gvpqlia/ Fixes: edbbae7fba49 ("ARM: dts: imx7: add MIPI-DSI support") Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> --- arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 26 -------------------------- 1 file changed, 26 deletions(-)
Comments
On Fri, Feb 16, 2024 at 11:42:55AM +0100, Francesco Dolcini wrote: > From: Francesco Dolcini <francesco.dolcini@toradex.com> > > 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 <hiagofranco@gmail.com> > Closes: https://lore.kernel.org/r/34yzygh3mbwpqr2re7nxmhyxy3s7qmqy4vhxvoyxnoguktriur@z66m7gvpqlia/ > Fixes: edbbae7fba49 ("ARM: dts: imx7: add MIPI-DSI support") > Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Hello Shawn, what do you plan to do with this? This fixes a regression from v6.8-rc1 and would be nice to have it into the final v6.8. Francesco
On Fri, Feb 23, 2024 at 06:19:01PM +0100, Francesco Dolcini wrote: > On Fri, Feb 16, 2024 at 11:42:55AM +0100, Francesco Dolcini wrote: > > From: Francesco Dolcini <francesco.dolcini@toradex.com> > > > > 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 <hiagofranco@gmail.com> > > Closes: https://lore.kernel.org/r/34yzygh3mbwpqr2re7nxmhyxy3s7qmqy4vhxvoyxnoguktriur@z66m7gvpqlia/ > > Fixes: edbbae7fba49 ("ARM: dts: imx7: add MIPI-DSI support") > > Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> > > Hello Shawn, what do you plan to do with this? > > This fixes a regression from v6.8-rc1 and would be nice to have it into > the final v6.8. Applied as a fix for 6.8, thanks!
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>; - }; - }; - }; }; };