From nobody Fri Nov 29 08:42:46 2024 Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010017.outbound.protection.outlook.com [52.101.69.17]) (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 0F3021D63C0; Tue, 26 Nov 2024 14:14:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.17 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732630446; cv=fail; b=Ys6LMMQwhFc8w4XI1y0QHWgwd8xj4uX4U/taGKmpl5hEU7tiITBFPqBfm9rkseGk3/hc87+2rhAjFDnd+LtiiZYGt/+VleqaEHSokjUtbMJN6+lSTqFSUtQ4t1b7C2A9ctu2hK1rFt+RlyiCSCYHq0BLv9//oEK2ZHL7nO4ylE8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732630446; c=relaxed/simple; bh=GTkxDYrBDUddccyT88dOM+I5dkz1XNPIrBklowbBsPI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=qr3m55IRRP7Z9X8MMeUW3Zewx6sT5MQbNrhApY5rWVec9p2ORN9LaHXzNIN94DxE1MtwucAnn/x7/iUIWkfTfdSFuPjnuwS7rAaaGWUfrVoiaJiEkdoT2p/gFPcKrzqI3HodQmjf4qQyVsDu3e+JpFdWHfnBNs6rDcs7OaQACLY= 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=Z+FdTL2R; arc=fail smtp.client-ip=52.101.69.17 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="Z+FdTL2R" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nukvMPb3ldf1BlZeEpHzihK6pHSUibu1QhS4yS0mYd2WmLNrZOjioUw13tUaC8Gt2lDy9x8y88KQ3w9p35e6PF+SAqkd952dCxBjb97IqjHB9giua1PHEgL3/FU7latssDxCH2g7fAsHedIshkGt3i4LMbRBEkbgWmwJHR41U93f49Alzf5cLE0mwGjM6BlIhQ1qAwDKfMfaNcCi5YPmhV6j+6FFvxeqFz6W29NhSwH0GPb0wI8IjnHW6Vfo4dhT1SXlxZ+u7F0fzl8N6k0Z5EBwNLHmzlaleDkjPWJH222bCWq76ugCB5Opev4Z1MxxCW3OKkVg8prtFDApsNNH/w== 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=2O6ed6EeRK5MGgtc5Ywc1zLxsiIGCPAOtpd0mLEja6c=; b=wSMMPdhplulZiUcCq2qPyZcXgqbAEU9pBvR8Q5tZCIuyBxiYsj2jmnmQKun+zTewDhETNc4KNzCnKKX1eCrwpHzWd2dvGhb1EjhI8VdVLiNtIYo3tLOb5M9WWyQCahgNpQjz75SgCwBrhpl4P/zpFMIKBom/CSGms2EOAeYIHnIuHmvHSrhZH8l/JtMdHmUnOx93tH0XT87sHaEslXc/wkcA099ZWp4Tr42i/cRPFt/HHdgelEIAoRQ/ww6dD94j97CLrzxC3oEPpYT4/SuHcKlZHNOu2cbKF6646GrjHkMsLRm0UXKvJv8iu8Qj0zbQolNlRBkDZY42p/xQoCaCxw== 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=2O6ed6EeRK5MGgtc5Ywc1zLxsiIGCPAOtpd0mLEja6c=; b=Z+FdTL2R0//I7BvSfg3TaT5DJfSu6EhuFkYAoHgcjhjycI8Uo91jWs874j83F0vmzmz9BFsW4WzuuAcEUswU9tH8JrIE4Vada259IbFlHozRfGu4tABaUhzci6I7J2a2iVl7tHKCNqSg4pVc29dkxafp1ogCrcLrF+LbePCrxmFNScW8MKwbErGuJA5JChnDA4JOx7AY0gr5E9cyhjgvBOzkWtdLoaDP1D4bKCT3QPcwRUrxIQaEulDkAPBVnkAepKmCFZO+3czU128OqLoV9q2jRkHn+RBxuy/T+7P96KRleFx8lHMi98Gbnduo5Xpv4r3ARP4Nv5HIyk/J4U0FiA== 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 PA2PR04MB10422.eurprd04.prod.outlook.com (2603:10a6:102:417::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.20; Tue, 26 Nov 2024 14:14:02 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc%2]) with mapi id 15.20.8182.019; Tue, 26 Nov 2024 14:14:01 +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 v19 8/8] arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support Date: Tue, 26 Nov 2024 22:11:53 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SI2PR02CA0031.apcprd02.prod.outlook.com (2603:1096:4:195::16) 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_|PA2PR04MB10422:EE_ X-MS-Office365-Filtering-Correlation-Id: d08d1407-9ee3-4aa1-a5d0-08dd0e24939f 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|52116014|376014|7416014|1800799024|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?5ismR0dc7o9Ppb56XfjoEKXZxGLjr/6nETR/ohM1KiLI2weliH3zUv9MsfaD?= =?us-ascii?Q?zSVavpDAGqo9rCejNKU6N8XRjHBqZGc/gWAGiLvRQ04jyeYedTY36POhqBhR?= =?us-ascii?Q?T/dvwXMD0dSjJITBw8dXN7xwOvINj5fznqbxk8isiarZ8oJe38MMKD4MgmMv?= =?us-ascii?Q?RNs//2BM95R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0l0GR92Nhae2/fe6?= =?us-ascii?Q?OQfCXKmBPNReo3+1F0VjaCfA51lqH4o0EzlrChCotMyfLPaPFFrCYIod/Hxi?= =?us-ascii?Q?b+6G7L3Dao7O1rdBDvM0hoMiy39CWywI2/tvBbMLUF8eAHxJWFbvpBXCKjwb?= =?us-ascii?Q?8jQP+If0o2mAK2RLjxPDgEFK5V21bGrm2Hl/FW/QW345bGlMQ8OArRjLWvzp?= =?us-ascii?Q?k8xiwxG3zGocL6BvSYOt3IutumVwaq0kh22alEhTbMXQZ2vUY6PgS1yFHAbE?= =?us-ascii?Q?YtJEdlDHe39KNtOdFyWc49P5XeRpPo9Ifzwn6c/Eng2vxlgN3/tA7e+5hPtf?= =?us-ascii?Q?k61yEaCIuhS6bxirRFGSPgi6iHNR/sDe2IHgeVYitv0V+XiwjmI5HLrSRl3r?= =?us-ascii?Q?w54pPH+/im8=3D?= 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)(52116014)(376014)(7416014)(1800799024)(366016)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?LBLgpkO3q1kOETFBSDEF7P3cM0pjxBIgVNgfsRKfOLNFTVmUSD7XqX8pxlXP?= =?us-ascii?Q?bSdPgRAHCyoD5YM0F1ZEfzMA852+w0//sGGT3KSu8VTTbsyaHcOWIo5Sv1jJ?= =?us-ascii?Q?epJa/cb3Rd+ndRHXRw03yfrkPiRl18f4uPdpNS1+/4CIVbigejQRlqOqUP0x?= =?us-ascii?Q?J5yad4q30zvL9ailVaOSe/bu3fMS1ZDRxNR5Ca+VDfBGB6Y5WOXGvwzj2/c5?= =?us-ascii?Q?NMzHmF7CHUA/1A4lf0X4Cg3WbBifbYU+QvQ3ujtw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pcSDNJlsVm9A5eqVY66bSP326j8DRUsVQXBumzObKP32Be7lKb?= =?us-ascii?Q?zBIHoBlBxezuRR2+K+gRhzE5xamh5OzPcZb4hB5k+SbH/0a766rQ9lpZoYiT?= =?us-ascii?Q?pXZgRlb+USpLtAedVyp/+eT1yLK3NBpKZUlSvZNBOe0YPPUMJyzCH/KRR97R?= =?us-ascii?Q?6maWGr54iFzyLmTswU7lqDOhDyITKgJh6upLZNbMw5TfMqzjdaVaHsSAMTZ7?= =?us-ascii?Q?hh54GMjCdpjtgXxAiMBEguk9ikOuIiOtlCPAie29rLrWk7vxuas3c4ylzvLj?= =?us-ascii?Q?BNvk1qLrLeZv/h8JWb/yN95PZzppH0MBHccfbd1WX0o7kxRFVlaOQ2EDfyDA?= =?us-ascii?Q?Lh0IvTZ/fCfnk4bhx0qkqi8hcToUV7c0Rrdo9/mudC/6Ar0xigRLa7lomeux?= =?us-ascii?Q?0zJXE0WgpIEksUVQimGuRl10QHW3tl5VZy+57Uwl?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d08d1407-9ee3-4aa1-a5d0-08dd0e24939f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2024 14:14:01.9070 (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: MJEJ9atQcAuLatBFDuYI8G+6+rPExO26wuwOZNonxE62QxNpWQLmDErKqsf+h/1r+uE11AcKSCLwSKS1eU2jqA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10422 Content-Type: text/plain; charset="utf-8" From: Alexander Stein Add HDMI connector and connect it to MHDP output. Enable peripherals for HDMI output. Signed-off-by: Alexander Stein --- v18->v19: - Move property data-lanes to endpoint of port@1 v17->v18: - replace lane-mapping with data-lanes .../dts/freescale/imx8mq-tqma8mq-mba8mx.dts | 26 +++++++++++++++++++ arch/arm64/boot/dts/freescale/mba8mx.dtsi | 11 ++++++++ 2 files changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx.dts b/arch= /arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx.dts index 0165f3a259853..5ba06a411c6a1 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx.dts @@ -53,6 +53,10 @@ &btn2 { gpios =3D <&gpio3 17 GPIO_ACTIVE_LOW>; }; =20 +&dcss { + status =3D "okay"; +}; + &gpio_leds { led3 { label =3D "led3"; @@ -60,6 +64,14 @@ led3 { }; }; =20 +&hdmi_connector { + port { + hdmi_connector_in: endpoint { + remote-endpoint =3D <&mhdp_out>; + }; + }; +}; + &i2c1 { expander2: gpio@25 { compatible =3D "nxp,pca9555"; @@ -91,6 +103,20 @@ &led2 { gpios =3D <&gpio3 16 GPIO_ACTIVE_HIGH>; }; =20 +&mhdp { + status =3D "okay"; + ports { + port@1 { + reg =3D <1>; + + mhdp_out: endpoint { + remote-endpoint =3D <&hdmi_connector_in>; + data-lanes =3D <0 1 2 3>; + }; + }; + }; +}; + /* PCIe slot on X36 */ &pcie0 { reset-gpio =3D <&expander0 14 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/freescale/mba8mx.dtsi b/arch/arm64/boot/dt= s/freescale/mba8mx.dtsi index 58e3865c28895..d04b75a76dfe6 100644 --- a/arch/arm64/boot/dts/freescale/mba8mx.dtsi +++ b/arch/arm64/boot/dts/freescale/mba8mx.dtsi @@ -89,6 +89,17 @@ gpio_delays: gpio-delays { gpio-line-names =3D "LVDS_BRIDGE_EN_1V8"; }; =20 + hdmi_connector: connector { + compatible =3D "hdmi-connector"; + label =3D "X11"; + type =3D "a"; + + port { + hdmi_connector_in: endpoint { + }; + }; + }; + panel: panel-lvds { /* * Display is not fixed, so compatible has to be added from --=20 2.34.1