From patchwork Wed Mar 6 10:16:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13583764 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 7DC6DC54E41 for ; Wed, 6 Mar 2024 10:18:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=G13kAQzMlEPXRPflMBHzPTiQnKB82qjPy/WQ3+dsZ50=; b=t4af5Kzrl5AKMr W/+EHC8cnlvUHX64AN8Joo2hlcfO6e/VC4CVlHAI5ikQCC49+hqHspsIsuhvRWARxsapE1koXm83Z bbEdQc6OEQsicOVEGhrPcBdxCLFf4H6fN9X41hb6w/QllYvTzQYfy8dzQh6ic8mc5ezPqOe6m9lbX MWWaDsEkCEF2gqJpK34PQLzJujfjS5iAgASYysNKyN8U2SL9elWXCkS6fOzhPRvaN2E0xSIQecxTP sRPkyKzO6KkD5UwCn1njsRpG5j3/44w4IBEVJPTYWGcHTmsR+Q8QNeJF/4DccAeLAa9249enyXc9P 8nYqPznP9SwBuvN0yWBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhoLo-0000000HMe8-2R3L; Wed, 06 Mar 2024 10:18:16 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhoLQ-0000000HMR0-2wzL; Wed, 06 Mar 2024 10:18:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1709720272; x=1741256272; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BQHn5cMhACeKzP4WjQoGsW0iJFib1tQeq8/rY6dbVNs=; b=oodvHBQmN+Wlpgd3x8/1ugH8rXtGkpge597n5yt4DLQjiMY6YUhY1fCr dMB2KUgctrFvZj6npvPBLF9tQu5+7nM703ui+5STXo1zlzi/vpLQVSlig 9cNs5U06EKk5mzOaZ+LMWL6xq4n8Bq+OJtZ1dzlHcV6YXuJkctPBmwt/H vZ3u9KPbady1QpN/mTDZ/Pd9xsigUC7QRWmv9SNmNWxy1dDfknUObVKXn 1aigWXmMtN4JjPLzvsNBI73DekcLjkNj/aGvOESaKE0Bafw4szOgvgEXf ZaMki1+bOmiXAbLdFqa1bNs/878NWp/6omiXXe1roo3rbKSr7+d+RUnDN w==; X-IronPort-AV: E=Sophos;i="6.06,208,1705359600"; d="scan'208";a="35760944" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 06 Mar 2024 11:17:50 +0100 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3A03716FFD7; Wed, 6 Mar 2024 11:17:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1709720266; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=BQHn5cMhACeKzP4WjQoGsW0iJFib1tQeq8/rY6dbVNs=; b=W/Rm+8ri6ogmIreodRdN33aw/V9mbNfIpdf7R2INzcis8fj/c7CNBmrc27Ue0Lko8Hvp+O cupE9Qzu89YfXBFzcl18ET/vJ+OyQgnugeBPEbV1coQzEg1KdtHMAJZxrxqy/o0mph/f6W brX00EfQXtjDEyMJZAXhpA8hG4VtNgvBEEGcsk0tqntYeUFcJFdHIy8tWh/CNLsKxDe3h+ cEKuJ1ZytdUggu0SMduiwnrOdIz02UewOcgcmtUqeoEPyE3W0Gkn2Gu0EcJ3dUk1cSRckQ Eue+SH7F6u0W7a2eldCtBp9mn2yvlQoN1Bi5zFTZm/0XoDVF8nH5LmdC/9hbIA== From: Alexander Stein To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Sandor Yu Cc: Alexander Stein , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux@ew.tq-group.com Subject: [PATCH v15 8/8] arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support Date: Wed, 6 Mar 2024 11:16:25 +0100 Message-Id: <20240306101625.795732-9-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240306101625.795732-1-alexander.stein@ew.tq-group.com> References: <20240306101625.795732-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_021753_211469_C906C383 X-CRM114-Status: GOOD ( 10.69 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org 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 427467df42bfa..9fe262a41b398 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