From patchwork Wed Apr 2 07:07:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maud Spierings | GOcontroll X-Patchwork-Id: 14035580 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D2AB3233701; Wed, 2 Apr 2025 07:07:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743577642; cv=none; b=bvZpYqfjUnV4FLFz8+vtkQLT6xIFx8Kh/peqxmlUpphLB+OOHbEYNj/T9ONK5/rCOD3PI+hW/9d58oAlXamjk0xmllq6THJqdrf3PYM138htowi9U+WCuCR2lZUHUmPLzMJZBGsJytjtlgnzgi5oIpamGANksxEjglqMsZaiH34= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743577642; c=relaxed/simple; bh=KQPS6VWIqoxUGIKzjCtZEAGsIFKddMASPAKvXmPDqkc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VbmgfI1PLop10QRvLvSbMb8IuDP5qZm4GXkLRiLFFc6jAx0BWFpbA++mtHoRKWKTDzZjFJi/6IUWuC/Q8koHlhCcsd6Hvl75mA0rlSKPLk2BzCJdNnM9i6oJUFK0ZVU+hZU2ttWf6jnvrqkwVgmL3IOXe4cBuv1jFSJSILkN1EQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gPIu8fRC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gPIu8fRC" Received: by smtp.kernel.org (Postfix) with ESMTPS id 6CEB6C4CEF8; Wed, 2 Apr 2025 07:07:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743577642; bh=KQPS6VWIqoxUGIKzjCtZEAGsIFKddMASPAKvXmPDqkc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=gPIu8fRCdKGZ4SCQXSx0nNK4SaEP8/kXlrnUsGiLxlbSPNWU6xYrClQ+gnXS955i9 H8/HbUWnLFWjI7KE9avYlT+F0mUtkCsVQfjKWkPWJBwL5435qWdXack2DFMAK+fhNX S6FUI7mk/QECJPsd3g3KXRH1cpjl+TSz/iDhsRlBQluM7T5EFx0ZmyQCpn566rQdP/ EUzbh7LsSO9PFE5k2ovs6gCJrvmiYfu5r3uNkeKK0g/2vtd49VagznwT3tXMtktPdU d9ENL1JpWoT2j3jvRRfz6rrr6KXto+YdRlDYWrCNEpaj/+1hyYu6VLG80h6+7o4umd aSkNpKHD5WXVg== 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 6138CC3601A; Wed, 2 Apr 2025 07:07:22 +0000 (UTC) Date: Wed, 02 Apr 2025 09:07:10 +0200 Subject: [PATCH v4 7/9] arm64: dts: freescale: Add the BOE av101hdt-a10 variant of the Moduline Display Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250402-initial_display-v4-7-9f898838a864@gocontroll.com> References: <20250402-initial_display-v4-0-9f898838a864@gocontroll.com> In-Reply-To: <20250402-initial_display-v4-0-9f898838a864@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=1743577640; l=3168; i=maudspierings@gocontroll.com; s=20250214; h=from:subject:message-id; bh=yMRGcv4NDxS5f4RsDG3jcavLTc/4v1Vp9+gfvWITjSE=; b=z4V7FjLBhfDWvAK/MPeeswhO81HB045jAmWcR+8c6a2MVouD2w2CViqc93BqeR+zHQkWgrggA 7OZrXST1CVIC3ObQ+viIuz8r0VqgOEi3VQPBwWr7d1JCsZB+S0OA1Ji 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 Reply-To: maudspierings@gocontroll.com From: Maud Spierings From: Maud Spierings Add the BOE av101hdt-a10 variant of the Moduline Display, this variant comes with a 10.1 1280x720 display with a touchscreen (not working in mainline). 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. The touchscreen has a Cypress CYAT81658-64AS48 controller which as far as I know is not supported upstream, the driver we currently use for this is a mess and I doubt we will be able to get it in an upstreamable state. --- ...x8p-ml81-moduline-display-106-av101hdt-a10.dtso | 102 +++++++++++++++++++++ 1 file changed, 102 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106-av101hdt-a10.dtso b/arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106-av101hdt-a10.dtso new file mode 100644 index 0000000000000000000000000000000000000000..2855d7090988380ca0d4df8459cd1a67049f1080 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106-av101hdt-a10.dtso @@ -0,0 +1,102 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2025 GOcontroll B.V. + * Author: Maud Spierings + */ + +#include +#include + +#include "imx8mp-pinfunc.h" + +/dts-v1/; +/plugin/; + +/ { + model = "GOcontroll Moduline Display with BOE av101hdt-a10 display"; + + panel { + compatible = "boe,av101hdt-a10"; + enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&pinctrl_panel>; + pinctrl-names = "default"; + power-supply = <®_3v3_per>; + reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + + port { + panel_lvds_in: endpoint { + remote-endpoint = <&ldb_lvds_ch0>; + }; + }; + }; + + reg_vbus: regulator-vbus { + compatible = "regulator-fixed"; + power-supply = <®_6v4>; + regulator-always-on; + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <5000000>; + regulator-name = "usb-c-vbus"; + }; +}; + +&iomuxc { + pinctrl_panel: panelgrp { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 + MX8MP_DSE_X1 + MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09 + MX8MP_DSE_X1 + >; + }; +}; + +&lcdif2 { + status = "okay"; +}; + +&lvds_bridge { + assigned-clocks = <&clk IMX8MP_CLK_MEDIA_LDB>, <&clk IMX8MP_VIDEO_PLL1>; + /* IMX8MP_VIDEO_PLL1 = IMX8MP_CLK_MEDIA_DISP2_PIX * 2 * 7 */ + assigned-clock-rates = <0>, <1054620000>; + status = "okay"; + + ports { + port@1 { + ldb_lvds_ch0: endpoint { + remote-endpoint = <&panel_lvds_in>; + }; + }; + }; +}; + +&usb3_1 { + status = "okay"; +}; + +&usb3_phy1 { + status = "okay"; +}; + +&usb_dwc3_1 { + dr_mode = "host"; + + connector { + compatible = "usb-c-connector"; + data-role = "host"; + pd-disable; + vbus-supply = <®_vbus>; + + port { + high_speed_ep: endpoint { + remote-endpoint = <&usb1_hs_ep>; + }; + }; + }; + + port { + usb1_hs_ep: endpoint { + remote-endpoint = <&high_speed_ep>; + }; + }; +};