From nobody Wed Nov 27 08:49:32 2024 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2065.outbound.protection.outlook.com [40.107.104.65]) (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 4D49F14EC73; Sat, 12 Oct 2024 07:37:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.65 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728718672; cv=fail; b=Auj83++ljov9YFzRuxfpSDkIENRAGp2dnisbpCd52LTWcJO5HYqndj9ZAxgG0rbyEgCIORF7hcjdLcGaJGQjLAzFbv14nxWdo/w+7jUOxrKrDtmVnMy+RmJXSxR4odHCn228shzsxl3yDtbinjM2fzjedE5+CFFQTerqmgIYd50= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728718672; c=relaxed/simple; bh=utwkbecfhHxMNldOdpsiM2ffLqRcBO5YAz9kas9yxz8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=LVa/F/vQmGG+DtfhVyJLcdWcbxLbVd6JZ3UEqEztp826Bp5w+RBm2D3yE6qKd0KCa6W7cmYCv8fynYYI4nYk4bOJxyeFnMpPOKuEJkcI9Dbj0qQYw5q16gHNGzYcWVznmM/SquH/hLIkxGomU7XUIM/jaPj/oru47vRH+0DdDs0= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=Bw/nzjZ4; arc=fail smtp.client-ip=40.107.104.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="Bw/nzjZ4" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KQXDsC3jKsl2RvE7V0jI6olPSsRs4BVHN/dz40ApjSlIx14az/nsPjEhbFcechY2XzwYLlCSCPTX38tRf9G8AX9FqFz8IOo626u00Ojn22K0Lxr6mCtS678XB3CaFtu5EFKnruJZpk+fKdZMLW6lQLkY2V/YfTLUAVzHLkizH1mvdaa7llUIj3kBhn2jKKfA/hW6ATg2gsxKtW4yh9La4LZJ4sErnOGeyufPTEpJtRNTsFiMQsEBQBVIYL9moHM2/iK/IMnW2I+6SU5pI+cdjXqLtHw9tmARhqy30JR0jIgHTd13KD6ikwkHoQUwy7x2RfT33uaee6GptyXTWVzfnQ== 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=Bo8rh7qxgKKkmCv5NfkkyjDjQ2IHc2K4tbNuH15RKT0=; b=C32HS2y7GwIgOIjzFWxLRSShAtvG9qTwycwsTYNM+14Sp/ywPVVN2Iwi2lNzZTBhvRkKQw/uilfBogDqbera9Koa8o7X2YnncscxzAdz5lzoGIK3fdCbxLt2cYZTZFTWm6rOulGWEcX14yG093IMPH/UcwRLgDrnV94yFK5pN+cXHF6imwwDN3WhrB9gHKP5u4tuGLS1VdjEXvAJqy8xmCRNZBq7y8CtgovClLYxI84V7Fr8mdkJvAqeLUl4BgCnvTC1gWcUPswJb7y2WRTsY2Yn2cBJpY7CgYYDMi1ic5/ruyW7uoWtKPljuQhJeMfWda6s1LjVHe1K3xblu8Mthg== 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=Bo8rh7qxgKKkmCv5NfkkyjDjQ2IHc2K4tbNuH15RKT0=; b=Bw/nzjZ4lW9nFoEPnHeBSaUHyzYZ5AI1JXpvIE53kAdA2GZnPHlew+eEX/TtrAawMzc20sN7nmp1VOkXHMI/TLJJ4tfh5J8ePhmcZ+nRGWy9b/FbhWKVLlAhNKfSlonRMi+a5HIB18ifRXvqvd9RTB/wWkyHIEVgQcar31Wl3I2o9wdFigqufUMrLn8cNYDQoUEwtKhv7ZsEBdHLnw3QkBScxcQNS4thZTnaiuZzc9l4vtmLAzHFmdPyrejiFy0PzrmDN8iT6lHR10gEZNaLJqzrkEMt5/Mm6W1mfAgnprFxhmOuyJcFakLfh1m89KDENYiPqCvQTDRP5+rmQm3NZg== 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 DB8PR04MB6986.eurprd04.prod.outlook.com (2603:10a6:10:116::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.22; Sat, 12 Oct 2024 07:37:47 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%4]) with mapi id 15.20.8048.020; Sat, 12 Oct 2024 07:37:47 +0000 From: Liu Ying To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, catalin.marinas@arm.com, will@kernel.org, quic_bjorande@quicinc.com, geert+renesas@glider.be, dmitry.baryshkov@linaro.org, arnd@arndb.de, nfraprado@collabora.com, o.rempel@pengutronix.de, y.moog@phytec.de, marex@denx.de, isaac.scott@ideasonboard.com, biju.das.jz@bp.renesas.com Subject: [PATCH v2 7/9] arm64: dts: imx8mp-evk: Add NXP LVDS to HDMI adapter cards Date: Sat, 12 Oct 2024 15:35:41 +0800 Message-Id: <20241012073543.1388069-8-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241012073543.1388069-1-victor.liu@nxp.com> References: <20241012073543.1388069-1-victor.liu@nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SI2PR01CA0051.apcprd01.prod.exchangelabs.com (2603:1096:4:193::6) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|DB8PR04MB6986:EE_ X-MS-Office365-Filtering-Correlation-Id: 16d34607-57cb-48b6-3ee7-08dcea90c47d X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|376014|366016|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?AOq3AqRpRZP+9vik+n64Fkedt5EonWLOQJYZc4uue2yGhN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nmIoRh3K+d4Kt2iLejz8w9M4GG1zJUeC7T6Y3/O0?= =?us-ascii?Q?p+qdWoLdCeIKwKmDQpyTSOi5mkqPmrmJaQL8vslJ9LM/Uj//bY2k350aPoMh?= =?us-ascii?Q?gRek9d7uULegUdD+u8n3UJZ8DItQuq6fl41411rl+VCzq5MJHzPVxdk/kkO6?= =?us-ascii?Q?1Fs3Xea/NH8+nSYdaf+NYLrepP7KY4ZgLqNfhgkidaWv6b5jVf5rfdSiDFvW?= =?us-ascii?Q?8Ff7tM2H8goaFuymsIvk1EXM6o6BmJIs1SntYr/eggMAIg3xP2bfflj7U1HB?= =?us-ascii?Q?zkeJGwIbuOz/XsZHADHywzSsv0MMLyufnq39K3g3FLiKmezBurj9vE2wPhHk?= =?us-ascii?Q?z26xZsRiBuqziP6pJ1pRAD8knwvKucMqWnhlxK9pybIfIpXl8iNJPE4hXiy4?= =?us-ascii?Q?FqIC3dZdIi8t1EhCg4tP7GV0pP6td6yhzqV1ox1c/2jAQHCR5S2mYaJBNbLf?= =?us-ascii?Q?kKpfiaU=3D?= 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)(1800799024)(7416014)(376014)(366016)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?CbUHewTtmNaa6UbXOnn7gyCxOuPAG2LB1u4R89QpkwIJWPHs95eHsYMw/JqM?= =?us-ascii?Q?qNkSS5UQNzQztRpNqVnsZIPP8CACOCcM2oa3HbBgmmC+7pNOZ7MawDOKe6Ym?= =?us-ascii?Q?//DzccNowrzeBDr0nQk4ba8pvGcJAD5Smfu5Y35FBkqGRi+PPfimuAdWBbbm?= =?us-ascii?Q?IxI3jdYkgtoB4NFv7x6NNq4Is704aogF6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80Fle7+ycNv+Rzvi/5/rSTA+QdnnuFjBwsgv4KNoC+md8ltOuxjF?= =?us-ascii?Q?Nha9nL+/H0loaQJBSEF6c092KiO6rBTB3YsXzSNUr7aUleU7qLM7s14rhE/A?= =?us-ascii?Q?rNfLk0WBvHdFxe088zUls8ImA07OexgmpQiTQpiyjWmxDLDEHsh0SrWJV97n?= =?us-ascii?Q?7XQksnxf2jmI9etuXEM+uXizZ+6rh+ysFMdiyREaKR5HBolHXqsuBpUcwcp4?= =?us-ascii?Q?ktsyXAUS1P/+39Xlow2ZDMcFONT/MgMsWVT+cHD0uxpWzOi1NJD3ufntijwC?= =?us-ascii?Q?JJwOfrkXYj4TD5287PpwPkucSQffDPPeu2fV3U8/LlQ7n1jARArzcfV4b7PM?= =?us-ascii?Q?uwtIKEY8C1N5GsPw3C/eFb/AI7cQi/w1/KKfaIgRIzBRE6oj4b9dQ+7NOvbq?= =?us-ascii?Q?6ol2lCyIrXlDVs8hYC430WWX80yI+Kgsox5fq14Fr7GRWvMuLJk0aQa7Lsgh?= =?us-ascii?Q?WO8HbjC2VHNz8OVu4PDVb0BqyTF/KcGh7ZN1w7YF?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 16d34607-57cb-48b6-3ee7-08dcea90c47d X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2024 07:37:47.5201 (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: Dn/yh1HLspEqdpNO6lbpyA7oU3tBJSLlCvGuP7RPEHyK59LwXpMthqSYUoYtHn+hkb2zAI3KAxS/vU+XGV3IZw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6986 Content-Type: text/plain; charset="utf-8" One ITE IT6263 LVDS to HDMI converter is populated on NXP IMX-LVDS-HDMI and IMX-DLVDS-HDMI adapter cards. Card IMX-LVDS-HDMI supports single LVDS link(IT6263 link1). Card IMX-DLVDS-HDMI supports dual LVDS links(IT6263 link1 and link2). Only one card can be enabled with one i.MX8MP EVK. Add dedicated overlays to support the below four connections: 1) imx8mp-evk-lvds0-imx-lvds-hdmi.dtso: i.MX8MP EVK LVDS0 connector <=3D> LVDS adapter card J6(IT6263 link1) 2) imx8mp-evk-lvds1-imx-lvds-hdmi.dtso: i.MX8MP EVK LVDS1 connector <=3D> LVDS adapter card J6(IT6263 link1) 3) imx8mp-evk-lvds0-imx-dlvds-hdmi-channel0.dtso: i.MX8MP EVK LVDS0 connector <=3D> DLVDS adapter card channel0(IT6263 lin= k1) i.MX8MP EVK LVDS1 connector <=3D> DLVDS adapter card channel1(IT6263 lin= k2) 4) imx8mp-evk-lvds1-imx-dlvds-hdmi-channel0.dtso: i.MX8MP EVK LVDS1 connector <=3D> DLVDS adapter card channel0(IT6263 lin= k1) i.MX8MP EVK LVDS0 connector <=3D> DLVDS adapter card channel1(IT6263 lin= k2) Part links: https://www.nxp.com/part/IMX-LVDS-HDMI https://www.nxp.com/part/IMX-DLVDS-HDMI Signed-off-by: Liu Ying --- v2: * Add ite,lvds-link-num-data-lanes properties. arch/arm64/boot/dts/freescale/Makefile | 8 ++++ .../imx8mp-evk-imx-lvds-hdmi-common.dtsi | 29 ++++++++++++ ...8mp-evk-lvds0-imx-dlvds-hdmi-channel0.dtso | 44 +++++++++++++++++++ ...imx8mp-evk-lvds0-imx-lvds-hdmi-common.dtsi | 43 ++++++++++++++++++ .../imx8mp-evk-lvds0-imx-lvds-hdmi.dtso | 28 ++++++++++++ ...8mp-evk-lvds1-imx-dlvds-hdmi-channel0.dtso | 44 +++++++++++++++++++ ...imx8mp-evk-lvds1-imx-lvds-hdmi-common.dtsi | 43 ++++++++++++++++++ .../imx8mp-evk-lvds1-imx-lvds-hdmi.dtso | 28 ++++++++++++ arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 6 +++ 9 files changed, 273 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-evk-imx-lvds-hdmi-= common.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-evk-lvds0-imx-dlvd= s-hdmi-channel0.dtso create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-evk-lvds0-imx-lvds= -hdmi-common.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-evk-lvds0-imx-lvds= -hdmi.dtso create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-evk-lvds1-imx-dlvd= s-hdmi-channel0.dtso create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-evk-lvds1-imx-lvds= -hdmi-common.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-evk-lvds1-imx-lvds= -hdmi.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/f= reescale/Makefile index 9d3df8b218a2..cc4333f49c2d 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -196,7 +196,15 @@ dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-verdin-wifi-dev.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-verdin-wifi-mallow.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-verdin-wifi-yavia.dtb =20 +imx8mp-evk-lvds0-imx-dlvds-hdmi-channel0-dtbs +=3D imx8mp-evk.dtb imx8mp-e= vk-lvds0-imx-dlvds-hdmi-channel0.dtbo +imx8mp-evk-lvds0-imx-lvds-hdmi-dtbs +=3D imx8mp-evk.dtb imx8mp-evk-lvds0-i= mx-lvds-hdmi.dtbo +imx8mp-evk-lvds1-imx-dlvds-hdmi-channel0-dtbs +=3D imx8mp-evk.dtb imx8mp-e= vk-lvds1-imx-dlvds-hdmi-channel0.dtbo +imx8mp-evk-lvds1-imx-lvds-hdmi-dtbs +=3D imx8mp-evk.dtb imx8mp-evk-lvds1-i= mx-lvds-hdmi.dtbo imx8mp-evk-mx8-dlvds-lcd1-dtbs +=3D imx8mp-evk.dtb imx8mp-evk-mx8-dlvds-lc= d1.dtbo +dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-evk-lvds0-imx-dlvds-hdmi-channel0.dtb +dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-evk-lvds0-imx-lvds-hdmi.dtb +dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-evk-lvds1-imx-dlvds-hdmi-channel0.dtb +dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-evk-lvds1-imx-lvds-hdmi.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-evk-mx8-dlvds-lcd1.dtb =20 imx8mp-tqma8mpql-mba8mpxl-lvds-dtbs +=3D imx8mp-tqma8mpql-mba8mpxl.dtb imx= 8mp-tqma8mpql-mba8mpxl-lvds.dtbo diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk-imx-lvds-hdmi-common.= dtsi b/arch/arm64/boot/dts/freescale/imx8mp-evk-imx-lvds-hdmi-common.dtsi new file mode 100644 index 000000000000..44b30e9b3fde --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk-imx-lvds-hdmi-common.dtsi @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 NXP + */ + +/dts-v1/; +/plugin/; + +&{/} { + lvds-hdmi-connector { + compatible =3D "hdmi-connector"; + label =3D "J2"; + type =3D "a"; + + port { + lvds2hdmi_connector_in: endpoint { + remote-endpoint =3D <&it6263_out>; + }; + }; + }; +}; + +&lcdif2 { + status =3D "okay"; +}; + +&lvds_bridge { + status =3D "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds0-imx-dlvds-hdmi-= channel0.dtso b/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds0-imx-dlvds-hd= mi-channel0.dtso new file mode 100644 index 000000000000..4008d2fd36d6 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds0-imx-dlvds-hdmi-channel= 0.dtso @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 NXP + */ + +#include "imx8mp-evk-lvds0-imx-lvds-hdmi-common.dtsi" + +&it6263 { + ports { + port@0 { + reg =3D <0>; + dual-lvds-odd-pixels; + + it6263_lvds_link1: endpoint { + remote-endpoint =3D <&ldb_lvds_ch0>; + }; + }; + + port@1 { + reg =3D <1>; + dual-lvds-even-pixels; + + it6263_lvds_link2: endpoint { + remote-endpoint =3D <&ldb_lvds_ch1>; + }; + }; + }; +}; + +&lvds_bridge { + ports { + port@1 { + ldb_lvds_ch0: endpoint { + remote-endpoint =3D <&it6263_lvds_link1>; + }; + }; + + port@2 { + ldb_lvds_ch1: endpoint { + remote-endpoint =3D <&it6263_lvds_link2>; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds0-imx-lvds-hdmi-c= ommon.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds0-imx-lvds-hdmi-c= ommon.dtsi new file mode 100644 index 000000000000..757ce878c7cb --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds0-imx-lvds-hdmi-common.d= tsi @@ -0,0 +1,43 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 NXP + */ + +#include +#include "imx8mp-evk-imx-lvds-hdmi-common.dtsi" + +&i2c2 { + #address-cells =3D <1>; + #size-cells =3D <0>; + + it6263: hdmi@4c { + compatible =3D "ite,it6263"; + reg =3D <0x4c>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_lvds_en>; + reset-gpios =3D <&gpio1 10 GPIO_ACTIVE_LOW>; + ivdd-supply =3D <®_buck5>; + ovdd-supply =3D <®_vext_3v3>; + txavcc18-supply =3D <®_buck5>; + txavcc33-supply =3D <®_vext_3v3>; + pvcc1-supply =3D <®_buck5>; + pvcc2-supply =3D <®_buck5>; + avcc-supply =3D <®_vext_3v3>; + anvdd-supply =3D <®_buck5>; + apvdd-supply =3D <®_buck5>; + ite,lvds-link-num-data-lanes =3D /bits/ 8 <4>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@2 { + reg =3D <2>; + + it6263_out: endpoint { + remote-endpoint =3D <&lvds2hdmi_connector_in>; + }; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds0-imx-lvds-hdmi.d= tso b/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds0-imx-lvds-hdmi.dtso new file mode 100644 index 000000000000..9e11f261ad13 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds0-imx-lvds-hdmi.dtso @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 NXP + */ + +#include "imx8mp-evk-lvds0-imx-lvds-hdmi-common.dtsi" + +&it6263 { + ports { + port@0 { + reg =3D <0>; + + it6263_lvds_link1: endpoint { + remote-endpoint =3D <&ldb_lvds_ch0>; + }; + }; + }; +}; + +&lvds_bridge { + ports { + port@1 { + ldb_lvds_ch0: endpoint { + remote-endpoint =3D <&it6263_lvds_link1>; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds1-imx-dlvds-hdmi-= channel0.dtso b/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds1-imx-dlvds-hd= mi-channel0.dtso new file mode 100644 index 000000000000..af2e73e36a1b --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds1-imx-dlvds-hdmi-channel= 0.dtso @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 NXP + */ + +#include "imx8mp-evk-lvds1-imx-lvds-hdmi-common.dtsi" + +&it6263 { + ports { + port@0 { + reg =3D <0>; + dual-lvds-even-pixels; + + it6263_lvds_link1: endpoint { + remote-endpoint =3D <&ldb_lvds_ch1>; + }; + }; + + port@1 { + reg =3D <1>; + dual-lvds-odd-pixels; + + it6263_lvds_link2: endpoint { + remote-endpoint =3D <&ldb_lvds_ch0>; + }; + }; + }; +}; + +&lvds_bridge { + ports { + port@1 { + ldb_lvds_ch0: endpoint { + remote-endpoint =3D <&it6263_lvds_link2>; + }; + }; + + port@2 { + ldb_lvds_ch1: endpoint { + remote-endpoint =3D <&it6263_lvds_link1>; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds1-imx-lvds-hdmi-c= ommon.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds1-imx-lvds-hdmi-c= ommon.dtsi new file mode 100644 index 000000000000..7381dbd0b7f6 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds1-imx-lvds-hdmi-common.d= tsi @@ -0,0 +1,43 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 NXP + */ + +#include +#include "imx8mp-evk-imx-lvds-hdmi-common.dtsi" + +&i2c3 { + #address-cells =3D <1>; + #size-cells =3D <0>; + + it6263: hdmi@4c { + compatible =3D "ite,it6263"; + reg =3D <0x4c>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_lvds_en>; + reset-gpios =3D <&gpio1 10 GPIO_ACTIVE_LOW>; + ivdd-supply =3D <®_buck5>; + ovdd-supply =3D <®_vext_3v3>; + txavcc18-supply =3D <®_buck5>; + txavcc33-supply =3D <®_vext_3v3>; + pvcc1-supply =3D <®_buck5>; + pvcc2-supply =3D <®_buck5>; + avcc-supply =3D <®_vext_3v3>; + anvdd-supply =3D <®_buck5>; + apvdd-supply =3D <®_buck5>; + ite,lvds-link-num-data-lanes =3D /bits/ 8 <4>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@2 { + reg =3D <2>; + + it6263_out: endpoint { + remote-endpoint =3D <&lvds2hdmi_connector_in>; + }; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds1-imx-lvds-hdmi.d= tso b/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds1-imx-lvds-hdmi.dtso new file mode 100644 index 000000000000..527a893a71b2 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk-lvds1-imx-lvds-hdmi.dtso @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 NXP + */ + +#include "imx8mp-evk-lvds1-imx-lvds-hdmi-common.dtsi" + +&it6263 { + ports { + port@0 { + reg =3D <0>; + + it6263_lvds_link1: endpoint { + remote-endpoint =3D <&ldb_lvds_ch1>; + }; + }; + }; +}; + +&lvds_bridge { + ports { + port@2 { + ldb_lvds_ch1: endpoint { + remote-endpoint =3D <&it6263_lvds_link1>; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot= /dts/freescale/imx8mp-evk.dts index d26930f1a9e9..68e12a752edd 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -938,6 +938,12 @@ MX8MP_IOMUXC_SPDIF_TX__I2C5_SCL 0x400001c2 >; }; =20 + pinctrl_lvds_en: lvdsengrp { + fsl,pins =3D < + MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10 0x1c0 + >; + }; + pinctrl_pcie0: pcie0grp { fsl,pins =3D < MX8MP_IOMUXC_I2C4_SCL__PCIE_CLKREQ_B 0x60 /* open drain, pull up */ --=20 2.34.1