From patchwork Thu Aug 22 03:33:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13772571 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2046.outbound.protection.outlook.com [40.107.247.46]) (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 64F981C287 for ; Thu, 22 Aug 2024 03:33:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.247.46 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724297590; cv=fail; b=T54ksXf09QoLpCBUFEo1jkPkvCeX4rgp720zjiAShPBtDCDwuJDlUKDtzJkZGMo3Q89nZF1wNkKbjYLWLYjnIaZe8nflUm+9m5MNHf3jizKDOx4k/ej4N4DzelF3hH51IrZR/mhyD+YB7hkri+YynDAHeqYuHRensCWuaDQ13uw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724297590; c=relaxed/simple; bh=WqDw7iw0fe75q9MNzz8Or8h96SIfGLeTQeF7DbbaccU=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=rGdWpOOAVG3VsZbZRxiSiAe6VouNUkMVOmlD4jzc2OfsSZdL3ytl8XuNzCcXyFnqvsR0rF3ocp6m77GEOh5JU9imGteaJCzqHVbFO9bSno2YgR77Bwtiux27VDARVXH4BBd7zrzNg6lmHd3LeQiGp7HIMzz3WRO2lUopxFXpkbw= 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=YIdu5FSV; arc=fail smtp.client-ip=40.107.247.46 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="YIdu5FSV" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tB06D7elgNfLKvXWwQ7qwDUY8Jw8RJ2UpM3fCdJVnJlsqnAMrE2OsY5kzm0LSEvcqbxs23G97/EjAMxdylBRrX/NBV/98IhtRWB6Tgx+Jjn6Ws6MDPjtUCw7ZRKgoyKq5qsaSEenkoQzyBsGDtudyiaxHNb5xcd2w+HxHAHnlJrXDa7JyA9fxKHa4J6nvFKC4NcpWFykF7VmMkQBNinJS695s6hevti9WJnWrV5VONRmHkBe46IU+4IPiDdaZE/e3V0uP3oJbcaAYhvDieMKGPQ3ffdmAsQ6jzw8ZDoxhI+3EIYdId1XYzmOef55n8qidFvA7b1SAkyuElmRL3z6qA== 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=YLrsex/04KcRid4rZNj2j8AEdvoQpWyzejXAOECX67c=; b=zNsW/qbuTXEZDL7b7rZXO7XiZadseAVCDmM1Ez9os3XI5NaQpCW1JAwqFcbtIlKdAv5KEgaY7EggtPJdvzVnvUzhCH98oQ3IpqTcOc3XVyGzPB5j8Z3JJEk4Btd+Uznzdjc91fe5PDuL1GA+YDzY8TQO/NfN4B1YLnSBqzERJSCQqWJy3rSKHkqe3SBctVkLu3m+dKKzyc9ifj5zvYljhNSa//roA/8C+ONT94yVDNf7lMfY9KDC5I4j1KQrQQPHAuXRuLLzsYiO5FaR0XR80KTlYqEl37PzPKgSFaK6VR0Qk+yyfibZFz9Avus8eqPF1v3gOx/lts060PJBd0xKQQ== 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=YLrsex/04KcRid4rZNj2j8AEdvoQpWyzejXAOECX67c=; b=YIdu5FSVDDa4JI3NoAmHZkM5t4003nGPuBpAIkZ6eHz6GkfLj0dal5/s5xezZbflT+wDkCtlGw8GNsTHqejKgEFWD1pzugKPd1TJog0DLB8yiAH4XQIlcL3OeguXTLp4ed9OSaqEmQLksW3ykMAXubaea9stBlxnLYtiQYWguJ0pWRCXQA9Ztu3DHNkJZN7OZtZ6x0vD1gsqoxB//zb07Z6Sbq+Ss1pPyKkGvwlQOOk9zBK22L2HR/GqzCZHnIqcVm3BCDwOAHU3PVMqHTbsGIQDbVr42pkruc8E4pRDPE2Vy+unzfhKKi3n3ChO5A1AolCaOquURTQEX8XsA2IA7Q== 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 DU0PR04MB9693.eurprd04.prod.outlook.com (2603:10a6:10:322::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Thu, 22 Aug 2024 03:33:05 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%2]) with mapi id 15.20.7897.014; Thu, 22 Aug 2024 03:33:05 +0000 From: Liu Ying To: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Subject: [PATCH] arm64: dts: imx8mp-evk: Add native HDMI output Date: Thu, 22 Aug 2024 11:33:18 +0800 Message-Id: <20240822033318.753724-1-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI2PR04CA0016.apcprd04.prod.outlook.com (2603:1096:4:197::7) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|DU0PR04MB9693:EE_ X-MS-Office365-Filtering-Correlation-Id: 4ec15952-83d1-4a0d-1e3b-08dcc25b2233 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|7416014|376014|38350700014; X-Microsoft-Antispam-Message-Info: f+tpAzLJWJ6RmZkHUi1xudTruXgzVLEHA2bem6Rd5QSQrZZe7M7zfOi63GwsXFXLDkuu0YoEd1EurPw395T3pOe0fvGUtkSGPAaN3FocIeG4ZyxkGwoDnyUcxFURFgtcOIL+gmNWNhKcoqAtKAY/oRmEir4DO6t9q1U9z0vpuPsrlVxEckwey6LdX6swdbg77NSX4XHPOkBsyqq5KOhHyGzY/JR0GtAmq3By/fG2y6Ln/ahkPCf49+bVZN3TyRv9ObN48JkeD2TszPMdz6NB+QbYwKzdshawlLL5esRrx7rTvK2ROG1YW/9xTTJa3lACdUQADR+lzL/HVTvktYytcJW6h28/TVzvxCBYNBHZJE79Z5Xcea1loUeHrSfUPeW983vWuI9N3p1eOqVmbS8F6aV+/6EqaXsmeACoBQEME0KI6PR9m561L+04LBr9fi7JwmGeRsHa4n0+1NEvMOX9kw60J6OjVn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1800799024)(366016)(52116014)(7416014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6CpZ4LjNVLkH0LxUp8hmljdX6tG4JxBDpr04RsXReOf73regPMzL68f7RqI1DvUokA/s3kFkelRmmTd4NFaYrltikRUhvF4we7R7WoDvOhB119EBZYCdN8cUsp6KughewU9nOe2XZ3SRFj+VAuWy5ApZvnaZoto9rdJejARr7CM7bzuSBg8YHoln756tZ0JNJtPUPfAVuqzU07f+YOZdU/X6e6RWtKpvk9p7naQixGpy3HL6DXRoihQSNwy9VXnpLs79ZZxUcujXvVXL1llYpPWbXNWTmia23Yffdq3cAscfiwiD2WilPUlJBx/it1fIKKtyt6WSefEkO+l7u/wOf9I7LBtciZuh06piO4GfB5snEe/j2PvTmFAWVZQw1ZoENB4gJSAssJeyAHsmVmZhni7PY06BHUusmjnkLvVX1zNkRNzbt3hEt0PKhDWlwBaS2EpSrAoZ/1+k1tqXZEuvJKCAtZuGf0hWZZ6XD572RnR2uvCekZtGVZ4VPYVQsaSt2Ys3YHDbQs/nNFZBiv9fkgBDFm6kWgnuqMS3z6S0aZOOqRr0dYXaoyM3myWOyKqJC5YoqCR5fd6xw1UdFPc5aw2OpJ4a9m33q3RgosVebZAKtiayp5wrSRn4nyUKgyruoU5EzdIaOaGOeM1FS2Ks2VeIqBlFqiUVD+it7KBzDLVg8hb3d3ppENjRw2NXuIauIsT6HmRJh0/jYgOJg7zJb9Yn7X+5BzujFIBsIlzzOZzYPMC2FRl3XMBdP6D8pqb77x3XRDgBMkNO02TB3zwqQKNTisXormY3cFYLm4CZNPnRPtJzf27JI2egKTF9y6LEcLKQ0vBbgFhshFz/8DKn2nOyJdM4c7RAjUUIaPZi5Ir5jVWKkABmEkjPOET0KoMYBXF8AR0mWCgvLXDLb6Ae3Jd14ECwqLlZ/twEsPAi/6jVsxyLErnM8LfjgkKR2BCDgSAeYURHCxHhiNc6ZLA24hh9LYNOSg2uxqa0Dovne6+x1snOgN4keFj1fGOq+mg8JwHsbis5KQ6L+dK3ClilSRmhK99G0bpvZI7mn2Tryg0YkeiJy/mgg6FocrfcZtpWJMkUtGbncuYaCUHCc/Xfe084xrHucGxWEVu8aGaCBvn/KH4yr01kkcKY9veXHNV7ArHaHEf0scpkS+YxU3LTdX1LJNT/cT6VZdoLQ8GgGLOzVaaOL/gsg60GwSl2kuUYGItsXscrYU13/FpePBzY0t5CvNNJiDg0F67R7mWn9ZStj0fax80ic1MEyMiuK5NPY64UJ0tyG1FCnOS17dzUazU3RtL7SjXfwrMYtAVAUc4LS60kmf4ghPiSmgwDIF9XAjjpV/RG8vXYsSsaT7RQUKTs3GQDOC2ldZmH6zLDbykoZLSp4PWRsVzjCrUBUxZDlAEP48df8S2f7/jTGN8tlKJHgTLl7DM/D3QSCQmLoG8evMfUxKb2rJzvCrwb25nDlGLK44+wy+MjLB5hoeXxbIcuC+Sr7/JxS8w1a6TwfN5zapAHqYCdlOFXstj4LRsZbnSZDGUSxCAkp0g5PC1faNKsOdbvxFT3x811BOj+wFILy0Ts9R3XQdEi6FcKAaQS X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ec15952-83d1-4a0d-1e3b-08dcc25b2233 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2024 03:33:05.3072 (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: cEmihjOe0McY7FiI8WOW8kfM/pW0qbR35pqS1edXEh2htBs51WvH0w4wDddmNXqthhnWvrxxs4hqSJhgNF0ktQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9693 J17 on i.MX8mp EVK base board is a HDMI type A connector. It connects with i.MX8mp HDMI PHY. Add support for it. Signed-off-by: Liu Ying Reviewed-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 46 ++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index 938347704136..f118fe8ab5ac 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -56,6 +56,18 @@ memory@40000000 { <0x1 0x00000000 0 0xc0000000>; }; + native-hdmi-connector { + compatible = "hdmi-connector"; + label = "HDMI OUT"; + type = "a"; + + port { + hdmi_out: endpoint { + remote-endpoint = <&hdmi_tx_out>; + }; + }; + }; + pcie0_refclk: pcie0-refclk { compatible = "fixed-clock"; #clock-cells = <0>; @@ -408,6 +420,28 @@ &flexcan2 { status = "disabled";/* can2 pin conflict with pdm */ }; +&hdmi_pvi { + status = "okay"; +}; + +&hdmi_tx { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hdmi>; + status = "okay"; + + ports { + port@1 { + hdmi_tx_out: endpoint { + remote-endpoint = <&hdmi_out>; + }; + }; + }; +}; + +&hdmi_tx_phy { + status = "okay"; +}; + &i2c1 { clock-frequency = <400000>; pinctrl-names = "default"; @@ -604,6 +638,10 @@ &lcdif1 { status = "okay"; }; +&lcdif3 { + status = "okay"; +}; + &micfil { #sound-dai-cells = <0>; pinctrl-names = "default"; @@ -858,6 +896,14 @@ MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16 0x140 >; }; + pinctrl_hdmi: hdmigrp { + fsl,pins = < + MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x1c2 + MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x1c2 + MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x10 + >; + }; + pinctrl_hog: hoggrp { fsl,pins = < MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000010