From nobody Mon Nov 25 10:21:53 2024 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2046.outbound.protection.outlook.com [40.107.22.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 04F3520125D; Tue, 29 Oct 2024 06:05:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.46 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730181915; cv=fail; b=EiI7DXABj20yUolPiyGAtxMfT5ssCeUJ+qQRrh90YVNIj/hipLu/tcQA/oHkKofzGtp3p8GZgUAdXc42dgvzcnZc9msY6DFykQTgXEf3M4FK0PVSdoUnmvW9LOGLfBklGiSlrSjzm5QBIq4dBqmp8H/pvb4kVGTLB3JH4rZpscw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730181915; c=relaxed/simple; bh=Yii3yOe0KpQYJ0Gry3VznDFBMfXpj6Ked25ZiwtQ31Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=b3SZ586W62DiojYl1oZxxHMH8u/RYtEWDARffjA1mip6YNN3UMFq8MUhrZJUbSbW9aQdXYGTT6Sdiwhe/ravRSAemPlbWPeswV3fVlYa/Ys08E/mUKr8PLZ5Zb7+huJ2IurdavT5mQNVl07PPxuYNXayrOQt6aXDpTRU/WGetEs= 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=G/X0ZVTp; arc=fail smtp.client-ip=40.107.22.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="G/X0ZVTp" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lue+bLND98mJwTYz++OgADSoe+lXZdXZKNYGJnCyWNoxDh4yWut7nPoOlPde6T83LenaGwHsRiWL/be1H21T0wvOloMvasWxgODUHNve4sJj0nEzrNVwSqqeGd4BMBalUTECN6lDAnvqXrw6Ylc+WFrZdd9IFHvRt8zgQlEOAeMovHuZqFXKcJrmY408NZcY/AV5j8MVwO22Q3hnS3+wYwjW1VoM9dkQacnILzX0OtaRIur1nT0RB1mL2Hy8zaeAbTwyDnZ53RXz6Hlpt7yQy+AxjN89KC6277zBbxirAYJ9UyppgKQK4NweN9GtA/YkWKvSccBDTTLPHu1BErxxKQ== 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=oUrOhOv9/jctQf/WkvN3hG36JCNaDeQH+CLVke1O8u0=; b=W8AeHILOh5YToArYR68lCfF6fK++tpknaFzLOqxr77Olmasw/30H7Ti5m0FFtVrPzgU4lutfDdPKEsWq/Il6LlPhv6VWLFFJpi5ZTLBXuFoSTRwEoAMRcgdCaxkHSOMfVYXoHRdRilh6LIvv35j8qAqkKWNx+a/YvFG9Mn5OGDMPZRHh9MZU13Afv8/p7ngOp+kHqWErh8Qet/1oJBlPUQ/z+XZ2SQGMo9yVyuXDQ2NK1SzqAkaM74dUuAyOecTJcqjY2kaKFP36Cu1Rq9EnVhgrAakW/ZyuduQRaAyAVADcV+SxKGNFKfvprFDglQaaSrgYRLPOZ/mIJxVQgFo6bw== 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=oUrOhOv9/jctQf/WkvN3hG36JCNaDeQH+CLVke1O8u0=; b=G/X0ZVTpIUBYCjWoa0ovfWlDn4CiGXlVQOQOZ6LamocYIUyaZYdvkQACIi8ai3GRyIaYGlZsdS2bIqhW6oxBkt/2wYvLZF29IJVmJlpZp6h3akyN8twdYQ596V7RNwo1V9K8i0Z6Bfe8x6lfDZrkXBevn7C3R1yjFiTS/7Gw/Zk69oKDgWp8+xFexAx0G3qonTCgccCvis7c1nY0JgJFxM6W/4JsRxy2WMktkc6EODHO+uGV8YHPZln+WIQi9qKn9zaQ7gV8CqW+CuNwcfRdDKGwwiTjADeYd7+Vl9H1gjyXsw28arm5QAtkm586f1Z6DmrON0bMMdrc/Ow3l6IZTA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) by AM9PR04MB8488.eurprd04.prod.outlook.com (2603:10a6:20b:41b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.18; Tue, 29 Oct 2024 06:05:10 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc%6]) with mapi id 15.20.8093.018; Tue, 29 Oct 2024 06:05:10 +0000 From: Sandor Yu To: dmitry.baryshkov@linaro.org, andrzej.hajda@intel.com, neil.armstrong@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, vkoul@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, mripard@kernel.org Cc: kernel@pengutronix.de, linux-imx@nxp.com, Sandor.yu@nxp.com, oliver.brown@nxp.com, alexander.stein@ew.tq-group.com, sam@ravnborg.org Subject: [PATCH v18 7/8] arm64: dts: imx8mq: Add DCSS + HDMI/DP display pipeline Date: Tue, 29 Oct 2024 14:02:15 +0800 Message-Id: <7d4da909f2ee24163ff99e069785e075446eef2a.1730172244.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SI2P153CA0003.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::20) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) 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: PAXPR04MB9448:EE_|AM9PR04MB8488:EE_ X-MS-Office365-Filtering-Correlation-Id: 437ddaf0-3e4b-4522-5c6c-08dcf7dfa525 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|7416014|52116014|376014|366016|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?r4qXoHuloR0bOp3KrZimCZqKY6hOrEmIwem5OPsqCG6L5gxrBnIS5xG7/azw?= =?us-ascii?Q?Anbn5hcgpp1ZDRDzXXhtD5w5UfkW/MB0s+XGWWwgp/UPnq89xsFtuz92gt3Z?= =?us-ascii?Q?fJjxhSVIF6M5yzCdnhmLl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us-ascii?Q?pPSIFmxBJeL7K+rphm9uzFU2fcPF4gX8tPAhduBefSvT7jgZU17AnAuwuwtv?= =?us-ascii?Q?22IOcjlATF1JXLagRQney8kEXXp/NTVwkjs9M7t5Ht5VLyG9MF6IqjYS4vkA?= =?us-ascii?Q?D/f4AqNQqbG52Bjt5fFsCOsco9qkjfqDaPa6F9SonXKSZcKpFVdM6SOTEuYB?= =?us-ascii?Q?CGHJM+/+MM/ulCyBz2NHwO/moSSZkM6x+bZzjeolYBahvpiQ5aco8nZLv220?= =?us-ascii?Q?k0q9Z3t/huYUKSnhJYL4kAAK4FtuA1US46mtXnJNEgft/ing/DKO07nSdfj9?= =?us-ascii?Q?g7HUqch+LoF3CEuYr8SPFyEJLkf0AZEauJEckj9DhqzY/TXm4JaxYrTI8dqU?= =?us-ascii?Q?uNPs0HLro/j3qy7+mc+Wh5PMI3Ry?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9448.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(52116014)(376014)(366016)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?M9Mnsw2hv5fdjDR0gsYoAwaTfNzSTc01NYxuJ5uCgK4KD0RVg+O6FLWXIoDM?= =?us-ascii?Q?+ZgJ1NHLMEEzGxj3FmAq+R5313MjSd+Bz9a0NTz9eqqPBQLTcAXvqQIE0E0O?= =?us-ascii?Q?rZ3foGkISiSU23n4eI+m5pDUCEeys0n+MLdH3toOb11RZWGSCM0petes8ssq?= =?us-ascii?Q?XLhRknKLGqpHThCfPzM1B3Otjct+OwrK+VyXG0/NCMUQZEvBBZbFfVm9Zwyv?= =?us-ascii?Q?n89ZnWdijpngio8jdFgWdqBW3EyIPCPrYrngr6lj/A3z1J36+Djlg2LqB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eggPnaSaNZxXAnCX2E4gOuZD0nZtr?= =?us-ascii?Q?r9fE7Y3+PPbdMEOmxbDCXIJbmCg2HNaMcyDGbEIHlzWiXAg7OFnk2yVls1Qe?= =?us-ascii?Q?/7BJYMd65D5RnZ0bMESZdWONaYv20j1O9wnc5Iq90lD4eUYkFJqizWu1KP5p?= =?us-ascii?Q?KEz27omeZkAiLI1sOTqTmXOpbDULI47JQ2aCmi3B1+eUx6CSpZhHkfaBnOC+?= =?us-ascii?Q?Tyudude1aMTZXI40f1TgchDOR9gujLIuHePLKYW+D8FmeW77y50RF5TVsiY9?= =?us-ascii?Q?GXYcVFOddW52D5i4s89XHLDrW/ymc11908PfkQQpzvzFcWvKS7AeurrpnO9w?= =?us-ascii?Q?llsRuKzJ8cS8jbZ1am9wVUoDHpfNlQz6/e8QNETlhZ1FDeMgwSXdPKNgj/ib?= =?us-ascii?Q?NhnIxgcuVrzHBtKqmHq6obT6/m5OmGqSsqoWXioX?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 437ddaf0-3e4b-4522-5c6c-08dcf7dfa525 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2024 06:05:10.2388 (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: ejbPNzq1UmgwRi40c6EzdTm+089EiKaYpb6Rx/t/RylqG9cKE5BPMbeJLROh7Dzu7BRNyiewZZNzcoQWGMFeZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8488 Content-Type: text/plain; charset="utf-8" From: Alexander Stein This adds DCSS + MHDP + MHDP PHY nodes. PHY mode (DP/HDMI) is selected by the connector type connected to mhdp port@1 endpoint. Signed-off-by: Alexander Stein --- v17->v18: *No change arch/arm64/boot/dts/freescale/imx8mq.dtsi | 68 +++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dt= s/freescale/imx8mq.dtsi index d51de8d899b2b..df8ba1d5391ae 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -1602,6 +1602,74 @@ aips4: bus@32c00000 { /* AIPS4 */ #size-cells =3D <1>; ranges =3D <0x32c00000 0x32c00000 0x400000>; =20 + mdhp_phy: phy@32c00000 { + compatible =3D "fsl,imx8mq-hdptx-phy"; + reg =3D <0x32c00000 0x100000>; + #phy-cells =3D <0>; + clocks =3D <&hdmi_phy_27m>, <&clk IMX8MQ_CLK_DISP_APB_ROOT>; + clock-names =3D "ref", "apb"; + }; + + mhdp: bridge@32c00000 { + compatible =3D "fsl,imx8mq-mhdp8501"; + reg =3D <0x32c00000 0x100000>; + interrupts =3D , + ; + interrupt-names =3D "plug_in", "plug_out"; + clocks =3D <&clk IMX8MQ_CLK_DISP_APB_ROOT>; + phys =3D <&mdhp_phy>; + status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + mhdp_in: endpoint { + remote-endpoint =3D <&dcss_out>; + }; + }; + + port@1 { + reg =3D <1>; + + mhdp_out: endpoint { + }; + }; + }; + }; + + dcss: display-controller@32e00000 { + compatible =3D "nxp,imx8mq-dcss"; + reg =3D <0x32e00000 0x2d000>, <0x32e2f000 0x1000>; + interrupt-parent =3D <&irqsteer>; + interrupts =3D <6>, <8>, <9>; + interrupt-names =3D "ctxld", "ctxld_kick", "vblank"; + clocks =3D <&clk IMX8MQ_CLK_DISP_APB_ROOT>, + <&clk IMX8MQ_CLK_DISP_AXI_ROOT>, + <&clk IMX8MQ_CLK_DISP_RTRM_ROOT>, + <&clk IMX8MQ_VIDEO2_PLL_OUT>, + <&clk IMX8MQ_CLK_DISP_DTRC>; + clock-names =3D "apb", "axi", "rtrm", "pix", "dtrc"; + assigned-clocks =3D <&clk IMX8MQ_CLK_DISP_AXI>, + <&clk IMX8MQ_CLK_DISP_RTRM>, + <&clk IMX8MQ_VIDEO2_PLL1_REF_SEL>; + assigned-clock-parents =3D <&clk IMX8MQ_SYS1_PLL_800M>, + <&clk IMX8MQ_SYS1_PLL_800M>, + <&clk IMX8MQ_CLK_27M>; + assigned-clock-rates =3D <800000000>, + <400000000>; + status =3D "disabled"; + + port { + dcss_out: endpoint { + remote-endpoint =3D <&mhdp_in>; + }; + }; + }; + irqsteer: interrupt-controller@32e2d000 { compatible =3D "fsl,imx8m-irqsteer", "fsl,imx-irqsteer"; reg =3D <0x32e2d000 0x1000>; --=20 2.34.1