From patchwork Mon Dec 2 02:56:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13889926 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 7DBA6D49798 for ; Mon, 2 Dec 2024 03:22:29 +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:References:In-Reply-To: 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: List-Owner; bh=gmv17o9N3sgaeoqV6aKy+PWIERIkwgOvcNuQ81JUfi4=; b=oEzfsAgeQFWt/g Urm1Y3EfNCnbySweQ5g19DyiklZhdyaBV/dd7aDYLrHWpLvN5HUqBZjmpEHXZhI0ZzZR1hVwUydCb yEjE/kE9YLQMipvArkgjGuQjb0J8w2HUXFc6xxWw32oQKTPuekzTHrGiGH3vyQ3149SCtGdy/D5vd WZhF+8T3IbB37eGrc3fzIOxJXWdvxcj94yXIHr2IQe2/pnwsBA62tntN4ma0bw37U8cKrmBJtJfIC SO2HZgQgRkcPWkYavGI+96X41OFAfhAzzowIEyDxPqZ7Piv4HPLZRaAJweO+GX7LJA66vqjBrGdNE 0oKI/N4xBUDtR760919w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tHx13-00000004vRB-145W; Mon, 02 Dec 2024 03:22:29 +0000 Received: from mail-db5eur02on20601.outbound.protection.outlook.com ([2a01:111:f403:2608::601] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tHwtW-00000004u8P-1sva; Mon, 02 Dec 2024 03:14:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hq0D/vNxysy71qvfOlKW3+/EGpx14rkxAHlQSnYi43W3B8EAo8g1kP6zwcBJcwoVzCVabJHf5iR+5EJVVTOdm0OFX0SRl26K5vJ0a801HdOQCnB6S3t1D9Z/+IrC6XeuxQXk4bDeVdxvkIbQmwCjqi80lMhrr45XKjhQREzZtg6RiSTf6aBfpIobu6wFEot9mjBXQx4vBHCZy+/LW0AD7ujTi99aGcuJ5obUvYkSk5/1zs1wzTI+HpP93QW7KD6KRU/bew4UjYukIDej1lZFw8C3B6LZMuytSlAoKbaJSpX/GVdS+a3S6wGcgPVdm1PAm+Bd53jiJIAt2wonRo1ZsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4PV5SRwxuoZc7CYjZOzjkZN6pnNbixXimeGSwtdG4XE=; b=xYmun9hIAOs2En1W2Adwa7fC5uatBogAH2OXVRvXL1navH0dAYfzcEKwqp+WZ5bchkRlRad4KQrH8Sfj1xorvnODZtb/6ptr/D3X3jcwMWiUDKf3Hpkbqyfi9De9uc6FHsKLp4sqB29AhSV3omErlQY48jY6wdFbw0v0migtvHT7kZg3oTh71d81P/nrRq2XE6e1k7T4G2DttyM0jyycWJbU1FhSaYsTPR3WCkmJYaMImw7kSS4T/i3mbvEzh6FoHx4cg5QegiOsrGIKLWQdNnvxcAjL/WKn7VwCP4/fwyGE1sSMfj3BZoYxkiiahzVr+0jvBLMOyeC/W328BaJ62Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4PV5SRwxuoZc7CYjZOzjkZN6pnNbixXimeGSwtdG4XE=; b=Q4+oYf48rf5YGiBXdgvkBEXJzYGRLBF72L6ZBHFmq/n/UVC8vSibGXwhAK4HT/DibICVuBTGwg9YXYL3uJX03YiEHDMLORBXV1IDLmbv9+Aw93fLAT70vhkPONriem/aPoaq0NgYW74zobnhUOtS2l0vD3k6dSoXWXTG8S0TMgSU/cILJzmOZAuVDrF3Ld+EBliPF/p2cpO7rUbpkLcvZaGkEXCAfsTgSfNIGmEi/EBemweYHaJf+buPyt3sP/M99EXfCb9oJXdyx60/J2B9Jpi3NAweRqB/uLMXTkFjM5/K8j2pWC9/nkTjAjGnpI+zBkwnknx4/5IxI3qz64FeIA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by DBBPR04MB7643.eurprd04.prod.outlook.com (2603:10a6:10:203::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.18; Mon, 2 Dec 2024 02:58:52 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%6]) with mapi id 15.20.8207.017; Mon, 2 Dec 2024 02:58:52 +0000 From: Liu Ying To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Cc: p.zabel@pengutronix.de, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, glx@linutronix.de, vkoul@kernel.org, kishon@kernel.org, aisheng.dong@nxp.com, agx@sigxcpu.org, francesco@dolcini.it, frank.li@nxp.com, dmitry.baryshkov@linaro.org, u.kleine-koenig@baylibre.com Subject: [DO NOT MERGE PATCH v5 19/19] arm64: dts: imx8qxp-mek: Add MX8-DLVDS-LCD1 display module support Date: Mon, 2 Dec 2024 10:56:35 +0800 Message-Id: <20241202025635.1274467-20-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241202025635.1274467-1-victor.liu@nxp.com> References: <20241202025635.1274467-1-victor.liu@nxp.com> X-ClientProxiedBy: SI2PR06CA0005.apcprd06.prod.outlook.com (2603:1096:4:186::12) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|DBBPR04MB7643:EE_ X-MS-Office365-Filtering-Correlation-Id: bd10f0b1-ba36-4b5b-6ce6-08dd127d4102 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: JokQEZvpn/jzkVhiTXV2qdI2LrwIrSONj7x2DZqpEoD8d251ZAYCar7RYvpAAZdigNisEupMvePGeDv8EqPlI1MqofL41BTUlqYu62MS+2XK072U9YANqV0rCgkce17pZyIfC/JQjlwE3T1WKLr1jckCoiL0TQhht8XkDCPw98ER/m5d0PCmkrE+S6Kfrltoy4BlkW/0xKsN6mfgv+mkJZxAsmyxScpeMVeZmXiHtUCluuwOQBL1JYVhbbQvDYX926lan33sc8GcGqbDw0HK19+CS52zoirr0PI3CZQU1vMgdV5Ptsx9ubfLhT8rrl7OK75SNyO8VuHWXZwnUDjsaEpg4RPCxKsid9PTdFYPFx7pfZ0LSwKal8RKYWTL0+vbluQF2Y67yx2RXnidQzlauFQ4bNCteVjYm1X9Fk7t8bG9dV6TLn6umc4/nHDXH6roMa1Z1hLgUVf4IGqrDuUfkKMpX9OMacZ3hEYYu+uiHE4BogoGmCyKXTm+JKpP1623HPhnP5KjlAUWyimXHSXv9Krx0Jeaoer43VsoTP6SuMX/b5gCRCDUWgDBeMPtdxUSLJAIJZSWqw9LzWTYjfdshEUOz8FQxPTaSGQG0+jIjW/iZfco03aVOiuatB0ENpfXMCPBTQmMmsHOzlXk53J11ogruw11GxRh1b1mc8JprMAroasfyCOeDAPCwfCLYOd26nonstMwgB4s4MgQ1zO+USS0Au2QMQh44BBQ5DR1XPneA1itsjkoXxoB0UL3OdaWeRjRrdIbfrz7eTVDH0gemwxfegZziwJGG9kpopPL4aByB2v8+YUuBQfO7gnrlHVebOznfQFWTU+E4FeNKFzojIOZ4pPz4yBnIKUvHBBI5L6iNgWi7MrNkyfb9x0Yd6UHCEoGdcWm3lFOc12HwaeuETLmge3pExtIZGl68PY7Yx3DSe6kPIgA3y6VlkbO/EQhJT5yqeDNSbQKqYCIrOQQIhl2UcLEYvK3NaH2wQ9N/QPpb1dnfnrrsTqgZxwtIBO7yTvDE+3NPYgaj3G457PrqfYfcQak/XhcycEETkc8Fz8ZGr0PLwHIG+E1319ap0qAQ7a5QMFWngbmFEMt57h4oLwbFy5+ZqaXDdapxD8ZlaFbgvv/8tEmbn7iSGysER8ffWAGzDlCMUqFNvDOJXcv3x/DLfhi9bBUpLvSTp8ql1jWCNOMTSwRpah3yuDPFTvhERz8oNrYtmhFXVHRvUNgvjsIninBc0Pt3UEv0IXIeCBaytBAmf5QIcFUz48LMtsRp1Pgy6LSpN5ouVBQWsDo3bzXm+yckJYZq+5cj5i14Clvfbmru2LazbLHSwSQvg+pmjfdpmjluEjHM+0amdbQFSJ/e1dkn/ugJ1+5W+Wlx+st/+xYW1nj0NzcjhoTLHiVxu+OMbOsChmo+ebo660pSA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0PTHmDRctTCl4ahS5hqsjfMV7sxXeZvh66A4Wr/M12/lHlOQu3s/nVR5FzlxTk+XEt0J9z/G3HY3S/YwszZwkl3D401UmIsJBdHEefUgfywxr195l0cDA7GxF4ieaKAUULKzYUXzn7l3Myzr0qvL5tyXmneVK5XzApJ4P0uQysXv5v/1sedJyqRVco76MuS6eXuurO8aYvOGRScUgBcMN6r+szQlgES7bpGvbaweqkqkcoxN+5AF+Io+eR22bI7tz9udc6sF/17vuDTxYcNmDmQKlWSHmiE3OtUy1un+3O6WNzt3c5kWmoP8I7sXk/OjZPc33jrYTD0jgGkKhKV48v+SngN8l6Do3ua6g//9eGKKdM/l3MEcafCOTurNbusjwbxOwmjTE5Pnsn6UMlw/FnQx+YExMIfwvQxuzrd+7qsbK/KOAzsvmpMH5RbLLLgdbQfUbJS5dKyxw/K4EIuHxTRFWYKHLXkIlCS4YFC14GCg8tvLlbzg08H5gut97yhyosQ6C8xFXM/2LNoClNJRIY/ZTVSajurxIxJerOULIPlvgqFAM6vszXqJEYMDFEfRprjPKcAfp9RMv/LnPtaFrTIdh9zTGuVS/yyysFZe7jXWUHV21M1lDCWABVhF5iBGaxUunGe2pQnYveZBsGfogl1rcE7NfBtGoUSkcKAsnDsSRWEmGtSdEmLG7KPd4PHM+9jJ1A55WjqN+Fdu8f9lXkrfrymbGJzkS8MOR6iDKqIRAZBLxQLZbtj5GLwPie/3Jurnk3pJhTI3m+2ZZXYEvtzX5WpvR7aqPHqGd/PtpE33MqSRQk6bKKuXv59D12NUnnDpIAHJoXQVU+Wje9pibERQOy3c4cCDMVNqKpEB2tMQ9lDC2f1s0iJs6hckF0GgwSN9jsqK04yfXbil3yK7irpGTdehMhIJMYEC55l/U5DNblRD1wid+4YRwal4c+U9dFKlqp4H9r1djEt7dbahQPX+THMPamiPQdU3VIfWzI05dPWKC8wy04Ez2FZyOpEzVHa8EN9lmWq2J+7oADKOPxjou6I+loy/kgAsOG4owLBvEFXek3GzYLGWtdvDx+tOCeOC8cfd5NKdGKz43L89gTxcyAHt7xDWsJirC16NnYiDLukjgGRZJfq5C59lG89uxDjbl5xD171Q1/aVZT2+qjTUhl4zv0ELfNyXU3DSRSRaNd4zMudh9AYGeF+VkX8yu1TYfdZ3m3h+WM00l0QKuMJXeJgr7zx4ivdtnb4YFh2Q4wAaLWHSwGuhhzAW40TfzBhUNm26HQNavBxmrGUOHCPqGQxoRtrMrBqQEx1cCxPdehYeY6i3BIpgjp5ofAEV3ujHis3FelFbLaPmcj1J8uPupmWfQm99veYDpMesAzT+MgCPCbSLza7rCz0LJPn1BZ3T93h10CPqoflu/KnOJnx1q2vEVBhG2m2/TuYNh+mNqfdJlOxXJdiUbQh7zYkNu+OFG9uH0hvqfzt+AAhJa1Xghf9eUOwpW1rXjlxuoSDNv6HGpQqhi20+4hpSDNuEQeIhfMoo9q1K79dmebCEa2reCM1D/Hm1CM8ArkRajuWTR47izjHXgsrox0DmBgLR X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd10f0b1-ba36-4b5b-6ce6-08dd127d4102 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2024 02:58:52.8933 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CyvyvolLNqSn0SLhD4r4DMsCZu1DHJ0SWLEqBy6CvkCpdz6l0mnfMTnV2GEd/7DhUndyAMfrZ6a1cf4RvtVy9g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7643 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241201_191442_496186_1BB47A14 X-CRM114-Status: GOOD ( 14.10 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org MX8-DLVDS-LCD1 display module integrates a KOE TX26D202VM0BWA LCD panel and a touch IC. Add an overlay to support the LCD panel on i.MX8qxp MEK. mipi_lvds_0_ldb channel0 and mipi_lvds_1_ldb channel1 send odd and even pixels to the panel respectively. Signed-off-by: Liu Ying --- v5: * No change. v4: * No change. v3: * No change. v2: * New patch. (Francesco) arch/arm64/boot/dts/freescale/Makefile | 4 + .../imx8qxp-mek-mx8-dlvds-lcd1-lvds0-odd.dtso | 183 ++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 30 +++ 3 files changed, 217 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-mek-mx8-dlvds-lcd1-lvds0-odd.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 42e6482a31cb..a22476e81cc7 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -254,6 +254,10 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-eval-v3.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-iris.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-iris-v2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb + +imx8qxp-mek-mx8-dlvds-lcd1-lvds0-odd-dtbs += imx8qxp-mek.dtb imx8qxp-mek-mx8-dlvds-lcd1-lvds0-odd.dtbo +dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek-mx8-dlvds-lcd1-lvds0-odd.dtb + dtb-$(CONFIG_ARCH_MXC) += imx8qxp-tqma8xqp-mba8xx.dtb dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-9x9-qsb.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek-mx8-dlvds-lcd1-lvds0-odd.dtso b/arch/arm64/boot/dts/freescale/imx8qxp-mek-mx8-dlvds-lcd1-lvds0-odd.dtso new file mode 100644 index 000000000000..7ddd90e68754 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek-mx8-dlvds-lcd1-lvds0-odd.dtso @@ -0,0 +1,183 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 NXP + */ + +/dts-v1/; +/plugin/; + +#include + +&{/} { + panel-lvds0 { + compatible = "koe,tx26d202vm0bwa"; + backlight = <&backlight_lvds1>; + power-supply = <®_vcc_per_3v3>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dual-lvds-odd-pixels; + + panel_lvds0_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + + port@1 { + reg = <1>; + dual-lvds-even-pixels; + + panel_lvds1_in: endpoint { + remote-endpoint = <&lvds1_out>; + }; + }; + }; + }; +}; + +&backlight_lvds1 { + status = "okay"; +}; + +&dc0_framegen0 { + assigned-clocks = <&clk IMX_SC_R_DC_0_PLL_0 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_DC_0 IMX_SC_PM_CLK_MISC0>; + assigned-clock-parents = <0>, + <&clk IMX_SC_R_DC_0_PLL_0 IMX_SC_PM_CLK_PLL>; + assigned-clock-rates = <940320000>; +}; + +&dc0_pixel_link0 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + + status = "okay"; + }; + }; +}; + +&dc0_pc { + status = "okay"; + + channel@0 { + status = "okay"; + }; +}; + +&mipi_lvds_0_ldb { + #address-cells = <1>; + #size-cells = <0>; + fsl,companion-ldb = <&mipi_lvds_1_ldb>; + status = "okay"; + + channel@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + status = "okay"; + + port@1 { + reg = <1>; + + lvds0_out: endpoint { + remote-endpoint = <&panel_lvds0_in>; + }; + }; + }; +}; + +&mipi_lvds_0_phy { + status = "okay"; +}; + +&mipi_lvds_0_pxl2dpi { + fsl,companion-pxl2dpi = <&mipi_lvds_1_pxl2dpi>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + mipi_lvds_0_pxl2dpi_dc0_pixel_link0: endpoint@0 { + status = "okay"; + }; + }; + + port@1 { + reg = <1>; + + mipi_lvds_0_pxl2dpi_mipi_lvds_0_ldb_ch0: endpoint@0 { + status = "okay"; + }; + }; + }; +}; + +&mipi_lvds_1_ldb { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + status = "okay"; + + port@1 { + reg = <1>; + + lvds1_out: endpoint { + remote-endpoint = <&panel_lvds1_in>; + }; + }; + }; +}; + +&mipi_lvds_1_phy { + status = "okay"; +}; + +&mipi_lvds_1_pwm { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_mipi_lvds1>; + status = "okay"; +}; + +&mipi_lvds_1_pxl2dpi { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + mipi_lvds_1_pxl2dpi_dc0_pixel_link0: endpoint@1 { + status = "okay"; + }; + }; + + port@1 { + reg = <1>; + + mipi_lvds_1_pxl2dpi_mipi_lvds_1_ldb_ch1: endpoint@1 { + status = "okay"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index c7b4015c7bf7..cb999be00c22 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -21,6 +21,16 @@ chosen { stdout-path = &lpuart0; }; + backlight_lvds1: backlight-lvds1 { + compatible = "pwm-backlight"; + pwms = <&mipi_lvds_1_pwm 0 100000 0>; + brightness-levels = <0 100>; + num-interpolated-steps = <100>; + default-brightness-level = <100>; + power-supply = <®_vcc_12v0>; + status = "disabled"; + }; + imx8x_cm4: imx8x-cm4 { compatible = "fsl,imx8qxp-cm4"; mbox-names = "tx", "rx", "rxdb"; @@ -58,6 +68,20 @@ dsp_vdev0buffer: memory@94300000 { }; }; + reg_vcc_12v0: regulator-vcc-12v0 { + compatible = "regulator-fixed"; + regulator-name = "VCC_12V0"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + }; + + reg_vcc_per_3v3: regulator-vcc-per-3v3 { + compatible = "regulator-fixed"; + regulator-name = "VCC_PER_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + reg_usdhc2_vmmc: usdhc2-vmmc { compatible = "regulator-fixed"; regulator-name = "SD1_SPWR"; @@ -785,6 +809,12 @@ IMX8QXP_FLEXCAN2_RX_ADMA_UART3_RX 0x06000020 >; }; + pinctrl_pwm_mipi_lvds1: mipilvds1pwmgrp { + fsl,pins = < + IMX8QXP_MIPI_DSI1_GPIO0_00_MIPI_DSI1_PWM0_OUT 0x00000020 + >; + }; + pinctrl_pcieb: pcieagrp { fsl,pins = < IMX8QXP_PCIE_CTRL0_PERST_B_LSIO_GPIO4_IO00 0x06000021