From patchwork Tue Nov 29 14:05:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13058623 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 189B6C46467 for ; Tue, 29 Nov 2022 14:15:01 +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=v744ueawqjWYWljyK2+rSqcpswsC/zISV8/OxHesULQ=; b=1Wsnp3AXg0KpmX 7Y5DCN1rUpvPUFWM4He35Ihd8qMZdmDjuS+OgtJq/d++h50xeb3GTAIamDtkHVnY6ydkixvjPyXA8 6pNaiSW00QFOAmPUphqi0phDkfHjqcb4rqQlOrrN9d59mNkuaTwiklwl9468RWxa3eNLV37ViFAbt uTpKjr4uPTr61RgZwBUWV+s+eB9clYqgycMDPJqWns5S4twG9E4RCZv0Enq8zRaetiMeHBEgCnCxz OoWho2mHiLmxM6kXyTTLIF1uZy/kkFu/+6NnsOFTKmb3wIa4351H7I1sF4mQa5TUUUCBMBarHrp80 QJdsS0llaxYB8xjgRyNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p01N7-0098BZ-Kq; Tue, 29 Nov 2022 14:14:05 +0000 Received: from smtp-out-05.comm2000.it ([212.97.32.73]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p01N4-009887-F4 for linux-arm-kernel@lists.infradead.org; Tue, 29 Nov 2022 14:14:04 +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-05.comm2000.it (Postfix) with ESMTPSA id 9EEB2825CF7; Tue, 29 Nov 2022 15:05:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1669730757; bh=ppnWKo+T2iOXu6K5xdyOO9k93h0u1SwJWycpsdSijtA=; h=From:To:Cc:Subject:Date; b=Mt/6GngWTUJeapkqa0kpwYYbeRzGisQhXObMKrgStu6ui9NjrW7JViNl2/yvgXiW+ /8FBsDdw2t1VtLjkTLC1O8ZAwpGFHQlcOQrcZokqAzpc8yIIvE2eelUBAJzf2D81kM Xs8r0GaASTaT2442QymF+nT0jurvuCyeYm3kKmMEYkYggq2ezZdzxKF6RgdR3Zg/QU x2eGJmDq74RtzXy9pUiE2ETwDmF8KyqPEFv/QbW9z+VmzyssCpFXbdpcWC5om5674e 817Z5Ibfp1K2pGUxXmDxFpURXzyNsvxHb5rSixtbYBD+tTV8MpTdPVeUpbGkSTrkxq eR7hv+KMHhaZw== 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 Subject: [PATCH v1] arm64: dts: imx8mm-verdin: enable hpd on hdmi-connector Date: Tue, 29 Nov 2022 15:05:29 +0100 Message-Id: <20221129140529.33782-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_061402_672318_547C6155 X-CRM114-Status: GOOD ( 11.62 ) 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 --- 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) */