From patchwork Tue Nov 29 14:09:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13058603 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 50132C4321E for ; Tue, 29 Nov 2022 14:10: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=spd5SylFKoa4z0XDrUnkPwmVq/u4ICr+4Z1JNNkAwDk=; b=4422ISdmGVlEaY BeF7pMXzmlkJf8RqzjuxNWdNkR+8zJW7R+H+QZTvp/CIlATrg5yrXt6A5daLKAOF2JwoKLDzJTdkW qgAqckkeo/DXYOSLh0El80b0AsFKAxeK/bkkMN8dr9ZF+BDu+P0TKZQL0+ZZq1twDKrgSxOejIn0s VV/5eImYj6stT8t3CrRXNSw6eAbZcIkZSk2ABR+SbfijO8cNUd+Kp/5GE932tC6RfRYRoGfyMkefV 7mUnJmivK8gjh/FeffP+S0kK+/ariuj430YBSgqWeRpHXkLgkcVfsRLKNhwFdgQ0+PRQQVQonGoSY SF3sBj7n17I425nwk+wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p01J3-00969w-4H; Tue, 29 Nov 2022 14:09:53 +0000 Received: from smtp-out-03.comm2000.it ([212.97.32.66]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p01Iz-00966u-7A for linux-arm-kernel@lists.infradead.org; Tue, 29 Nov 2022 14:09:51 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: francesco@dolcini.it) by smtp-out-03.comm2000.it (Postfix) with ESMTPSA id AF8D0B48EA5; Tue, 29 Nov 2022 15:09:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1669730983; bh=7YAGlJa9hMh0rdTbhXdU19bvu65xO83SPl8RumouZf4=; h=From:To:Cc:Subject:Date; b=CeJXP/s/83pJK4oA9ebbQF8+UVoWb7B4QPu/+9E/UKp0uiooblEGfxF0/CgoKqXtP XNLosk8tG+GSgLyBJzhl0aT9HIkcV38hBYq1hLF4aDOSBMc0h3sL9FKvMi/dt2xq1R 3O0VOC9wIX7j3yu7fTtD/BUIIkBiT6TBB2oV8N+I0izr3WGxqgPEgfhLTzBMEd0VnI FjM1fOIaLo1n/1GOA0tb/B0rtQyfWr/MM4VM90atn9+ZLqybAaEVtPOiCvG5vBWIQS qSINCI6rjA7XdjWx4zqE1C5/QGBIc7C2Tnm8t2xg/a/NjTSyjfRiAeM/FG07QU4gGk WZDepKzmIbWfw== From: Francesco Dolcini To: linux-arm-kernel@lists.infradead.org Cc: Stefan Eichenberger , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, Francesco Dolcini Subject: [PATCH v2] arm64: dts: imx8mm-verdin: enable hpd on hdmi-connector Date: Tue, 29 Nov 2022 15:09:35 +0100 Message-Id: <20221129140935.34428-1-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221129_060949_443489_CA88F33F X-CRM114-Status: GOOD ( 11.79 ) 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: Stefan Eichenberger Add hot plug detect gpio to the HDMI connector. Signed-off-by: Stefan Eichenberger Signed-off-by: Francesco Dolcini --- v2: Added missing signed-off-by --- arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi index bcab830c6e95..8cc8a80ea255 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi @@ -56,7 +56,11 @@ key-wakeup { hdmi_connector: hdmi-connector { compatible = "hdmi-connector"; ddc-i2c-bus = <&i2c2>; + /* Verdin PWM_3_DSI (SODIMM 19) */ + hpd-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; label = "hdmi"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_3_dsi_hpd_gpio>; type = "a"; status = "disabled"; }; @@ -598,7 +602,7 @@ hwmon: hwmon@40 { hdmi_lontium_lt8912: hdmi@48 { compatible = "lontium,lt8912b"; pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpio_10_dsi>, <&pinctrl_pwm_3_dsi_hpd_gpio>; + pinctrl-0 = <&pinctrl_gpio_10_dsi>; reg = <0x48>; /* Verdin GPIO_9_DSI (LT8912 INT, SODIMM 17, unused) */ /* Verdin GPIO_10_DSI (SODIMM 21) */