From nobody Tue Nov 26 10:27:36 2024 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2072.outbound.protection.outlook.com [40.107.249.72]) (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 F346F185B6E; Fri, 18 Oct 2024 06:48:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.72 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729234090; cv=fail; b=CtK2j7pQGmdTaRfE0SvwJJzJc5k+DEmhVL6S5UkLuuS7NC2JHYMxckqsk8381Tv1WnDellPds3GibYhKAD3Xq/mzrvnMKwCrv9rkC83nL19XyuccfqbbrXIee9uzdnwncUG8z4rew0u8fMbrsfXS56yJF03Zwy9bRMynrPlYq4Y= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729234090; c=relaxed/simple; bh=0r0RwwWvf8041//bkUImkBwPuUiRsAHX6epvDnfkhnM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=FOSblYNtInf0XyqjI5HO3xAizNrPKjgsIfDuUhhVDt2lBaK1Y/Dbzt18QoA70H7vzP+/JWtUhh8c047zqliNN4tKsM8kI6RoTLh42sBsLKRFl/VHTH/fYx1D9N23JTnqvujftRM055hZFTbsXdOUf+Vyc02aXGp5CPb5PL3C8XU= 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=oDobPQYP; arc=fail smtp.client-ip=40.107.249.72 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="oDobPQYP" 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> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SG2PR04CA0204.apcprd04.prod.outlook.com (2603:1096:4:187::16) 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_|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: =?us-ascii?Q?MOdHxs/jmgUZdu7Pe1aVgO0aXHGQu3QnseEnO+zRMtSwfOE49CGssiA0+sLB?= =?us-ascii?Q?i5HDRIjl0lIIG2tAUh/nbDkVNH7Gr9BVABi0VdXDo2YZcQ2jygPqH+h7MNw3?= =?us-ascii?Q?IhzXed3GuLCK3K3ObK69Zt/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?us-ascii?Q?jwzQiF4dG0Ibmdh7mru4lVBmI+nm29LD6t5pvDjmuEdmdjc/KL8nQhZz6Dlt?= =?us-ascii?Q?IcAvqoShnDPyjcBU55LsgzrboNfnk3ByLqJPorJ6hse4YE/uQAqlqy0MUcRG?= =?us-ascii?Q?EK3rd9kr2THEJ+hFLfrRlwHoPJmZZGEzskszV2DRcO0Vpyyyua44znLCC+V3?= =?us-ascii?Q?MVcuXYHrdR2Vt64JhI719jViXjpNYWqjTZC6qDS8jK/K1ZXW4x28ZiwiCPwN?= =?us-ascii?Q?nueuoh64cFbaNxKl7jtOr8f9hHGjQNciGvEGf1ChYZ6GaabVxkMEpFfc4TMi?= =?us-ascii?Q?AsM9MpfY9ZmMdesy+CHpZ31Qlp1fmQSovYizgEwBNWFjNPrCsDY7MGGzQ3Rl?= =?us-ascii?Q?D2mK8Q0=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)(376014)(7416014)(366016)(1800799024)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?INk1cOJ3Nf5w5iIWWH0pe35RY5usDkYiLAou0AyWJJJYilozbmpU1kqUFInQ?= =?us-ascii?Q?ZWt044R3xfUQy5a8bhwtjpWZKkGQg8Eq2zBWCcdtj6mHr1iK2w8a5g/aM+zV?= =?us-ascii?Q?vbBIJxsKB5WvRP4PhDcoLtAov3db1PDxODIvdxOI/hkAaGhfG7NsZIIvJScd?= =?us-ascii?Q?uapPdnRwRhwWhK7pKS+azybOItO22ZKOsQ30prCOsT7zkn8jqpXneY43ZE+J?= =?us-ascii?Q?YppFgzasgCX3Xppj3JfGnUGt04OtBGqgZmrRmFttDCyshoLVmM79U0W6PVND?= =?us-ascii?Q?O9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u1O0Aq2Bic?= =?us-ascii?Q?1KATHvnr1cmFXvoWyeNfWcZGYVsEFqlF+ak/+3akWdBJs/DQ/oQr+2e/Mjgv?= =?us-ascii?Q?fGqkFDPmjhI9orZ4QzKG478vMIAPbCistkvzRf0uOObC6ThFplt1dUzZcAIR?= =?us-ascii?Q?4jQuyz0cfKq6YTS65W6ZHtwy+zORJ+Yblh5cnKFyBhP5ugDbMzUEYUut6EGf?= =?us-ascii?Q?KUWL0rwbgZMSPJ8pKmciuRSgZykiRKcWvECzaDzB9QnxxWzxp2jQm+cXZi8s?= =?us-ascii?Q?ohD4dQO++oGHChiBPEz2H77S5Xec/S/6Z1jQ6URWD7WEx7dUMVfzpivsaOhT?= =?us-ascii?Q?qbHdqKUgG5eG3XoIUUbuYMQKFsxhzIKxjXgHAA60/0qGRzC09jslb4i8XUhK?= =?us-ascii?Q?SregJjinizvmUmd9oQOEGdAFc5YD3pVSb8ofDNcQ?= 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 Content-Type: text/plain; charset="utf-8" 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/ar= ch/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 =3D <&gpio1 10 GPIO_ACTIVE_HIGH>; }; =20 + hdmi-connector { + compatible =3D "hdmi-connector"; + type =3D "a"; + + port { + hdmi_in: endpoint { + remote-endpoint =3D <&hdmi_tx_out>; + }; + }; + }; + leds { compatible =3D "gpio-leds"; =20 @@ -168,6 +179,14 @@ &hdmi_tx { pinctrl-0 =3D <&pinctrl_hdmi>; ddc-i2c-bus =3D <&i2c2>; status =3D "okay"; + + ports { + port@1 { + hdmi_tx_out: endpoint { + remote-endpoint =3D <&hdmi_in>; + }; + }; + }; }; =20 &hdmi_tx_phy { --=20 2.34.1 From nobody Tue Nov 26 10:27:36 2024 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2082.outbound.protection.outlook.com [40.107.249.82]) (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 F1A9C18CBF7; Fri, 18 Oct 2024 06:48:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.82 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729234098; cv=fail; b=rwl0osQAbH91A/G4zaJB29yLbdMfnR7mN88UjpYF2WRbyoWnV7j/iwjj4oxoZPGgh/UClQ7zhgPXchoQqkY6V8KO8+U5OGp9wT3FE+BqagR7PhlfaP7KZv489ZcEV2r9VBIcsOZ1NYMoUDxTbxaw9LsegDWhJ+Ix4iPu3jBzU2s= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729234098; c=relaxed/simple; bh=gPkrNMqqms+Uk+Lc9OPchoaR6AVWxCRsk0OWk8C5Va8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=kyS/zm63fbLjNPLa8oOj6hB0psoSTKi209nLoNJuCoQgE9lABljwopVq66s42A+K0yBvKH61RO/mA7WJJ8Dv8gSQqBE0jZiWpd68esPeHpwBlUXpKoJ0LTStFwxyFCjmxWvBLxqTs1Io7UjhfmKYo0ZzWKyMgM7VnyBqCPq99/M= 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=YvxLUlp4; arc=fail smtp.client-ip=40.107.249.82 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="YvxLUlp4" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aQBFvPu47AZifUWKUM72qzRb79aJ/CjwHkZKjRvyOaUPQSm6ajOt89GAwrjvf61Me4LuNF8MNiQ5lBNLLT35fda3ctR38Eug/UNEy0R1kYuyzGFeFAMWlN7nuFEej9mNzDfuG49vDQlWU9tEelqKE6+wjey/7BkmDWKsOwxbJf1RfMakpokwHdUTsicb5kXHUb2xlxcNdJVsy//8bjS5HLNfHNiMfthiBfQSBn29pcMrX7CU44ZdACnFxM6wudYKhBjHCXcXg4XQFAjSxIFrH+DGsPRi5zK02qcSMtt1lTqqZu6teSs9mDZ36ADgxuCR2MwAnEUmrUZ0pJ2wsyBEiw== 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=oWnw69pJ0GDn19WSXkNgUc8LYyVFhZuLTgU+xiN5Wjg=; b=YkciaEG3CgvLfuuX5vXReYIg3KFM6BqHTtLts3RmnReO/LfOabzOD+1FW7n9jKsJwL5EXeW9oDXT2soTJAD5Zw4i7NKUWpVdzfwq9ZWGi53OZcchlCR8JwMTtzowKSMNtduzfPy8Wz9MlRlcaf2ti+wcKXJ9PEVWGaRMWUMKrUWC2/FE3JPHUN7cRDghhNt6Tc6Suh91KJur61nEIcj51a3Megsz0YNhlEFbT89gzEKHSEUluX3QUCZt/9BEf2lpCtn/AlB13VGznnXDdYU7ogdiyWoG0p5AOXywdFazOd/cPssOfLy1Ov3OnFF+WsxoC7qMLQB6eheqU0toENvu/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=oWnw69pJ0GDn19WSXkNgUc8LYyVFhZuLTgU+xiN5Wjg=; b=YvxLUlp4O0qVKlXGmxMQm/pxN4xA30vhmGEi9TY/kJYMYk+Hp56ogw7ct2pv6EvsTQfdnmcoBm8s6dEz22GMLu7Ren7mxaPXHMcnKN+ekeB0+WxTNUf3IhR95p1attG/+TRbOtq+HB7iMLD2TNHn3KMDvL2t/Sxk6MzsxhDe495ibjQe/CHrtDpdYo+oE/eUzyjzI9kG1+ji644v/Y4kPeKBe53JhFhIGCpRKtU6yx/2paT0sZyiBWvl5AMUmbNoCLfy0IzegwFEIJ0rVdybjWVRatYJ3etiCea+HaZJai0M6mMGKl6JeqwQNs7Hoyx2fANPmwc02+k6FzsyJaS4JQ== 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:13 +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:13 +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 2/5] arm64: dts: imx8mp-kontron-smarc-eval-carrier: Add HDMI connector Date: Fri, 18 Oct 2024 14:48:10 +0800 Message-Id: <20241018064813.2750016-3-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> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SG2PR04CA0204.apcprd04.prod.outlook.com (2603:1096:4:187::16) 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_|VI1PR04MB9787:EE_ X-MS-Office365-Filtering-Correlation-Id: 96199735-7923-4814-00bf-08dcef40d60a 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: =?us-ascii?Q?XRJL2n7EAOTUUsVqfcTlEmo9QjOEDGJenojMX8Gj7mAb8TubIYdF+9p0tehg?= =?us-ascii?Q?E68dIC0B2RGqjW7Ya7PyUuUVtNbbmiFE5t9+6+clirNQVhi07lem3QzeGArt?= =?us-ascii?Q?pCytE6tJ4Pr7WFRds7ygwhLl0WFr02dZY4G8uyBb/AXkeca2mGFZgFIQZbL8?= =?us-ascii?Q?bgcKHz1ujMVyDhg8lXiWsoIv4kIVoCw1N8BuW/nBOuxawbw6Sd0tx3lddHIR?= =?us-ascii?Q?8gd0QP6vHp7Mc5WAoEUDpS1km9wJs9Elu+NQByk1wKdn71B1xv8oWRVLrKMC?= =?us-ascii?Q?SXYpMDKdAxfhUAHq6eh5xsiW+5o0dSd301owI0fGzffizWcJK+PMV/TGMt3G?= =?us-ascii?Q?ZtW0VTboPjRYSWW6bMQV610eSC6MyUoPJy8yD2vHFHgTRcDytSA3bdY7rakt?= =?us-ascii?Q?jF4xRwLw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scSGjKV3ribf6lYRayf?= =?us-ascii?Q?jioZy4H+jtgQzynYRmEMdyfuEXx9x+dMBp6YGr5/bYJK3JTqN8Y+06UXJEBz?= =?us-ascii?Q?FvAb7Os=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)(376014)(7416014)(366016)(1800799024)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?2YJh3tejL09Z/m3gIYgYh+bLQ0LrbKsPK0Gs8J45unu5YjCXk9jWc/nr0m9A?= =?us-ascii?Q?fF2YFI2IuTJGyM0wOZY2ac9XToXeGF2WbcRfSRZHD6FsiekeX7Ps4kvfiOQL?= =?us-ascii?Q?I727aDZkvfqhn9SgUgnwKFoIAHiy4TwrmXnV3iHp1yhxCo3M2bVuvFl7oDXr?= =?us-ascii?Q?oLXELHwfDzt6ceUaSwRciUT2kcNnucTo7jEMtT6/k96VI8xA3UKQqgcofwNt?= =?us-ascii?Q?jGnCqQYLk/JgslNwYFEQHBPQOU5CxkvsH67P0Anqlgm4yPH8pNtYtwuqQZeM?= =?us-ascii?Q?IBPwjfZlqR2K5SLz6XJvPiJULkW8a2oBXQxoWFBCmUeCJ3UbvnfFKv0+laU1?= =?us-ascii?Q?fpROKhkm61hN2YrYoGwJ4RlgGh6XV04whns7D9S4sgtiOJ+MsXb5iEhkswbb?= =?us-ascii?Q?SYONWYY9r04M3k/yhXsOhVRs85VE3SvWe6/GWsgDJ7hwU/v1l2iaU9qUdQx+?= =?us-ascii?Q?sjkA3Rn39InJ4egjyu2VDi0XKRvEr7aOcuO8Mxcyivx7Oqklb7DhgZD4OTZB?= =?us-ascii?Q?rY1FWYelSG28k8z2zf0AiA0uwm37AmQvlW9ID8blPQxRgZczRL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cxVkJFOsLGpKFOKdTuDCzL8dKd8q2f2dw1taGS8bbNQzCcUxp?= =?us-ascii?Q?aulW5EBmAFEIQ5rnigUwpnSpgLQASANyFjRptKsIJ1wzNK0Vsym12MoiVDCV?= =?us-ascii?Q?J8cH0W0ExKXYYeHiBP6br3m7pGSyZYhH7VZySAt+?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 96199735-7923-4814-00bf-08dcef40d60a 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:12.9526 (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: 0+GBaKT3B8hse/hOq0dD1Vee87uVwMw5hdbHXmJCB4cHq+Y1mL9Cml9uIoD1lyvjW85A2lKyrueKmRAvD45VAA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9787 Content-Type: text/plain; charset="utf-8" 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 --- .../imx8mp-kontron-smarc-eval-carrier.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc-eval-carrie= r.dts b/arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc-eval-carrier.dts index 2173a36ff691..815f313a2d33 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc-eval-carrier.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc-eval-carrier.dts @@ -29,6 +29,17 @@ extcon_usbc: usbc { id-gpios =3D <&gpio1 10 GPIO_ACTIVE_HIGH>; }; =20 + hdmi-connector { + compatible =3D "hdmi-connector"; + type =3D "a"; + + port { + hdmi_in: endpoint { + remote-endpoint =3D <&hdmi_tx_out>; + }; + }; + }; + sound { compatible =3D "simple-audio-card"; simple-audio-card,bitclock-master =3D <&codec_dai>; @@ -108,6 +119,14 @@ &hdmi_tx { pinctrl-0 =3D <&pinctrl_hdmi>; ddc-i2c-bus =3D <&i2c3>; status =3D "okay"; + + ports { + port@1 { + hdmi_tx_out: endpoint { + remote-endpoint =3D <&hdmi_in>; + }; + }; + }; }; =20 &hdmi_tx_phy { --=20 2.34.1 From nobody Tue Nov 26 10:27:36 2024 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2048.outbound.protection.outlook.com [40.107.249.48]) (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 3B83417B506; Fri, 18 Oct 2024 06:48:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.48 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729234105; cv=fail; b=GscOPdTVlJKf6NjfRCaa2NXGppBbCVbpBC24ESp/yOSvZoCNzclT9MGN4Un0vF9gu3QpEvJKXNKzu+FOHo4g8nXBqQNgqQylF8PJk2VMbX5s20l+7UtL++Sn4YLD+O70VqE9Vsf4qLw68Y/PMdm3lt8s6wTTN3CPSGu91GpQgQU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729234105; c=relaxed/simple; bh=je5M/qFybER1RZ6YRcuxJmpD5RAmeDtDTU45nOkiHsY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=m80f+MXfxjZGG5vblw1fhRyYX/bg1E4rs9CppbywMAZcD1y72D6eG9oV1BZ5pZVJUuEuxRQNZumi0Dc1+9DCvv281UeCG+bK+IW6Rh3OQB0VcxDRHNduod8DpWafB39UpKWDF/VhRVH+jHO5GyrCSdaPgwnZQ6nQwh22owhljSE= 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=Yals7A6q; arc=fail smtp.client-ip=40.107.249.48 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="Yals7A6q" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Jm/cP8OlLeszRDKGkISguUHN70/QwZUwxNLJ+ykXHwmybWV3LAR2nAU70slCmX/EyMgyeQPrJ3cEETKhJhmR5fyKupKOGXe/pfd3GHkxjbiV7oUb6VRSNulNMGOLDYn1q2e64GVYi15qAmi/lRq3wcWcCGaecepRFeeKchUUZs9mFo4h5sGeNjZX1iKTfHzfCvlCfEdtgHL761iCPZomO4OwzKmsrYvkuy11/YxrPIeWOkzR8igrSPrje1xDbdQc9fOE2D1dBvV22dLHuKkbmP3TrZTqHEj6V9CqHOEIOP2BidcqLm9tqGY4nBmnzAUmBVbjwbwJhGn0tDnfuqv/Ig== 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=Bpbtb0VMf5WoGkQelwI9N+g0tNZACnnCkXDW8hyGLPI=; b=RRTkh3jvD7B1BK1UYaX7w6ZFvnzYHQB0AB2FP8/WzWQlJOMrrnlF1vb99B781s6a4eUK8jJG4zOMZNauLcsBOiWv+yn5JepC9b80kO9ZtN8yQdvy6wAs8TTmqGGPQv5BS4uy8yT9+g5Jr8EhavztP90JPUI0EPygFOV9e5WhTnLYcfIfAkZWy1X+L3PYFm2BCvyCvFJN++sRIrU6ZmvMod2t4pdZ5Z9Ii1wfIk0oUEsGlv9YvJayPYRnX3aA4XPjIj/md729iXS8jD3aUxGF8jtsF+YdjBbwbra4TgnSyt3SskpwEH8cNuC4r7Xnsc3vKUFLPCP68c+6DEGS80aBmw== 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=Bpbtb0VMf5WoGkQelwI9N+g0tNZACnnCkXDW8hyGLPI=; b=Yals7A6qUoVsXR/Y7C3XDXXS1SOvt+EwGPKtSpf5xMutJYVYD54uQzGEm2k7V4rjb8GkWK4j04M7wD1Mq497QJNU5v/pq6rv4FsyIqBTQImSCiwbvpCKTN632kpVDjCLjD0ute0krf/0A3UlH9NAbgKbjfmz7pO3SOUuZjlGwES1Tm0N9G177RVjXOIYOcGaavp3Yrn3T1cOUpJn5E9jh4kUNw8BEgvg0mR3a6IRUrKd5N9CxsNHQVDkw4HRftuiPwBbPxPpZHRgzgI5ijHeY9+eIvh1kbeeb+yA1XFzehz6/NcZjiMC4QiTr0w87/Dc9nixmNJQPSzZSAxlfzLaLg== 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:20 +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:20 +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 3/5] arm64: dts: imx8mp-msc-sm2s-ep1: Add HDMI connector Date: Fri, 18 Oct 2024 14:48:11 +0800 Message-Id: <20241018064813.2750016-4-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> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SG2PR04CA0204.apcprd04.prod.outlook.com (2603:1096:4:187::16) 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_|VI1PR04MB9787:EE_ X-MS-Office365-Filtering-Correlation-Id: 8c37aa7e-1595-40b3-6320-08dcef40da71 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: =?us-ascii?Q?DC+hjYyypfc8mn8WUcZ3YZ5H9A5uUTn5P0bK9dunaBFkaAWMogllYAUC305Y?= =?us-ascii?Q?xdV7eF+MG9DayCtdFtYDIMxv1Dh8kfO4qtF9R4Vw372yVPLk9cK6Iz6jIptT?= =?us-ascii?Q?RbcmWo/B7qHrCzKzKUGnMDxs6SNs8uF54Mw0HRXKrdS6LmbBHv82SpiU1OwY?= =?us-ascii?Q?q0B8vH+/Xl9hEsZ4T19cbZsOFx43yPOriH7EfBAZ2srpJevCkzd08Ilw/peZ?= =?us-ascii?Q?2vgVMXUocP4B+Ok6xgJBUgJNvksr0l/KgtghtBraAahDFGkxY5R+3nrARdH4?= =?us-ascii?Q?jXwsdF/ug1GJki93+0G5vMCWGNd+T44ziC3/cbo+9cJuB8/hKuQm9x8XLOYe?= =?us-ascii?Q?6luiYKSxSr9WtQcpqON2ltIKWOhhm4gyKmU4gzzM+WynADxN0fuamTQiMIEF?= =?us-ascii?Q?VxW/JsSr3wM/x+DBykPL5LU01x28WZWKMPlzufpAK1bIjyhSsgU1uCCryNj2?= =?us-ascii?Q?7pQK9Va8BNXVMZiyyt4Ud2/KeDijrREsFby+FfzlKNZ9cHsKVaBMNqAScX5A?= =?us-ascii?Q?+zAZV7yPW///WNrCKg36DXxxRhbO7yDrbA9NPY8EuofMFjdkjkgsyRumgG2N?= =?us-ascii?Q?EPM5Lp1SVoZKBT2BVIBRTNp5RuSJc/6LY5gfQ6ZgCrNJ0QsC4B709STPgEMO?= =?us-ascii?Q?uXz/KBQL5WXhsCSx8hp7m3QYQkw+eR0Oz9G0AF1MytybhLRdmnWzLSRQKpVr?= =?us-ascii?Q?AmyS9js9q7PoKlw88CH0KqEfeHSwah/1zOsUOY6huAZAeA2avtKzN/BEXnCF?= =?us-ascii?Q?OOwnyL4ICAf9TQkmF6QdkaIQ5ACaUmfn20QFnYdKIAO3EwvLo4H/0J5+GYl5?= =?us-ascii?Q?dOk6yF+AfGKW1VC5pizTqNlhwFtWPA12rHy+wb91/zhHDKIpH/C7L5W1aBmk?= =?us-ascii?Q?eGBlXNx0GX5ZIV/KvPRqYHiLe1NR9VpoW2UekB/2Wryl9QsViwIPHL2G5OaC?= =?us-ascii?Q?gvjkV/7Ik+2jRn9sQTnDBNxjLPEfAMt+moXBskVGlar6E2XuEbBr3lhI5mDX?= =?us-ascii?Q?3GA70lSBZ3vOBy8JVfCgelwLnJKe3zt+y/0Pp3hAGX9GViCMz5iGSIPT0hGm?= =?us-ascii?Q?s0zFisYDuT+2oMQQ6gk5xrGlTY7R0t4Icm4IElxlBBXFSi3y29l3m8lB7/+u?= =?us-ascii?Q?MZdn3b4avs8emV+W2SRVbFQFff4PiM6dupaxxr9iX+bCkbiLHHZmze/rI8m2?= =?us-ascii?Q?QtVlCxp5R+O/WpgbK8TaN1/M6Ye8UZAlJct8j5e8SjNXuKVb4L7kQkSNn/ka?= =?us-ascii?Q?mwz22Y4USPg8AzCh5DxxMb3MMbMzgpwc3uZv0Vx6hE5DmYpMRyMWP8k/jqYI?= =?us-ascii?Q?r/qWwIOIwUtypDAoMWpgAnfLPCm8wj6AHInvdlpN0KEgao2Rpg5Adtp5NHmF?= =?us-ascii?Q?3cABqWk=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)(376014)(7416014)(366016)(1800799024)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?DSTLyklTSlIqss9l9yLqA7bUy8mYaOb7MOtsJQjPBBus3dRrbDxoP2IfZNKB?= =?us-ascii?Q?5CWP+j9thGQF9nJF7sMFCbAfk3/lOpAosQSsxR9y3mArYsVSxVTxPvln3h3M?= =?us-ascii?Q?rlsk/XXixsdH9EXmzdYopYys8Cc/IrwzOnva66I1Re8dj3ophH7YizlmB6PT?= =?us-ascii?Q?Lr2DHheSHbU9i179vngFs2xCed6fSxEP00v1YeIqtzeEtuMzk0LpdQp2lZIO?= =?us-ascii?Q?llj9GTNoh5Br7cOFC24So3eWPellpQlZdFGSUttgBWI64NbO+rQvPrSd598y?= =?us-ascii?Q?RAryfFzoa2ug6pVJ7Y+A/ELAg04IUP1Be/9M2/TBUqE7fQzY22eAjo/6t4Zm?= =?us-ascii?Q?+7Iewqe3CKjddnMZvnI47rMz1hF63gnAjZCizatRZiGNKd9aQuVnioMw810+?= =?us-ascii?Q?BqMmknjF7UdgSYx1dMmXw/+9DxHC/Y/QoMhJhnU2dWzoZfcbka140i49G6BI?= =?us-ascii?Q?Q/keISn5pJUGL44OTvVyMzzkdWPvYHF8NJkxWtS9JkqsFnreWbCU60eclPZL?= =?us-ascii?Q?w2MxOUtb1AZnTfMUdGLSZ5c3vDJGCjL1ZzibsFmj/T3TqCq7gwFGVTxgN+he?= =?us-ascii?Q?UoyRhVkdderPGk0vU/CQSh1dxL44HdgNoqRluTkCQxQVl1vKP+B7lGCVyojs?= =?us-ascii?Q?9UDAyoBYuAAxCyhKDfb0w+kjl399S6HXuMt+djqqQZkytF5GQ6gQMPjShNdf?= =?us-ascii?Q?vsfpswsfdnyYq/qLOCytiiv0LTg7yHYixk88Nhy2zEwnjVsOcnO0yx2QQSR2?= =?us-ascii?Q?2A+3ohKYFWbP79X9LZ3PiaIk48XMRP04K2lThwi4TfRQogbCIJG85PH5hoLX?= =?us-ascii?Q?6Oo61ZrnGock1DKAP30A81Nc4WbkZpTX97Cv8gtG33vZmWTTUKcO0WNczwSK?= =?us-ascii?Q?LAwaLRrI1Jr7pZuKTDL80o3vDsDN9eB5bFSoiVk3C0Qo4FLCpXmnF9wD4g8w?= =?us-ascii?Q?qR/Osn1EuCb/XMS9/2hOmOCcA2e+vFnFTsJdD2o9qBtbEAGDmhvD4xwf63Jc?= =?us-ascii?Q?EBNi2ayc4Ctl0wmoIbsY+Loxp6fl9Y7WUH6naA147kX83gjnpawM3wfUNoef?= =?us-ascii?Q?4qc0eseaV1MnbfXpegH6Q4FT+A1Zpc6sgIhyINnaNfbyA1lQJS0UgD7nkfcr?= =?us-ascii?Q?HoG2lKQHq7g/gyQjSRa2G+UIg9lqr7rk5S3jHXuotCu8RySdSPw6OVlTBJ9a?= =?us-ascii?Q?U6+Q9smEUXJzvFthYLfThcJyOFx3oamaRsTBY8WxVzkQ/uwU56vX3mh9aIOl?= =?us-ascii?Q?Z15905EsrX1FbD03isr76Gu9vt8CLWP03emUsEarK0dVVuK1ti6GXimGlb8Y?= =?us-ascii?Q?dZXaHJwNt7GGYD27jksIjLTZehTyGVxK5j2Eh9LlMakLwyyHv31Boo2l1uw/?= =?us-ascii?Q?wpVy92+wO9sF2Tu9rBkbUmZJeGZCagUgVkOHhqNwfXL/PrsCWfBWHkVkVoMy?= =?us-ascii?Q?vpkT23eOviqA/nTrt6vD4ARIKz7KaMtcA8KNjJTdefekYUZaEtlW7NToVydX?= =?us-ascii?Q?lJKXinTeKOsEDPCQ1C1B5ntYW3m88RUVC+z+pkU+upnFgeoMLksCdfpenXDi?= =?us-ascii?Q?byXEOReTgQTelvVvZ4usiaglrbwvLEtX6jQZMqp0?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8c37aa7e-1595-40b3-6320-08dcef40da71 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:20.3437 (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: d0hwBtbOFm/rkGMtLORMyc3yqUpUPIH06ZGnok9LAi+otznTTeH+ece35yLTqmJCnfey0xeOVaKAeUQeb+zCkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9787 Content-Type: text/plain; charset="utf-8" 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-msc-sm2s-ep1.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts b/arch/a= rm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts index 83194ea7cb81..b776646a258a 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts @@ -15,6 +15,17 @@ / { "avnet,sm2s-imx8mp-14N0600E", "avnet,sm2s-imx8mp", "fsl,imx8mp"; =20 + hdmi-connector { + compatible =3D "hdmi-connector"; + type =3D "a"; + + port { + hdmi_in: endpoint { + remote-endpoint =3D <&hdmi_tx_out>; + }; + }; + }; + reg_vcc_3v3_audio: 3v3-audio-regulator { compatible =3D "regulator-fixed"; regulator-name =3D "VCC_3V3_AUD"; @@ -54,6 +65,14 @@ &hdmi_tx { pinctrl-names =3D "default"; pinctrl-0 =3D <&pinctrl_hdmi>; status =3D "okay"; + + ports { + port@1 { + hdmi_tx_out: endpoint { + remote-endpoint =3D <&hdmi_in>; + }; + }; + }; }; =20 &hdmi_tx_phy { --=20 2.34.1 From nobody Tue Nov 26 10:27:36 2024 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2059.outbound.protection.outlook.com [40.107.247.59]) (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 A4109187862; Fri, 18 Oct 2024 06:48:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.247.59 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729234112; cv=fail; b=KZ9FEmTiEAe/UXDYCTW5M5g9jxJ0i5llxA1CnO1YO8U2rKDTz4tv3ac/dXHNBVSRNDTc06HQflKTdkwn/GNkxWpD99AdpFnQUWE+ITDtwxSl1El9uc+hYmnErRuN6uT/y7aAc0LCprhpvw1a30zE4jexM3GkdQyVR2+rTwW9864= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729234112; c=relaxed/simple; bh=pUk85RTO8g9tJAQvi47xnht/yYf8wQd/Tcx8NgQwzFk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=MtYi8JIXPxZ7hsKxNtSfU1Aw7Py5RTXWpXoEP2LPU9EqSCp3tbp1kk7wgppfbaC4urOzaIQ4mpEoCD7OQepbT/w3zQtmhnnR9kO6lDZocxc6+8V9qdQogpqpeMSVT1WR0YytKbDLyXCokxodAJ0ZrHEX5PmiQPH/QFMgxZcLrpQ= 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=FMMphAzP; arc=fail smtp.client-ip=40.107.247.59 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="FMMphAzP" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=h1cKfcrXmWW2Dc/IJGnQpoYG2xbDxhAMQJOCLBzIxwcpDXg2L2hvAkFORPfeoyBAhW3NWuz55bTTjjhOnLYH9L1IBXFQs3Hj3lRfhjyiSN/Q6fINCdRR2iv4skfuMnj7QGfm7lKDxvPtWZwDbj0ge6dXeLI0szct5Hfc/utYfciW7FwN2lreaHbLo5qKC78TEbeMQToEx5OTHKJBCbBfkXfTzjlTcJTQvqW4VPPDXySmP7CiyB28zkDoYi1TVM9jdqXuOasvuz9gIvI3YHIx431zib89qbewgUkyg9g4pzwFnl0+dVzf6p3MOEWYzv54ourNNBdeESL85xLdAhyo9Q== 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=xkig8Rz3Nj5INvfmz2K5a2hDp0CUsdprbyGqeST/rWk=; b=hqPgGTjciWm7mQyX9NwwLHeFf690bUnLWsKMSobSBFeUaqJqC0bOarVuXnwV3I0fbrAbNhwdREJKsW+BMwhJsE3cg7C72aHlKGdDiTVPBy0M9OlAQJwikny7yC0HMGkVIRHWZf4HXhMmqXsiKqk6tLeyo0ZAvBWIRc0DsAtF0RyAA2DzEds6H00gWhdPhFDgvO5hnFdfhJ7hE07Zs4SNPHXXxKD2I8tYLtw05+G8udIYJ/0moEPxF33nBpMZolJC5lHKnC4JbusdUSdGtiUTR3Z5rv8fzPSNu05O49Mxn+fO/s+1yJSOBuvIlIJutvPxeNV3G8Lymi+ckJkyF6Sp9Q== 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=xkig8Rz3Nj5INvfmz2K5a2hDp0CUsdprbyGqeST/rWk=; b=FMMphAzPu4Y4LS4BaKdS3aw3c3dq1tzmK4sTv+uu8wCb5hURRf2PnBuk3wZS/Tvxy08FZGq6lcV2zNW+XJ4X7szKmD8RjPUSK3pmMaqWJjEku4WNndRA/h+zO7/2b4uw2ITjMdDa6IJCavJUHkshCrD/LCrCQVyo0pKc77eF8h/SlcuUcWHL3vMKhO8tAqcJ6CxLbiwgoQX+T0qhR9YIp4sQlcQxticAFKJzksFGUKRVmyIgcLPlqMxiWH/TJmxx8FD3YDyryJOz3Rmbb0RnP0sx7SHGquoZufG7XTyFAT+ELFIsK2AhrQbV7KsH4Dz777XvRWLPNwIy/s8+DzKSIw== 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:27 +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:27 +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 4/5] drm/bridge: imx8mp-hdmi-tx: Set output_port to 1 Date: Fri, 18 Oct 2024 14:48:12 +0800 Message-Id: <20241018064813.2750016-5-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> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SG2PR04CA0204.apcprd04.prod.outlook.com (2603:1096:4:187::16) 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_|VI1PR04MB9787:EE_ X-MS-Office365-Filtering-Correlation-Id: 6dfaa45d-453b-4296-16bd-08dcef40dea6 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: =?us-ascii?Q?7jjWwhyPIO5KUWb1EEU2sQn4mdbnSXJtF4Vmt3WkspumG77fm+RmYZkZbbuZ?= =?us-ascii?Q?7Ro72BX9WrVzLGu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/G00?= =?us-ascii?Q?oIbSm0v2mtHKVH1bPEIsGULoAJMHVUEJcCGEtAsF+tTRqQxNYw5pK3KJZiTb?= =?us-ascii?Q?pKaynsT8Gy80lNJ6aNI/HwS3WRZbau7cCYhV5w4f08mODzAnXkq0x7yl+1Y1?= =?us-ascii?Q?RqHULG8/unD41ZIYPV9dWD/U/Xxb9WuAGBxlgvoNB++fRHexN/ijUKsXb5Gg?= =?us-ascii?Q?Yiev3tNYJsbJFR3S/McZJD13ajAc824EGwl3l+9vwTWBEdWBZ+ZykFf+SCFI?= =?us-ascii?Q?3hTlarO8ekg+LiEI8sv2pU0pMBcUFrhl8mNOr2+UHDCwXiirbtGjRoSSnYSx?= =?us-ascii?Q?Zcy7zsD82ut6mxs55ZneMYdjHx+WbQqhdU+fOjEWYvxYDlqCL0D532vscBwf?= =?us-ascii?Q?D0D8HkB23WRjm3KKGH9Y1SlxizdFJaLc/WSrnpcULJAlS6ZTRMTrscx63iVk?= =?us-ascii?Q?Dpz8txg=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)(376014)(7416014)(366016)(1800799024)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?+SjrrMSKpdf9ChZr88VQQhVINedeZ+IktaENGGfsMXuaklv5Wu/Eyst2HUKx?= =?us-ascii?Q?8wTkLdDp0qE1KhCCXDUcekvNf1+8tREabIG7w47ZahOGHl05IwLTUIBkEV45?= =?us-ascii?Q?PrLstz7iExUOYbf1yBGnF0JMnRkgnUweyoY1Mje8GbVBTzQld+yqtHGvJjeB?= =?us-ascii?Q?fRbYn4Biuj0EPb0dNEnsGKSEz/qfTejYszSvUij8WrehPL9m0IRNCzklckM7?= =?us-ascii?Q?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BvqL4Qc1Ca8+X?= =?us-ascii?Q?Yxd3TrG3YGgReaphrDImz5ctrF7u8Hmlur102d8eryKAG/aYW+84X8TilXN9?= =?us-ascii?Q?uJfO+88N4kgIbKdImr+pgYeIYWOiGe+okXnJLbX/eLY6yd9BdefVXodX/FG1?= =?us-ascii?Q?h8dKUw/p5pLtXd0pVSKcCyjZClfK3Q853kwDTalZj/BGLjenxoP+zb0qA7vF?= =?us-ascii?Q?XU3eP8xCm0iXafOCiyCVy0TWKGh5uTegbNc1+ixuRjwxVlYY2/THiFJgTU1/?= =?us-ascii?Q?4Crd+j4kgmWoBFmhcFT10dxQBydYQXu5+rz7Pd0W67kc5IUpe5E1UOU9b/1Z?= =?us-ascii?Q?k8PH5zr6FGJDvzV3n6xDQbD5uxmOOn0wsQfZSdxXlKXRD6IGul7Hr/e1dilB?= =?us-ascii?Q?rhWlHHAqtos3j2kYIxpOidSq81WWPJof3CQqAC5YuLmOScc6YntdqgKSA/Vg?= =?us-ascii?Q?ZRQ8OvShddgyCtFINIA0UC02nrNv6CkI9ynso1fF?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6dfaa45d-453b-4296-16bd-08dcef40dea6 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:27.5191 (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: rq3KFEI/+ikpifuJWqHL2vnwwfLshB6WgLLGRmfLeyDgAFoio/bQA/Jch4jtrdTC2XKA9cGY/tpWgfhW1fXMJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9787 Content-Type: text/plain; charset="utf-8" Set DW HDMI platform data's output_port to 1 in imx8mp_dw_hdmi_probe() so that dw_hdmi_probe() called by imx8mp_dw_hdmi_probe() can tell the DW HDMI bridge core driver about the output port we are using, hence the next bridge can be found in dw_hdmi_parse_dt() according to the port index, and furthermore the next bridge can be attached to bridge chain in dw_hdmi_bridge_attach() when the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag is set. The output_port value aligns to the value used by devicetree. This is a preparation for making the i.MX8MP LCDIF driver use drm_bridge_connector which requires the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag. Signed-off-by: Liu Ying Reviewed-by: Alexander Stein --- drivers/gpu/drm/bridge/imx/imx8mp-hdmi-tx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/imx/imx8mp-hdmi-tx.c b/drivers/gpu/drm/= bridge/imx/imx8mp-hdmi-tx.c index 8fcc6d18f4ab..54a53f96929a 100644 --- a/drivers/gpu/drm/bridge/imx/imx8mp-hdmi-tx.c +++ b/drivers/gpu/drm/bridge/imx/imx8mp-hdmi-tx.c @@ -96,6 +96,7 @@ static int imx8mp_dw_hdmi_probe(struct platform_device *p= dev) return dev_err_probe(dev, PTR_ERR(hdmi->pixclk), "Unable to get pixel clock\n"); =20 + plat_data->output_port =3D 1; plat_data->mode_valid =3D imx8mp_hdmi_mode_valid; plat_data->phy_ops =3D &imx8mp_hdmi_phy_ops; plat_data->phy_name =3D "SAMSUNG HDMI TX PHY"; --=20 2.34.1 From nobody Tue Nov 26 10:27:36 2024 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2089.outbound.protection.outlook.com [40.107.247.89]) (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 360B1188591; Fri, 18 Oct 2024 06:48:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.247.89 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729234121; cv=fail; b=syZFgmrdAp68+qeMDL9x1TrUXhwH61YAhnnYGuqBupy22isMY/k1FFBAiLRCt2PofVlWkIdP3ruxP2t/Hq/JWS7AQ4hXELgMfcupBaV1mBnqFOUPpI+meDiqofR7NtePPxCI67poVv3lzr1/8XIQXqVsYb4OUMELyKHwNVdX164= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729234121; c=relaxed/simple; bh=KLOCICtliJdnjdEbs24yLUuFDF4BU3dLTeko+zXzVQg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=pMHigWSUXEjwKmF4OSN7Oim0IDPdigUqb7EUcwIhmtfFSOko4PZbiPqbbJmLSEJm9KS5vv/snSK09r+CelXBITAD+IChMm5e+yRfbO3nmAqXl5qaIbwXCuXoxdkTGaY256/hcVl/kH9qS/Tnojd5Ap6rdccEqE8j0okBRkwc+oM= 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=UDcoUJNW; arc=fail smtp.client-ip=40.107.247.89 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="UDcoUJNW" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nshbs9BsrYxm/CfvvaguOhLGeKtalJKKyHJobmyFfZU36VHFSMcsAJjM1Zq+88x7oTToGIqo4NgFpjVmRIVr35ESk7oYzkcLBnp80aiyDCkm8rf+sx/Qw4JqO8y4LRqZA3qG+L0BZvbyS9QDwjcHGKG4tTTq960JStWIbtAF4kLf11h8P/HnoVZKbUlrKTd4VGAs/BirQt6wYmlAh6WufEI7M2Da6ebYoBuLOs3w8//sAQMQQQ0bDBQh01ftJ0YQW2MQ3vR0fWVsQ4dVMfSw9wDvLZgcBhTqKa8aEqQG9In9kHpdlMRFg2Gd4eBy5SCmwGUbarfFMSx4w5haM7Vf3g== 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=zwSh//d1CaRqxOSZh6QlhILY+X1BgTdgaYR7pJsi57M=; b=glCAvg5uGR/KCUY5xC9viL9iGu5hNqu1C2kW+kEipHZPjM1k8O3QjIHbfPN+pd3tt8KSNWV98RWq8x76namhl1TG3p9sQ5ah+bURLeyirZANm+mq3j0/sM6JXya47jACa7I5cuBMDLfWHuZHposf1g3+r/IjZ1seHqkuuMIt7p/8d103nTjxQA8uA1BABb/wF0yxobHvOynS/LoyUC0YiUKfGE5UbQWe+VUub1dVhHXl0uPeADsRiU8YeOea0lymu/gDaozGUJ140bdOagv/twFouNYWf6uJoPLQ3FGmQOeim0BfRNiJWvivAc1Rg4Wj7jQlgH9tRSrYOC1dat2FRg== 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=zwSh//d1CaRqxOSZh6QlhILY+X1BgTdgaYR7pJsi57M=; b=UDcoUJNWbQ0NyXwyDB7tUYnEy89bUwDtoSPziXNrbGAxAeItFVI1GK+mXwQqbo7djYhMVCG7IJ/tXCchuQ0A54m3JBMVybnbPxoRaC7vkLnGfTum/L8B7ohuV0HNrND/rHmoPNx+E0VPPX0djXuW0NW3gU5YthtpIRRWsH17LRXJvoN8AWlTJi2KFLXyanpY8dVAqghwGE4txfF8Qic2sFUi3yl0l0oE2ZKtbxzoEgx2NbjenHTxsmTaAYnmUd4O9LCNWfPY4plcsT/iIcF70qaMfFMi5CgZb8RCtpH5xGt5Ni4bRf+WYF6VoClh+Z4G8Nl0CRh/geNFYmT/weKpDQ== 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:35 +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:35 +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 5/5] drm: lcdif: Use drm_bridge_connector Date: Fri, 18 Oct 2024 14:48:13 +0800 Message-Id: <20241018064813.2750016-6-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> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SG2PR04CA0204.apcprd04.prod.outlook.com (2603:1096:4:187::16) 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_|VI1PR04MB9787:EE_ X-MS-Office365-Filtering-Correlation-Id: 248c1190-f928-4c4e-addb-08dcef40e31d 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: =?us-ascii?Q?TQtdneAbOqSU9/IE47q8irRGA6D2M2py9mbdu7OaESwkQ42NpV4hgNpUAZgA?= =?us-ascii?Q?aFAV1PuYBfi8T03MZd44JNOq+avtU/jUcw6vzuxe7bIT9aeZWTZc8Kun5atZ?= =?us-ascii?Q?rWlTpjcYVqaV4a5ArXac/GW6Grp0/e/ncyqh3XQTrGQ2Bf5g1uZyTyolXtJV?= =?us-ascii?Q?a1+CImvf8KyZLQgxjUK4xI0UtV9uTwvK2R/Ae0C1xXTgOv2lOfLV/5DpuiIm?= =?us-ascii?Q?9KFyfNcIdh2fEpOfg21qes5F/+bgvhQ3OYx4Y7d2W9CwkxzXOjSKZSOmDEXb?= =?us-ascii?Q?y5IsGyS4dW6iuGQPIO76lG1LECM5LpcEj1shIye0Dg3PnsLyJHD/UrAdP7YK?= =?us-ascii?Q?1vQBtBPtbfa+1sg8eQyG4eKE07ZIs+u308n+7khPnBTvPREAOl+W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LdX24ggwQqmX41PqY/ociRrKp8X1+n9yaZkvWcQo?= =?us-ascii?Q?PMEJS9h6ghimEeVIDgj5r8DH20QZnAe88HDFnbd3X/xNrmMJTtRmRE/P0hz6?= =?us-ascii?Q?QyUcRcI=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)(376014)(7416014)(366016)(1800799024)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?3EwSxJdXLDEu/JgcugezO0m9T7m2jbn4JFcmVLYGbkRWfme7TAaHDTJZ2cxr?= =?us-ascii?Q?UN2Mc8ZCoNHZGX2woeftr++9JZ5lngJevtYft5IfTpPuAaT2sTvEltI1tNW8?= =?us-ascii?Q?Ml8gOjP1A/ISP8ikF7l4tCfXn2x5o1tWS0sNkAiakB9qfCQQIjMkDOoHqEZr?= =?us-ascii?Q?chH0Rq56rxJo2u4aWb9jLFOAlE/LfN6DLauZfvPvt8ls0e8wMG26B8bxKrpe?= =?us-ascii?Q?YHiW5HwSGCzUSazYMzypEGOyx4oVPZGS7gvbvva0rfhWdOxzLtvqBEMH3AZ9?= =?us-ascii?Q?4awiouviIKwQ5TK1UF4q0bHTtVYVERIF+nkIbjuCVsCpGnu6zDWvbAKsyA7b?= =?us-ascii?Q?/INF/3NieQXyiPLeh9+pQKIMoNth5MATFi7R48Rv2XBuUROyeM/zsEI0wS0A?= =?us-ascii?Q?iUni9DHkdpdzdxACHJTaKNa1h5h+Z2f8QwEmjEEku0cBO+r6N77qhuteRWE+?= =?us-ascii?Q?fNJ6Dl2oAj7hxCHLjnCYCCbE52+1IuMU01ASbJPNcjvXSujuRPCY1OYSZapW?= =?us-ascii?Q?PMg5Lu1cucuIGdrcAT4YSCNRLaRgrlPEo3Z4p3tZAUW95YjY4jKflJYcYMxm?= =?us-ascii?Q?4YjvdTST3zjMfIfxZ/5biR0JlElxHj/oDEVQ/cgtOCwpUqpJir6qSatYWSY5?= =?us-ascii?Q?UZq+7nbBQugtz3opkgrZ5qSgPVp1ARYeJZpcuwAKDw7gbp0vC7c9ERc8BWCK?= =?us-ascii?Q?x1Tac1ooG8UfrwLJuNHlfLrEsqxikKNZfFWFFY45TiwUOQ70uDJYa6abIR5A?= =?us-ascii?Q?bFyb1tuQn2FsKbftpjsI3XT9wvfrhHa5kRlt3bUnGzbkd+xrS1+yb6SgCtmH?= =?us-ascii?Q?/7ZliPAilMyePywttSuYMaaA4GzK/KgGlDNFP9tat086tfsvb7oyqNe9fe9+?= =?us-ascii?Q?b/HJkK5mbOVPn7O18y28jLF67G0MCyue4w900m5uzrfZ9HXRE+sWzM2artDQ?= =?us-ascii?Q?YIZ4mgyDmbiFmNa5tzfc21vMasj2JNRKpvGj1GpQMRFPL8hzCL5HsFf4xWbW?= =?us-ascii?Q?ft5A6nFgy4I5b955B/nvrovbME/U2G7GtvALwMRcdgjlhX9DyjXHYEZW+5px?= =?us-ascii?Q?pJkw19yqgpyg0wkNA6NqOZeVx4B2Z0+kMWW29Bs6Aetha/GABoT7AL4cz11/?= =?us-ascii?Q?QPBczzrWqfNlMp1ulVoRmAC4sRUaHKAOMGGR+rdwyh158lPjRB4yNiibeVBS?= =?us-ascii?Q?g15omZ7cCBnumQPJWb3+svS3kVCkMwZkl8FSH+5PrmXlAommREdzkONz7Olq?= =?us-ascii?Q?NDqVte74UO74tKdyYtKFUAAjpTLU2mb08MkYm43Zd45ywscqptdjYNArqK2s?= =?us-ascii?Q?MICkp7xlfAC8FaXR1H9mHTDUa6UUCwn3qZg5rJcYVjm+9LGOu0p6oABxnPeK?= =?us-ascii?Q?XX/ZyRC7W1WLFEf6m45u9k2hOe9obdOt4HneUdZPtCdyoDborPqsXmLp+dTz?= =?us-ascii?Q?4ERBsIL6cAcrz39xvpKpNSJZaH4zkdbtQtYbQeZEPZtwEuCvlZhF9HAq2l3s?= =?us-ascii?Q?FFyktywJ2dAxIEKLYZhs7bsshyR3TjuFY/En7i4rrlFo5ooGQgvtqxS8COGZ?= =?us-ascii?Q?coYIIsc7cU28vjxxvTLdY9SvrgY6nXtFx3893t+7?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 248c1190-f928-4c4e-addb-08dcef40e31d 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:34.9886 (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: S9Nv6ftxpUDn4c+dAE6w3tuyELWUYZhKmczAa1xakPFP1ZOn5yzGKzNkhv1u9IBBz/iTy4o9q7zq6/a9ApUwBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9787 Content-Type: text/plain; charset="utf-8" Initialize a connector by calling drm_bridge_connector_init() for each encoder so that down stream bridge drivers don't need to create connectors any more. Signed-off-by: Liu Ying Tested-by: Alexander Stein --- drivers/gpu/drm/mxsfb/Kconfig | 1 + drivers/gpu/drm/mxsfb/lcdif_drv.c | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mxsfb/Kconfig b/drivers/gpu/drm/mxsfb/Kconfig index 264e74f45554..06c95e556380 100644 --- a/drivers/gpu/drm/mxsfb/Kconfig +++ b/drivers/gpu/drm/mxsfb/Kconfig @@ -27,6 +27,7 @@ config DRM_IMX_LCDIF depends on DRM && OF depends on COMMON_CLK depends on ARCH_MXC || COMPILE_TEST + select DRM_BRIDGE_CONNECTOR select DRM_CLIENT_SELECTION select DRM_MXS select DRM_KMS_HELPER diff --git a/drivers/gpu/drm/mxsfb/lcdif_drv.c b/drivers/gpu/drm/mxsfb/lcdi= f_drv.c index 58ccad9c425d..d4521da6675e 100644 --- a/drivers/gpu/drm/mxsfb/lcdif_drv.c +++ b/drivers/gpu/drm/mxsfb/lcdif_drv.c @@ -16,7 +16,9 @@ =20 #include #include +#include #include +#include #include #include #include @@ -56,6 +58,7 @@ static int lcdif_attach_bridge(struct lcdif_drm_private *= lcdif) struct device_node *remote; struct of_endpoint of_ep; struct drm_encoder *encoder; + struct drm_connector *connector; =20 remote =3D of_graph_get_remote_port_parent(ep); if (!of_device_is_available(remote)) { @@ -97,13 +100,25 @@ static int lcdif_attach_bridge(struct lcdif_drm_privat= e *lcdif) return ret; } =20 - ret =3D drm_bridge_attach(encoder, bridge, NULL, 0); + ret =3D drm_bridge_attach(encoder, bridge, NULL, + DRM_BRIDGE_ATTACH_NO_CONNECTOR); if (ret) { of_node_put(ep); return dev_err_probe(dev, ret, "Failed to attach bridge for endpoint%u\n", of_ep.id); } + + connector =3D drm_bridge_connector_init(lcdif->drm, encoder); + if (IS_ERR(connector)) { + ret =3D PTR_ERR(connector); + dev_err(dev, "Failed to initialize bridge connector: %d\n", + ret); + of_node_put(ep); + return ret; + } + + drm_connector_attach_encoder(connector, encoder); } =20 return 0; --=20 2.34.1