From patchwork Wed Jun 12 10:17:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 13694772 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 3AEAEC27C53 for ; Wed, 12 Jun 2024 10:17:51 +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:Cc:To:Message-Id: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=CfBySjCLhdPg25qelMt2+tvslyXTXvLTckrLcGn3QEc=; b=tXc1oi0W7+LysMtol+zqBSuQUO /3DLjUONVUR76OVGaYLX9dFGyRFkFOl9xn9R9DUbAMQkrpBeaQ8HHqH9W2/tJp52tDId5n18en7p4 uvoiPuUIxRGQr9F9OcFs18AsGgyO9M7kui8TUtiXMB0X00HtwPyjO0CepuWYDKtxg3wyXUSUjKyI3 AyP7ygtK+FPKLV0ztwnFhRtR2iDSc0kfg0WdKVlwYOOdnTlcbAvxOHofAFD1fXn0wbVODj6OFiU0C x4XVbwB+7PLeohhp7UA7FO6thWZC0XlHvtwWuwtF+idhPxvezh1gTbVC+Hl0FFDwLZQvcpnA2b+gX VP4Bgekg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHL2v-0000000CBsE-3y3a; Wed, 12 Jun 2024 10:17:37 +0000 Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHL2t-0000000CBpO-0tSS for linux-arm-kernel@lists.infradead.org; Wed, 12 Jun 2024 10:17:36 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 57D021BF203; Wed, 12 Jun 2024 10:17:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1718187450; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CfBySjCLhdPg25qelMt2+tvslyXTXvLTckrLcGn3QEc=; b=baylP864iq/ua2yedrZZPQeSvLYCrueoxX0C0+8cwhMaJ5bbdxW2zob4gCWTUIeOko2y7h jy8zAKnY0McE6ftj+OdlOAWvUq5duntD/Z118FHUixiOI+7sannftpGC7nRkYuXNlIT1tD DKlycYfJ3M4p6f45rC9qHonot5c7nL/IYpyjdsjqMxAsCCHgHQ7sIFts5YjBhS29/ZT8l3 qatd9SrA2oFAwNvY2B0XtdTlHf4BAwLRL8FNwOpeStplSiCKm+5Z4TEL4IW3Vr25MtoYDo YEaeF8nBxsLBvVbHHdh20V3GKRz+ClaC+yXyOPyTEDX3bEcdSZBSoqe2NY9bgw== From: Luca Ceresoli Date: Wed, 12 Jun 2024 12:17:27 +0200 Subject: [PATCH] arm64: dts: imx8mp-msc-sm2s: Add HDMI output MIME-Version: 1.0 Message-Id: <20240612-imx8mp-msc-sm2s-hdmi-v1-1-6c808df5205d@bootlin.com> X-B4-Tracking: v=1; b=H4sIALZ1aWYC/x3MPQqAMAxA4atIZgM1/iBeRRxsGzVDVBoQQby7x fEb3nvAOAkbDMUDiS8xOfaMqiwgbPO+MkrMBnLUuK4iFL17PVEtoCkZblEFm7g43/vW1xQgp2f iRe5/O07v+wFF1HH2ZgAAAA== To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Lucas Stach , Adam Ford , Thomas Petazzoni , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Luca Ceresoli X-Mailer: b4 0.13.0 X-GND-Sasl: luca.ceresoli@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240612_031735_584866_6E2AB4A3 X-CRM114-Status: UNSURE ( 8.62 ) X-CRM114-Notice: Please train this message. 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 Enable the HDMI output of the MSC SM2-MB-EP1 carrier board based the SM2S-IMX8PLUS SMARC module. Signed-off-by: Luca Ceresoli --- .../boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) --- base-commit: 2ef5971ff345d3c000873725db555085e0131961 change-id: 20240612-imx8mp-msc-sm2s-hdmi-4df0b8b5b32c Best regards, diff --git a/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts b/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts index da4b1807c275..83194ea7cb81 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts @@ -46,6 +46,24 @@ codec_dai: simple-audio-card,codec { }; }; +&hdmi_pvi { + status = "okay"; +}; + +&hdmi_tx { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hdmi>; + status = "okay"; +}; + +&hdmi_tx_phy { + status = "okay"; +}; + +&lcdif3 { + status = "okay"; +}; + &i2c1 { sgtl5000: audio-codec@a { compatible = "fsl,sgtl5000"; @@ -92,6 +110,15 @@ &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_smarc_gpio>; + pinctrl_hdmi: hdmigrp { + fsl,pins = < + MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x1c2 + MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x1c2 + MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x10 + MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x10 + >; + }; + pinctrl_sai2: sai2grp { fsl,pins = < MX8MP_IOMUXC_SAI2_TXFS__AUDIOMIX_SAI2_TX_SYNC 0xd6