From patchwork Fri Oct 18 06:48:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13841285 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 F33D1D3C550 for ; Fri, 18 Oct 2024 06:56:44 +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: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=FRYkO4XeuT3rwCKNhLiGWIQ7+KUTZeQsYmB0Pgck8H4=; b=ry9pQa7qy/I57I2W4AkBPfZIPk drB8qZfxJlnaSkPYOgkJsmM+jD/H1g2c93OePdQz2nRQ/Fc4Cbybfoba5AmtdKPZ1g4xpdRGJ9kNA les8QZktLE7gNVsJ6CvAsGW8hv625vlYeGMlCXmZTtH91HhCL8djunYIEUa39LS0diqfP25kLDY2J wlgGCKsYjBbxSTu3txos5oSRvHryhpPsBr9uL7Bq0AKnnrvFw7czr1M5KjlEXmZVFFd51LfaitBKs /cBSci9hopA8UU91Vc/M3v3vLeRpUh26VIDHBdCBA5l0l8v2VMcBo/3PV7k9gm6IVSGPY2sFho5yi VgZyMxug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1guZ-0000000HF9u-3Bm2; Fri, 18 Oct 2024 06:56:35 +0000 Received: from mail-am0eur02on20617.outbound.protection.outlook.com ([2a01:111:f403:2606::617] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1gmY-0000000HDGS-0VW8 for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2024 06:48:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Z9c9fV91Ln66V9grJqrNO56OHRRdf9eYvjqEwsLf1tWkpnROgA1CiGQlXUBsPrj/0E4V9K7I9UkgMCgR/LEDq84E+iHBaDLlf81Sf80OSMYvG3SGjhvJ5WSS/GLvk41Zw8O6D8YuON9Smgjz5GNylkzLfBLsLcMCfTOcTRgYsSowmR9Unf8/Fvc+fuYSRmPA6egBCJtojiiNKimiwejc+82wmk0SaTgvUOLSsx271MnPgagrEqknOhtjsVuHIyQq94QmClTnz4WXlLX7oBIgj1VXVGkB2TUTDiKZh2YDZvcJZCGwb4xF6Gjgtaj/tH83zfDi3XHTmwsn+l3IhNLInQ== 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=FRYkO4XeuT3rwCKNhLiGWIQ7+KUTZeQsYmB0Pgck8H4=; b=aMCNyUENoBiBZNbQAWeSK3GAjSvGv24x3+5CTytIcs1aBRRv4+eK4RUAtnyqeZ+3ng2UdQ3XSCqAEEp3olBNvy56KMkdjUJ/fP7Q6XAekhGCSwdbnkwUx1CKfUdL8S/Wg8+GWS2K7Wc4vH6pznWwNgULWaa3yjUIZty0Tfc2C9SnWOeolJTxJRM/08/JO+ACyglwWGGuahZau+k9/ddTCIm2ZWQChvxAK5ySn+ZXXVHbSPj5QgKlqDVhfos+7WimWWQxpuk9nGQruaOrDFlbFwpCbJQuKRfnwL58PqMA4DvqrjUT1rARgEPL2aUcSAdf3jl9qm+vwJGYEtxp6xru+A== 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=FRYkO4XeuT3rwCKNhLiGWIQ7+KUTZeQsYmB0Pgck8H4=; b=oDobPQYPvdWyB6vRzGhDw8Wi8ID6qDN97VQ3PPKkRJRRh9rUqvU5m/YCVBpmF8tgvq2yBpuCz4zu4OJ4t+kUCe3bRnfn6agBBw09QBgEHI9lt6jxjL86RlZbTOfxxW94h0E1ywJNW2fLqj5vhYyfNeIHk5UVv3ARMhvvbLiB1c34RaU8FGDFrmrYcgnYF9qsvwPjSBp6xxas2MEeUeFNDJSMEO6NzKsAXsFR70YAa6G/dC0tz+ntJZt47rJzF0FYQ2HFcW/nRPCUYecmXX+hvjjecnmq/TJE5cPs/Pyik9pPnJYK0M4HN5ONl4X6qGF6mIDgOCMI1Re0hI94hhMQXg== 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 VI1PR04MB9787.eurprd04.prod.outlook.com (2603:10a6:800:1d8::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Fri, 18 Oct 2024 06:48: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%4]) with mapi id 15.20.8069.020; Fri, 18 Oct 2024 06:48: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, dri-devel@lists.freedesktop.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, andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, marex@denx.de, stefan@agner.ch, dmitry.baryshkov@linaro.org Subject: [PATCH 1/5] arm64: dts: imx8mp-kontron-bl-osm-s: Add HDMI connector Date: Fri, 18 Oct 2024 14:48:09 +0800 Message-Id: <20241018064813.2750016-2-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241018064813.2750016-1-victor.liu@nxp.com> References: <20241018064813.2750016-1-victor.liu@nxp.com> X-ClientProxiedBy: SG2PR04CA0204.apcprd04.prod.outlook.com (2603:1096:4:187::16) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|VI1PR04MB9787:EE_ X-MS-Office365-Filtering-Correlation-Id: 730764db-8a2a-4207-278d-08dcef40d1be 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|376014|7416014|366016|1800799024|52116014|38350700014; X-Microsoft-Antispam-Message-Info: MOdHxs/jmgUZdu7Pe1aVgO0aXHGQu3QnseEnO+zRMtSwfOE49CGssiA0+sLBi5HDRIjl0lIIG2tAUh/nbDkVNH7Gr9BVABi0VdXDo2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DRcO0Vpyyyua44znLCC+V3MVcuXYHrdR2Vt64JhI719jViXjpNYWqjTZC6qDS8jK/K1ZXW4x28ZiwiCPwNnueuoh64cFbaNxKl7jtOr8f9hHGjQNciGvEGf1ChYZ6GaabVxkMEpFfc4TMiAsM9MpfY9ZmMdesy+CHpZ31Qlp1fmQSovYizgEwBNWFjNPrCsDY7MGGzQ3RlD2mK8Q0= 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)(376014)(7416014)(366016)(1800799024)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: INk1cOJ3Nf5w5iIWWH0pe35RY5usDkYiLAou0AyWJJJYilozbmpU1kqUFInQZWt044R3xfUQy5a8bhwtjpWZKkGQg8Eq2zBWCcdtj6mHr1iK2w8a5g/aM+zVvbBIJxsKB5WvRP4PhDcoLtAov3db1PDxODIvdxOI/hkAaGhfG7NsZIIvJScduapPdnRwRhwWhK7pKS+azybOItO22ZKOsQ30prCOsT7zkn8jqpXneY43ZE+JYppFgzasgCX3Xppj3JfGnUGt04OtBGqgZmrRmFttDCyshoLVmM79U0W6PVNDO9PzObhvFTiydAVsFkW1aPRnEdlq/mVhYmXjeJSPnRiIY9yv150byV13SbbrZCzY/dUGnAg6SztiYLke3wHv3CWDFEEA47iJmq9ctP7PZ3xagEFZ8Zc3YEF8mfFaIrUfbWyzr8V6hwcosNceKGK7a5ewXC+qPdp5L34l5jYWvneTy7vJCukMuKMgU/P6vKBJIQlxrmTqgqZd8v6OPR2EtyKd/JHM7H9qfCwitwCkiSEzlMpyFoEuSRhaRwPFghDrmQgwpaGMbb98TG5igfpacCfb6rCuORIRgPgxxaL0zpYeA/hC7kkHuMG5q6TxlK6VctLzJmpSmjDuKarENv877F5Vu7GeMxd4H2cLK+qHwTlWPC9UfkUt+zgrDihx1bIulZZ4QHemJY61JhN0O2nWA7QL6peMWVDD9wMFCAatCIhcxdZcdaKRf05/oEOQPeN64P11UbNcK2xUU7mSOetY/BHr+2rxoXEqYuj170bQbuAJo6rbR0HEz2Wo8jZzHcXJ9rCUUUDhr8nwGi5FALRwFTQJAxdQpnGWVl4eHe/tnl4Om/x1aF24OOtaThjY/Ghq1wCh5OO09XIgPRF8IP+TChQaMpw4oDxjV6aRJCxrj22ILGFYyDuSMHs1OQso2iwR0W2yXfSgzl4OAfR1aw9Uht3yiRxYT7fT74cp7TG0JDzuaMzLvpRYmYcjB/U33lhEVChINKEBPYU762dHelUTIVj6rIM1Y/DrY9uNFEf+Te8XKS2MZ18mkteAuURp53zhMITsrOjJKC0kBLN2BKPXepIn+xF4CvCOhKV1SlCXt/rINTcJVH6Nx9SxnqdFzCX5b/uBw9DPbyNVMw4Rjw267e0yIjDbHcwvN1olP3IW7CeEjtd5p2XHxVQTiJu1O0Aq2Bic1KATHvnr1cmFXvoWyeNfWcZGYVsEFqlF+ak/+3akWdBJs/DQ/oQr+2e/MjgvfGqkFDPmjhI9orZ4QzKG478vMIAPbCistkvzRf0uOObC6ThFplt1dUzZcAIR4jQuyz0cfKq6YTS65W6ZHtwy+zORJ+Yblh5cnKFyBhP5ugDbMzUEYUut6EGfKUWL0rwbgZMSPJ8pKmciuRSgZykiRKcWvECzaDzB9QnxxWzxp2jQm+cXZi8sohD4dQO++oGHChiBPEz2H77S5Xec/S/6Z1jQ6URWD7WEx7dUMVfzpivsaOhTqbHdqKUgG5eG3XoIUUbuYMQKFsxhzIKxjXgHAA60/0qGRzC09jslb4i8XUhKSregJjinizvmUmd9oQOEGdAFc5YD3pVSb8ofDNcQ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 730764db-8a2a-4207-278d-08dcef40d1be X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2024 06:48:05.8758 (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: vtkYRw30Lj956rkvrV3A4Wm6aegexvTLf+4wQWcDlh4mWvZC/+ZlDlm0qpppvWIY5EoDVcnqzLkmJHFjxTIuQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9787 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241017_234818_258805_818627C2 X-CRM114-Status: GOOD ( 11.68 ) 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 Add a HDMI connector to connect with i.MX8MP HDMI TX output. This is a preparation for making the i.MX8MP LCDIF driver use drm_bridge_connector which requires the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag. With that flag, the DW HDMI bridge core driver would try to attach the next bridge which is the HDMI connector. Signed-off-by: Liu Ying Reviewed-by: Alexander Stein --- .../dts/freescale/imx8mp-kontron-bl-osm-s.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts b/arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts index 0eb9e726a9b8..445bf5a46c6a 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts @@ -23,6 +23,17 @@ extcon_usbc: usbc { id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; }; + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_in: endpoint { + remote-endpoint = <&hdmi_tx_out>; + }; + }; + }; + leds { compatible = "gpio-leds"; @@ -168,6 +179,14 @@ &hdmi_tx { pinctrl-0 = <&pinctrl_hdmi>; ddc-i2c-bus = <&i2c2>; status = "okay"; + + ports { + port@1 { + hdmi_tx_out: endpoint { + remote-endpoint = <&hdmi_in>; + }; + }; + }; }; &hdmi_tx_phy {