From patchwork Tue Jul 2 12:22:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13719575 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 83476C3064D for ; Tue, 2 Jul 2024 12:25:33 +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=Zz+u4KiCh+PJizTzFPikS+LpxSJJQYp7FITN/arVoQI=; b=taLDzeZfBFe9K2c9qlrNehLgRQ C54IL+92ZKlfpnQTCcTDze4MqEftFRMhKp4x0FiXJ6LTvZrinx9uRGVOiZwQQmF91RordQF34ViG2 gSYvfPewt7Frp/NhGwU1ThIXwdJaEwQR8eRQ4CF04nC8udE/XhjbQJoUwgVB473b1J5bLNw3u4loi AeRJyyqB2Jep1Uvqlvo0H6npmrYr/QsUKAQFoYlI8CojUQ92H+NmjUs2xRvH55mJ8QzYddEkIUF9a 2Xqx7ww/jzgDV1VkJgSVFK7oijgoVLyXK0ih+Gus7Svg75AXmCqy5USDjZV2L8RO6HB6gBF4CJi7W lczSdC2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOcZT-00000006fWH-472p; Tue, 02 Jul 2024 12:25:19 +0000 Received: from mail-am7eur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260e::601] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOcZ1-00000006fCG-2IbQ; Tue, 02 Jul 2024 12:24:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ivs8/xc1DIwE7I7JNq51q6DNK1lstkLztgLlZAelcLovSRVAYxyoGErbNGj7ZKJgOoM9K+UcF0RovPi1g19MnWUWeXMs4v7Qyyie8OC0oGUY/DkznlpoxVWcFqptBFG5yRAaaMx5IUgeWphGlbKr3qh87QymugG3vUDvJK0FEIK6LTyq84jmt5OmVlnvwA2CXW3Ic9Q/aLYa+l8SRslBGbQAG9XU3leGGZ2PQzLGq4uKuAoFC7/tgxxddi3e1n9FdqBkgW7x+gHVuXlShRQ3FAadbMOYgtGRfiQ4n29aXMl6Vz23NA4Lhg9hK+1l/aoVNo9b1qDieUX2w3zpXik3NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=Zz+u4KiCh+PJizTzFPikS+LpxSJJQYp7FITN/arVoQI=; b=PYtkA/j/J3LohrlJWWrCGSZ77783ruQ+qpaTVRDSeXJCuepbe9ArnsPDziixvACJjDRKMzpiie0tiDKYyMSGy5U/YBEhakt0a7dmtjLrqiIhkIsFteNt5R1bQQtP/SN2alKR2Btazqr0MUh50qyzGzdmjEM7ssz/Y1I/TiZ+3eIRqd/JUrFyh/KYUqTnNTZ3l4myh+tTwsKcfJkVLh7YEI02zE7V7+Aje7xpPei2c6mi6nMbt/QyaOIyPmKDQLVnf8PW1vKFDGKm08FZtXYICLsOhbQdCj3BAGd2wFJbkEX2+k9czOnFcpbrxgiPuRiB5bOR9BkZhmTsQdUfEPhzpg== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Zz+u4KiCh+PJizTzFPikS+LpxSJJQYp7FITN/arVoQI=; b=d7tHIHW39tdvZ82//RENbp0RFLlOJXxJu8lVxrfo5KdqPACppnE543wuPXW8spP29U3jDV8vff54AMROBN+hjcgyhCd1Q+6ocUBM34CBEBhHYRvSEEYalbV8g/S5ogE9r8Hg3pM66eVixskiiOY9XscrjlxLa+y2v2Tt0oDj2yM= 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 AM7PR04MB6870.eurprd04.prod.outlook.com (2603:10a6:20b:107::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.33; Tue, 2 Jul 2024 12:24:48 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc%4]) with mapi id 15.20.7719.028; Tue, 2 Jul 2024 12:24:48 +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 v16 8/8] arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support Date: Tue, 2 Jul 2024 20:22:40 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SI1PR02CA0031.apcprd02.prod.outlook.com (2603:1096:4:1f6::11) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM7PR04MB6870:EE_ X-MS-Office365-Filtering-Correlation-Id: 51eb9bfa-851f-4c0c-5769-08dc9a91f718 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|52116014|1800799024|7416014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: w1EUcZFOT8iCAYF6CQRLgk7BiWgotThjCXAxmfyO+ZFuIpzeyScuDQLlsNrw4wwC8gjAD+TCx4e105ku99JKPrDrvYSgJyjSO9YsAZDvHzD533DHuVQ6gxpRIOJB0+HGL9tRrF/RQXCzWQf9WNqtgP58zx7WC7dCI8KP3tEtoSGyiUbL4zMHXpRdurS7EHvDfWMxRAllP43fIbf1WhYAW819Yj9JgSVYuLMe6eocDrlnnEorCO0X4VVuC02BOtOY5DTrjkrASe2IE0gdoJdoMkNcki26yVi86sF3ZYFGI/Y3lDUTn20kRQvpLhuYKtmVYN/35QRUPI5Mu9y4QMISuUYE8L4CgvmHy1HiaiOnHuB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8eG7sUug= 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)(376014)(52116014)(1800799024)(7416014)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TiLj/x4uePQDMRrhLvlnggazq7vLJ7o6OhjLmx7kVeRGVLKCgdlDjG8Ocv+YfPIJ6SRXXRjqNXqH4sVVXXLq+7QNR+0qVg4OZupd4dQSO3qTB5eh/fYxda0qWrCeIpfn+ATv5awajaVZ4vDZR6iXoUqJRn0hkI/rc+w7TdIhpNKF510V4bBrYbNxsOrpwQ9cg339r2p3O3TpjXsS5Rn8I01x6ZTup3AVH0OM6zlVLF7YVugYN2aZwcDgMZE2YmDZeNZKJh6Khw3mv4fj1u/undCuZtQf6zzmu93EQxRFKwsfI8zIM8tAgow823JXGf/J0a0Vw/5sjSkT9BnmOJRJnmRDhYjK1zFDt8AMoygccDhVj0usgXaUNNTGDIV85ap28gjRX1M0mZGtB8V77BkwqWoW2ZD22/Pf0TLVixot3PBAsjXu5WaerF3M0Ro315pX3d7CS5yFQ7BOtosgpoFAcHug4HCJjTEBA0Ppo/v6XXvuma08SJNu7oGrJBqzKH3qEZT5j56ffD9RUt0IYrhaZUZ6eDMgmzkIMseZnnoh1mun48zhnriFtagtBZzObU7UAmVWiAuKjaUZ5bXoNeaLCwoysFBNOpcbuFpw33ZR7xYhPn0kk4aKGTjAKIGEH6TiAl+TZf1Fcnl3QoR9w5bkSLNyfLCyHPp47Dvw9xEDtqR1IIPFvJikVBqf97M8uZadMNi1JLJLNP2Gu1nwvfXPPEs6vbTnzDUb9rlABXFpGSwqtN8gqBj/BZdsLi+waGZhoeLr2yG7/dHwSkVYyr4iNeWaDhQWDy9tDsv472rMp5az+CgpbWmKwsMcbEpdI921LkZtBq0htAspPKItTpj5FxySNEDP+K0Gtrplk5wCn3C5fy+ftaIdynqSase57JcWtVkW0q/hmfA6FTDBGI6idjER4Toaz29m4WFOdoSuoLya7U+MjYjGoWb0yteKgH51g/li3XaiWO/vex14uuVjfwiPSUxE7Gpe6b9gxiLscSXJ3AsQX19nCp98rHurd6K89ZTtt0gb4kntGyMscBV8Gxa1tawyVDsrWLpjOOFobBXOEedGRH4RaAzCIshMRxDGRxI4fQqUaxzxdWVdmpba1zQJyNZ/bh7kkyZrfwL62B8Q/IDsXsVC1KNzGdWkN1fDKpqlTV2tajpkYfX8ktOOoh/hgj+SfZ4MRxM3XD85poDaJLeLvKUP1AyVYry1LjA3o+m+W2YQfjaXtJzTlx9AYp8PMjRZ5VGI6hyE9NhgLAPjAB1rWnq7X9ohi9Ou5/jiNgVx6QNGO1LxV9FDFtMr1bRDksC/dVeQxlciM5wvTdSYfkx97qLKDf3cnj18oaeA8CVdI0uRtuQUu0sW1TkM50tw4G9flM0GhYgno5NqVbJFLbj2x2MpID0bmJrieYk5TBKU5wJUdbpUzAndCfAxJ6t+Fxwcz/T2RHcPSaFcUCinrCHEv50kcvsIbkEQ9sawSEAqmV4O0FlcmpguP+NaY7KD9aBo8md2lkIXp2vTQ+oXgP55kPUbX6IvQtRHrFxv957h6Qx1TvJe69Gog+EOPsZgKvqFAguFVf41kZ2dpq2TogGS8q/4feLvArRKQmgC X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51eb9bfa-851f-4c0c-5769-08dc9a91f718 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jul 2024 12:24:48.8499 (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: sJQeOk1c5+yzErtBUqcqQzxU/R2XTUNEtFhCSiGboEJT2PVcbg63NVKroP371XbkTydKCjKj+TIwyVm/jXf1jw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6870 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240702_052451_757767_06D2AC00 X-CRM114-Status: GOOD ( 10.97 ) 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 0165f3a25985..406c8229097c 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 815241526a0d..ebc479070b29 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