From patchwork Tue Sep 24 07:36:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13810451 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 BCFFFCF9C71 for ; Tue, 24 Sep 2024 07:49:25 +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=WQaBheNRc9gXyNygtEKcXbBjuytYcouHQeDhG4+jbF4=; b=B57FTgKjBQrjZXV9LjPD9i7m7f nCjbKtSPRbz/cTdVddibcPHfwoyD1Aug0CupUMzzacHTRgkNvS0Brim+eiggCJcxwwBWGBKJEmXh3 rv1hm/3vqFl2/LjkzQnpUsFhrItgM60P2gDMUlFQP87LFebrvdndgUOGhW8jkQD8+ix+LmCSsKR8S KYWwNJqZZGGb0UcDmcoZkC0zYj2GA/CQbnGQH06deRAS7CRIDZ+Y4P9eyZJhVqZS2/6PfB47ZPpSH vUnMiPfQINvLUbyuSVjVdCRL//lQQupSTiIA7kXLUjVf60wxFl00Z9RLiMWjBnMbHl8EVpHFn3IYu ItsDcjVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1st0IL-00000001U8H-0sDG; Tue, 24 Sep 2024 07:49:13 +0000 Received: from mail-northeuropeazlp170130004.outbound.protection.outlook.com ([2a01:111:f403:c200::4] helo=DUZPR83CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1st08W-00000001RZN-0DQQ; Tue, 24 Sep 2024 07:39:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=LWWeTIyIl1IvGmyi9Y1/izil1D+7+88lAHWkTDoguae3ORsDa9aVdvvKr51tQ2Do/6/ZgXAetSa9ardp1JQTlvhX6E8U4O2kRLJ84rhfJdpcyFkmFUqkW2BMm68ky41L2dwENY4RmhYa8PczYNvHEg5M01RVNxMYC2UGIDlA00uDJi98TXg1j0an/fE5ytc7LMIKB7TEaHZ23dPbH1/JVdmzh6RhlEv8/gEzZFddLodqZQIrUe4kqx0N4VDWAmq9DurUl6reScZkB3X1lk9pAnEOO78/tCrsGfProp0VQdRTHBYJAtOOkNk8zgey+QxokgJCY06sDiQzYEvTOUdMXg== 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=WQaBheNRc9gXyNygtEKcXbBjuytYcouHQeDhG4+jbF4=; b=S03k/bmJeI3E9AJ6a0sy2jdsXXjRcOp4PWRhpCkBuA/6K7gBCLjpePWIE0iZ9bKCimRctZ06hK5hBIbp2sTXZqJx5+LgOL4lfF4sH/Z2PR3E8xJN5M3jlZEnGJNepsGERyjSvisUY9cZ4kWVa/HmQ9Gmsg7p60+fMLNKi5XS/2+3FfhPhavyr+CaPTGyhLvl/t9C12oieCjs9muJzVtBMQgZNduN+7XLeQwaF25l9003yX8K+8WMQL1ZngF9dLL3NzZSxRoxGtdyaU1P/fW9oBE16yLtNMiYoXl4WZcFD3y6bqOgULhPRGnpOOudQpQl8OKmi94/QcIby2QARrS+qQ== 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=WQaBheNRc9gXyNygtEKcXbBjuytYcouHQeDhG4+jbF4=; b=A9vzJnzn0WP7doudEOrXas204tqHP/HAKaruminRFPZ2iMo68O8nRcmKwQ2Exfvfto47i2kYxxmws4aCsI4CApbACv0ZwI0JsYqOccKCEGl1YlnZxcAf4GW17pUJYi23j8+NgmX5ww4DpF1VJ2IZ2XFgxsaQzxOuTOr7cGp5CMdcUI7clbBDlQo2kUQ0upbONAKxRRSBWopGyuvLaYnwvllZQ4H9EUSYNzp0Mj8aY6urbsY1G/QYBC9Uiji9CTKLrkwRoY26Bo+cOKR5aWjBZyDm+c0ONwx6ZBGx3hbAyduNSdP1FJCtqMGmtL8tP2EcF6MqHJUNIUr4973CWaD/pA== 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 AM0PR04MB6881.eurprd04.prod.outlook.com (2603:10a6:208:18b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27; Tue, 24 Sep 2024 07:38:55 +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.7982.022; Tue, 24 Sep 2024 07:38:55 +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 v17 8/8] arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support Date: Tue, 24 Sep 2024 15:36:53 +0800 Message-Id: <8a0b928a420f86537b7eed9c708a3808992c9724.1727159906.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SGBP274CA0008.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::20) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM0PR04MB6881:EE_ X-MS-Office365-Filtering-Correlation-Id: d3de1d7f-ec66-460e-6228-08dcdc6bf150 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|1800799024|366016|376014|52116014|7416014|921020|38350700014; X-Microsoft-Antispam-Message-Info: l7eFBsLP87BHDrDDqNtcDPystl+kjzfVhnCHF9yep5gs2DM+pY8FdRedhMsuRpEX2e4e9ZuS/1wKJPsACXRz1ekwIjAvXLQSXKv5zcHLH+UBvkz9hyMBldcDBdggyj8c/xQqcrJekhdoTt/Xuu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c5JBlwjrd5z0b7u8CaEGiJI5JSslgTIKhyPJku+WlPG3ujAzkKCy06oGKrrTjCbLwuPHRKA8OGOBMPT7i1I819B2x9jf6/GXUBUuGVFkYpW/HvSuld9Te3BU6fp/+dkopmSGaXURVRteta9vRHCP9ICA/hqM0i6vQBFLGvIVMwLYTyJV0qYtaqEiTo+IYYyt6uXwHxF8e7cihw0MK57t+sxKuKs= 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)(1800799024)(366016)(376014)(52116014)(7416014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xN+lhHn6NAr9faRCJvUuv+BrF+7hjU0bpaUeB+61x5T5i6xMsebNvHBN4C0GQXKtltHGxuhGwkjasX6VRDXXRBi1GpsY0aHy62ABJlNHq23z5ftYktHPAU7DvgHLM4YeFh5jW1VpajKW/0Oa85chqJodeMRR5kjCYLt9mdVEHtXamz06KJIPElXLnTn8cepErpHX9/ry8TblKxpcCiR8MAjOrAbmOu1TcyUdXjr/OM/3g0nAprGG555dEIxI3syxBceqQQxsSGDH9BeU+7WHSlkWmO32eZUn02F5rqwmwWoZASw7HwXcjnNJsaI/1dqXpWEihbkZMFcWsRkbC48bwc3D54+TfCYDNpfYX2a8O/vdrrSRD7JwjDYNvimIefgxVL9M+8GsqCGfvZDuFZQMyKxac/d9s/FurRk0tLx70NjMzDysyJjq4x5f7PxErQZFh8kWzXnkQQRWYcV3QThAyAPPi8dpawRUbkmrvqecoKLC4LVoAHHNEu1nZpRTiftkCX9HFZpiyhQRw8GqgGBMVov8sTSZrlydIhMB5S0GstxjD1I+VnuTW9GDjO9sjH+j3uhmFByXJDQ9KMRSg0IUPyGuj+1AjjMWjR1ahPtgoBfzbLRJdryd8JvCvZqkgpe7Ijd8vCQnrUdwv+oiyspdKDisH7FNMn/tyOOnFcjG4b6D8OQuy61B9dDEHbelxYyFJy7AusUyuK5mb7oRLNnlMzZYGq1DVHwrNi3mQLwGxybp8acobeBZWNf13e50tFk/g9952fh1LCjH5U6iZPvWYZ0F9buf/irQVFF6upWXjhsgIjiavqXRoy6Un0ypyesrKt45g3zc3Cl5Etma+jJjIdlFXq8QOFnVs+jjv/4vnS8itAN/39q2Dovwpv8iy34f0hIe7rZsZkrYY5fLQPCK2DORn5loU2HTidqmKkxXY1eOZZw0WS2LjxvtpYbTYwpE1+l1yuOdyNWCq1FbRV16GpHqTRlVim+lLScoNdAwZnZxCdBCP7YFrLCQQm/AvPVt7rWeNQ1a8YrjwsQNPuXnV3W/6TiZmov8WLNpg77WpTU6vUI4ECNzItTlr9BzaBKuXCrhL2R53nep8HLfY+TMN60i88Fie1fBh91jDqWcmLznllCcAWQKBXXXBhoNB6LSuQ+lFi23TUZzuwE0ckhg4JiV7FPeyu0Znu9izm45HNnaDU6bUvtGMbpOfPu/Ja96c7CBpcPH1m1a8gh/Muj8sVZINYqgGI6Jds74W9mWxIyjUe+fwJXV4DPsYojOWbCvdUHhVCQFqyNEjViuVwuSpL9E4wruKaVtyTz3kR+nTBaDAtgmwFn0DZPRsECGXqqS5xWfKxOs76bdplZJDRw7k6rNt/3DhhoyegHlresjNiVQhdoTAbCgIzhSyCT4IU5q1rRmtYggnGP7HSSqFmvdpXTCaUj3Pyn97R/Qe2OwwJfqSFEgROjD/BGnVMEUrkDDkXV92ELsSxxf8zVmOyb/ymBzMeX1JsND5bS/fcE35of+1O1nwXqiUCYnm/K+fjZtFHerXRb5en886xjXU+xi7G9A0JieSBWbvYRqkXBL5PclRuniIGdtb/TpDwdsQNnw X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3de1d7f-ec66-460e-6228-08dcdc6bf150 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2024 07:38:54.9841 (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: ROoPy6XI+jTIHqMU6GQZNlLDzmvKig2XEVuB8vaYtAm65sF7Z+5+x8ViYI9fPxqs5gnklrATj9Is1I8/HXY3Wg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6881 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240924_003904_154260_7B0EF8A8 X-CRM114-Status: GOOD ( 11.46 ) 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 From: Alexander Stein Add HDMI connector and connect it to MHDP output. Enable peripherals for HDMI output. Signed-off-by: Alexander Stein --- .../dts/freescale/imx8mq-tqma8mq-mba8mx.dts | 20 +++++++++++++++++++ arch/arm64/boot/dts/freescale/mba8mx.dtsi | 11 ++++++++++ 2 files changed, 31 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..406c8229097cb 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 = <&gpio3 17 GPIO_ACTIVE_LOW>; }; +&dcss { + status = "okay"; +}; + &gpio_leds { led3 { label = "led3"; @@ -60,6 +64,14 @@ led3 { }; }; +&hdmi_connector { + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&mhdp_out>; + }; + }; +}; + &i2c1 { expander2: gpio@25 { compatible = "nxp,pca9555"; @@ -91,6 +103,14 @@ &led2 { gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; }; +&mhdp { + status = "okay"; +}; + +&mhdp_out { + remote-endpoint = <&hdmi_connector_in>; +}; + /* PCIe slot on X36 */ &pcie0 { reset-gpio = <&expander0 14 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/freescale/mba8mx.dtsi b/arch/arm64/boot/dts/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 = "LVDS_BRIDGE_EN_1V8"; }; + hdmi_connector: connector { + compatible = "hdmi-connector"; + label = "X11"; + type = "a"; + + port { + hdmi_connector_in: endpoint { + }; + }; + }; + panel: panel-lvds { /* * Display is not fixed, so compatible has to be added from