From patchwork Sun Mar 17 16:48:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13594765 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 ADB9EC54E67 for ; Sun, 17 Mar 2024 16:49:22 +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=LJotXfrr6R1dvGyt6Jou28bTCmx+9NgCBrhJoiObCis=; b=DVo/VUnb04iRXp 9ztswgSDeZoqJjftyDnR8Xa7FPN083NZ9/78rNtVBGlIuLaZguLA0cbUnncfbLE3lV9B6lt7oksxn uB0t8Bo2B99MUtr2NSKuue+gDnaAjqShKU4iNzAWxgIGdO5bFV+6sLUx6NnJSNJd4fAPuVeLXLwIr 7PLnEc/Kwla6BfFV1WVXwB/AaahbhxvokyV6/is/RPIFdREjUBwMpZ6UjxitVX4/wDnnUkrQ+vJjH Tj9zaPLKUGae1c1P+7m1YxLysrlbqohZGf9EJUUD8/5T73kkMW8XmtVfDtDbY0aO2OoHGkXwbDyzY 5D0S+IA6GIvrbXjwaD0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlthA-00000005o4Z-20IN; Sun, 17 Mar 2024 16:49:12 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rltgx-00000005nyW-1aBb for linux-arm-kernel@lists.infradead.org; Sun, 17 Mar 2024 16:49:00 +0000 Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A1B2115C2; Sun, 17 Mar 2024 17:48:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1710694112; bh=+O/vlZonVinsZWvGzNB4jzLy9xzf97iXd82SLN8vLCY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g+pJ15x6e9SeHvxJQotkVsVUTtL3z58XEPjOrC+0sLRW1kQxmX5oIfPkTQy2ZZovV NSRcPf3z53OSUElsGOtw0AXwlT93W3c+q5HThjnwsGfyNooydgnfrQB0xg8n/FGtTv UlfQJM5p+VNZhCUz22H5gu7TITevcST7nsB3ZGMI= From: Laurent Pinchart To: linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , imx@lists.linux.dev, Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Subject: [PATCH v2 4/5] arm64: dts: freescale: imx8mp-sb-ucm: Add HDMI output support Date: Sun, 17 Mar 2024 18:48:49 +0200 Message-ID: <20240317164850.32708-5-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240317164850.32708-1-laurent.pinchart@ideasonboard.com> References: <20240317164850.32708-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240317_094859_643264_AF64E84F X-CRM114-Status: UNSURE ( 9.60 ) 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 on the Compulab SB-UCM-iMX8MPLUS, using the HDMI encoder in the i.MX8MP SoC. Signed-off-by: Laurent Pinchart --- .../boot/dts/freescale/imx8mp-sb-ucm.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-sb-ucm.dts b/arch/arm64/boot/dts/freescale/imx8mp-sb-ucm.dts index 0141d85dc6a3..9dfa43d14a9b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-sb-ucm.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-sb-ucm.dts @@ -32,6 +32,18 @@ dsi_backlight: backlight-dsi { status = "disabled"; }; + hdmi-connector { + compatible = "hdmi-connector"; + label = "hdmi"; + type = "a"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&hdmi_tx_out>; + }; + }; + }; + reg_3v3_per: regulator-3v3-per { compatible = "regulator-fixed"; regulator-name = "3v3_per"; @@ -70,6 +82,28 @@ &eqos { status = "okay"; }; +&hdmi_pvi { + status = "okay"; +}; + +&hdmi_tx { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hdmi>; + status = "okay"; + + ports { + port@1 { + hdmi_tx_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; +}; + +&hdmi_tx_phy { + status = "okay"; +}; + &i2c2 { pca9555: gpio@20 { compatible = "nxp,pca9555"; @@ -134,6 +168,15 @@ MX8MP_IOMUXC_SAI1_TXD0__GPIO4_IO12 0x00 >; }; + 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_HPD__HDMIMIX_HDMI_HPD 0x0 + MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x0 + >; + }; + pinctrl_i2c5: i2c5grp { fsl,pins = < MX8MP_IOMUXC_SAI5_RXD0__I2C5_SCL 0x400001c2 @@ -210,6 +253,10 @@ MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0 }; }; +&lcdif3 { + status = "okay"; +}; + &pwm1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>;