From patchwork Thu Mar 27 15:52:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maud Spierings X-Patchwork-Id: 14031269 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 0CD10C3600B for ; Thu, 27 Mar 2025 16:05:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To: References:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version: Subject:Date:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lv/wIMtQUej9zzIEQmWJ/Y44RkecNWtZKTe/gPTPUZM=; b=2+63c4CQ58zRxUieDGjMtKBCxc QAKOPw9NWIW0TxpCHJlOmQm2zd0eTs78SEUXRoKSDnkPHIHyhwPHitqgdIKS60GQuTFPThiFJglda lelhOU5s2XljzniSu7ztc5RRvSQjSVa2FEKRk2ZZF6jYiN7bXxPg9mmSpAiXYR6Q5RsVZsrujD7VW 2FXWoVnfN1h0ezGNKH8+/7/jTwxMMOpYRcAIgYzDa5d0RKafSsiPh26lFOepKW2LVMIfhCjvMiMWv qFIlWKNgu8cQqS0CyRWAopXzq7ntv9JmnpUvbCBiS3nnoAih6yDyn+NuQ6/O/mx043M/f2qQLe6BR PERXgUQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.1 #2 (Red Hat Linux)) id 1txpj2-0000000BSMg-2afq; Thu, 27 Mar 2025 16:05:00 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.98.1 #2 (Red Hat Linux)) id 1txpX6-0000000BQDK-2rOz for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2025 15:52:42 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 22FD25C575F; Thu, 27 Mar 2025 15:50:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 9573FC4CEFD; Thu, 27 Mar 2025 15:52:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743090759; bh=I35W15s5Rynhg/n2VEFMk+cVf2MEJd14a4MY6yNr4Pk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=GVeqBQ7e91zMZ5/Y+WhmT7JWuMxYc6D1prEr18ewfeEXm52XzQ98n68i+iBkvfN26 PfwInR5PqD5Fyqi1godYbpsc11N87+A/ervbBefCFc3Xcvvt0VuHvWM+svkIeRTrj4 R4ArYjwXM27iVWVYihZzlFMzbiYImq8QyOByJg0YRwpiQOVqNXW+TAdOBu+sODFZPi STqNs++in7W1DPT8ANQoXZdR1iQ53I0t6TJZrHEfcUdVoKoaYs4ifLgwsMb91BB3a3 FyCmwc7Y2NjNdYpvjjmwb+St5C5LsZ+kgb7mGAu64QwEZm1/YnHtA2RVsEBqVQmhIj C0CMm+7+m4mlg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CACFC36010; Thu, 27 Mar 2025 15:52:39 +0000 (UTC) Date: Thu, 27 Mar 2025 16:52:43 +0100 Subject: [PATCH v3 8/8] arm64: dts: freescale: Add the BOE av123z7m-n17 variant of the Moduline Display MIME-Version: 1.0 Message-Id: <20250327-initial_display-v3-8-4e89ea1676ab@gocontroll.com> References: <20250327-initial_display-v3-0-4e89ea1676ab@gocontroll.com> In-Reply-To: <20250327-initial_display-v3-0-4e89ea1676ab@gocontroll.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Maud Spierings X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743090757; l=3566; i=maudspierings@gocontroll.com; s=20250214; h=from:subject:message-id; bh=YMjOUoNCYJh9lEvif2+fl8SJFUv1GDzRxvcU2IcAvY0=; b=l8OXEChyuymPHCHLpQr47DGGXr4dN6ex5G3Zrf00MjXETLsbn9aih6VmJnTSr33lqYUyWHQAd rqnj7gb9UzQBagPTwWgzNl4tpuuihBOG/Ump39bOHxEF1MXsCqZfnhs X-Developer-Key: i=maudspierings@gocontroll.com; a=ed25519; pk=7chUb8XpaTQDvWhzTdHC0YPMkTDloELEC7q94tOUyPg= X-Endpoint-Received: by B4 Relay for maudspierings@gocontroll.com/20250214 with auth_id=341 X-Original-From: Maud Spierings X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250327_085240_813761_712DB4E8 X-CRM114-Status: GOOD ( 12.62 ) 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: , Reply-To: maudspierings@gocontroll.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Maud Spierings From: Maud Spierings Add the BOE av123z7m-n17 variant of the Moduline Display, this variant comes with a 12.3" 1920x720 display. Signed-off-by: Maud Spierings --- Currently the backlight driver is not available, this will be upstreamed in a future patch series. It is a Maxim max25014atg. --- ...tx8p-ml81-moduline-display-106-av123z7m-n17.dts | 133 +++++++++++++++++++++ 1 file changed, 133 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106-av123z7m-n17.dts b/arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106-av123z7m-n17.dts new file mode 100644 index 0000000000000000000000000000000000000000..129c69598f38566460efb271628c1d1e10eb2a85 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106-av123z7m-n17.dts @@ -0,0 +1,133 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2025 GOcontroll B.V. + * Author: Maud Spierings + */ + +/dts-v1/; + +#include "imx8mp-tx8p-ml81-moduline-display-106.dtsi" + +/ { + model = "GOcontroll Moduline Display with BOE av123z7m-n17 display"; + + panel { + compatible = "boe,av123z7m-n17"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_panel>; + enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + power-supply = <®_3v3_per>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dual-lvds-odd-pixels; + + panel_in0: endpoint { + remote-endpoint = <&lvds1_out>; + }; + }; + + port@1 { + reg = <1>; + dual-lvds-even-pixels; + + panel_in1: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; + }; +}; + +&i2c4 { + bridge@2d { /* sn65dsi85 */ + compatible = "ti,sn65dsi84"; + reg = <0x2d>; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lvds_bridge>; + enable-gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>; + vcc-supply = <®_1v8_per>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + dsi_lvds_bridge_in: endpoint { + remote-endpoint = <&mipi_dsi_out>; + data-lanes = <1 2 3 4>; + }; + }; + + port@2 { + reg = <2>; + + lvds0_out: endpoint { + remote-endpoint = <&panel_in1>; + }; + }; + + port@3 { + reg = <3>; + + lvds1_out: endpoint { + remote-endpoint = <&panel_in0>; + }; + }; + }; + }; + + /* max25014 @ 0x6f */ +}; + +&lcdif1 { + status = "okay"; +}; + +&mipi_dsi { + samsung,esc-clock-frequency = <12000000>; + /* + * burst has to be at least 2x dsi clock that the sn65dsi85 expects + * display pixelclock * bpp / lanes / 2 = dsi clock + * 88.000.000 * 24 / 4 / 2 = 264.000.000 + * range gets rounded up to 265.000.000 - 270.000.000 + * 267.500.000 * 2 = 535.000.000 + */ + samsung,burst-clock-frequency = <535000000>; + status = "okay"; + + ports { + port@1 { + mipi_dsi_out: endpoint { + remote-endpoint = < &dsi_lvds_bridge_in>; + data-lanes = <1 2 3 4>; + }; + }; + }; +}; + +&iomuxc { + pinctrl_lvds_bridge: lvdsbridgegrp { + fsl,pins = < + MX8MP_IOMUXC_SAI1_TXD2__GPIO4_IO14 /* COM pin 113 */ + MX8MP_DSE_X1 + >; + }; + + pinctrl_panel: panelgrp { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 /* COM pin 157 */ + MX8MP_DSE_X1 + MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09 /* COM pin 159 */ + MX8MP_DSE_X1 + >; + }; +};