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: 13772572 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 D217AC3DA4A for ; Thu, 22 Aug 2024 03:34:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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:In-Reply-To:References:List-Owner; bh=YLrsex/04KcRid4rZNj2j8AEdvoQpWyzejXAOECX67c=; b=MmM1YUHMrqm6FM5ALRmy7kofpG pweLAulfaQDgDrfwZvFBmJFQiJrbSAuhhw/BGSe3IlfQvk8xgEoucT6ee3O+SgA7a2sai7TgNvtS0 K6R7kb9VXLjyb4qvuiqeZSq9HlH38ZcyDQVcqeXv1UvJk3ajhSMog+2WaE4iZEzoAHPXHLh7RE+Ry yv17zRaNC0efmN2Zri/gVglzQH2081nif5heyDK32+PZ12bsDp57Ozirx7P44d4uRHW3F2dgEaur7 M8rtMnY2Q5LOkp1yTm8EOGx+CRFkEo81TI5JJz7dGAWop8+OQJibSJ40ld0hlGaUs1/N8SREMhz3z 8WnNc7Wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgyaE-0000000BDds-3dpn; Thu, 22 Aug 2024 03:33:58 +0000 Received: from mail-am0eur02on2062f.outbound.protection.outlook.com ([2a01:111:f403:2606::62f] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgyZV-0000000BDS2-0Yiz for linux-arm-kernel@lists.infradead.org; Thu, 22 Aug 2024 03:33:14 +0000 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) 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+04LBr9fi7JwmGeRsHa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R:;CAT:NONE;SFS:(13230040)(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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240821_203313_198390_1C6CB541 X-CRM114-Status: GOOD ( 11.54 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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