From nobody Mon Nov 25 09:42:47 2024 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2052.outbound.protection.outlook.com [40.107.22.52]) (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 56282202626; Tue, 29 Oct 2024 06:05:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730181922; cv=fail; b=jmVnbObhrQj2D0MpfHRFDDkURvqmi6p2pUVGn70ctidsfIDvD7Kp++CDylUGjid68DbTxXn0qHY3heIekrknkFo4C+K9nZIBj4QAOlHb97Ru/5regbYKCBWfcSLLDNIz45cTHPGv2kHA0jSoHOr8ZTltkfP2pCU4DQWrRVz4/oA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730181922; c=relaxed/simple; bh=3ICmK5ZYL0XJ/B0jnUZZxXF3uHGhUxGHDKE0JvYrBK8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=L+Nep6XvuHIlatR6+6N2ldqP3I83LiYqNYz24PFoRPPiWrMFqHT7SfV60UxNQNIu9feb/jomrAKvoiRwOqLWqRYGVZ+Fu0v0mRZcjeqYM+5QnMeYIRsGGE9ZEQKw6KT7Z3JhFNKVzurHruGuWMleh0qrUt3CrTFHV+ZsOSuoEuc= 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=FikMmXVS; arc=fail smtp.client-ip=40.107.22.52 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="FikMmXVS" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dBERm6Fuk3/b+oZ5c3yfoRKtvi3nY0b8m0eQpqd5kZcuEa07Zou+z9L1/DTddiLkK3EHdOdhtCrt572TR9LeameOyasVEYSQkZO10SpNK52GVJCAyVaO8+P2rBoP3JMqXeJfi/PCMaZRQPDavmHb+N8eovK5ERh+kwlPfQGzAa6nMdW71gRVAyockZFiJ46HIWSqOKJfEqKceqi4h7aAwKwfOcUbdIoTADkp/ssQzsHPunpQkNgnFsSzXDSQEVJGJxYS/idjhxT62vgJ5dn+UmpcJlOP5Vouuytg+nqrimv77MayZlwl8V+hFHuOQczNTFvuaeN/eW2G3Ie5QheHWQ== 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=LP1qGzQpYoM1VEAb59R95gqmXNmVKTOyigOzO9Bk3oU=; b=sbeyUkkFmU/mqqvuWIauvOk1R7pH06JnHoRfYwWCHMG9JhQlQlZUsrTmSO1N7rKWQuxU12+UGsX8wLIXCg2K9fEktPqcAERXkcOSZ4rEhe90bD6tR6+UgDFs/5Ty2bsyyzXJBk1Fkq7w0s+9jVdHJWuxzBqkU+Pkeov18Il5tFcWUirURnc3KpwikqA69TzJtl11JoNF6qX052miUf+9Iqrf2fgEnbSg0CGvLF+225BQOLyeCtqdRpfax8zcM0GWw4b5uU/mElT18GvffjfW0xKWuiDit55sCRuWlQgmr78ONIg2X1p2ajPN7Ft/gyG9d4IaTifvXLCu24OzjpRY1A== 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=LP1qGzQpYoM1VEAb59R95gqmXNmVKTOyigOzO9Bk3oU=; b=FikMmXVSoXzSYIhh4HWu2vyj9tWrLGiweYPZreeeZAHAOJBJL9qEuEJx7jIkt/QUNsGbJ19bMQdGbC0k0XPlrBzXFU4w2rhFxN/yZx8CWb2BQ8XreB+olwLOnjOfK4a8ulcIzH5uYOfqvzmWd8vlljygDNfktNf/tYu39MXVRwJfkJvvBdSQo/beY1jjiR7TqPT65jOoXZ0uvDXV5247SKGEWcMnRxfufTUQV7nijnII3p5/frqpXyZn2qNmBt+cPF6S/qLgWWZmp4CR0+M1F6i3ZtOPCzVXmt+K8AG9+FNuj27TmbkxG668X34n032EEedT1s+piV3+/KgIPBuk6A== 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:17 +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:17 +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 8/8] arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support Date: Tue, 29 Oct 2024 14:02:16 +0800 Message-Id: <3c52cbe438f1bf10f4d1ec7867452c24d8ded8d1.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: 86641273-bceb-4b6c-74be-08dcf7dfa95b 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?PfXGjpzT17qHdFE5TNZdwJAZRoBAe18sUsdGoLsQlwH7DCzdlboGRHEaqw1l?= =?us-ascii?Q?Ztwxj9bF3KNsyntHqHuo7EZdwPShKzoJYpPl04DhZ1CdXsxI+hX7UV5lqU+z?= =?us-ascii?Q?MwCCEiDAF+5Tf2SfyhXu8PGIwmkjz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IT6cMwrYkCP6uc62d1OI+rCarVwHmeRRdK9Utckfbnx/BOUBp+O0lyClol0R?= =?us-ascii?Q?32R0iHuqD50XXiwUZZwRkOhwYRlLo53fTfSIWdEdVhBRaNoNhgBm6aa09Hyz?= =?us-ascii?Q?IzypmSDPb8rKlU48HujC2VdrleNg+2/NBnqaycbWnPRpkWXBN37TWPS84yyu?= =?us-ascii?Q?7896PY2kAl0XxQKYORZ061J47U9PlYRytfRbpkLbx0rThCFav4gWfblhxf4b?= =?us-ascii?Q?mx3ghbyCQ3HmxNuiPL1VZWFs6L82JsSmLq6mi55vsOLJ2pd/b1xdUH7ONNC4?= =?us-ascii?Q?5y5jlKFmafVk6DNvGJibZTcqXgz2xmdmWgcebIH6gmVsj5UbXMu4pkNTZkCJ?= =?us-ascii?Q?rByazRTTkmI100kqQMey/qifDo5n?= 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?jxbEnbhqu1VmJ8p2JA17+qf09DOmGeUwXZEOGRk3eMKw89M/Jy7aNhnfm4G7?= =?us-ascii?Q?O+ftrvBHyCFLXSSFaFAkGy+kydnvsLezBDACL0k71ADG/7SpesKdbcLJ42ij?= =?us-ascii?Q?Aq0ekZ/gbYmQvYbz8ed4vFoiDQoDgNyqWZKrDP8gf3x5BbLce1Yic2l/hhi7?= =?us-ascii?Q?5Ne9wLQJ2oEMzhdPSeHQl8CkH84yUfYcfE9MEaOBcLBRB1dtYd1cOXZHWyxy?= =?us-ascii?Q?+KHUpZ9gF0k9JNAkz2AjzQUzMWZ21fd2Z4AhkOLsyzVHdBEU6egFf+qhFv0l?= =?us-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QMKoQpTr93csnBe2olDUoMHPIUL?= =?us-ascii?Q?F1URLxz0s3B9Y+hfKDt0EzTpRUrwp4Vu3qVCQTWIDWD1tlVWwlNqzgqJt5q3?= =?us-ascii?Q?PVP2SLJnWhVumgqcYmFHZklfgnlNgU2AldpFDGxuT6bbPNEi4MZotRbI4+US?= =?us-ascii?Q?+0pOAQVOjLbR4XhZpBlBtUj/4vf6/uGkGsUQNoCCOb7JvIng7NKezpnx0S2P?= =?us-ascii?Q?O+yXueqkgpsZLxV5jZ6IZSzPWrjj9ypVHMywOyOwzEfr1VOOnH3Qp/HOYSSM?= =?us-ascii?Q?Nm/nQFlQ+cMa3B1UTMwjZj0dvPS4WHRoHQTavzgadSpvCkV6i9tiVAAahKa+?= =?us-ascii?Q?NymEM4eEXzvN3sJJQBurgg2+kpkIfVoB5XnMSQEXp1UScLHQWoiyx6n8r2KN?= =?us-ascii?Q?USwrfVEa74cGkjguReDBysDZJQHTgl4vwISBLxXK?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86641273-bceb-4b6c-74be-08dcf7dfa95b 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:17.2886 (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: H5bmJWw3OyyNCxFGQxDMrX+f1/MnS50hqq/KcKkdbPdpdzZZWiRwKAXkHF2NzNbbeomQnLTOssTIx3VfAuGqpQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8488 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 --- v17->v18: - replace lane-mapping with data-lanes .../dts/freescale/imx8mq-tqma8mq-mba8mx.dts | 21 +++++++++++++++++++ arch/arm64/boot/dts/freescale/mba8mx.dtsi | 11 ++++++++++ 2 files changed, 32 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..9bbc33e9ca299 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,15 @@ &led2 { gpios =3D <&gpio3 16 GPIO_ACTIVE_HIGH>; }; =20 +&mhdp { + data-lanes =3D <1 2 3 4>; + status =3D "okay"; +}; + +&mhdp_out { + remote-endpoint =3D <&hdmi_connector_in>; +}; + /* 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 c60c7a9e54aff..fedc284ebb506 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