From patchwork Mon Jul 15 23:03:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Klink X-Patchwork-Id: 13733951 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 079B8C3DA4B for ; Mon, 15 Jul 2024 23:04:05 +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:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=SjR3vmUlN7ap4Z9Y3SfERz2cTpTFLruN5w+w6iQ3Sbw=; b=BTRoRSVoholQUj+W8eWAaTlbEb tG3i6jE+BhP9Lof+eJ2RP8dnovi3KhQmqIHGO06p7d+rDi6+KXXF9tahC7MXWK6SlTMn69+hMM7S/ CggEIctIwJjYN9dUawbjQF2z3LVSJelATqcqvvN6O5W9ogYsRnOOImytPCF+0c09CJGnevK1P8dsE 9lvbaG29J4R9OCQ5lQEMShN3x8aRTXTl2evBAB4IhfqsB4m8hDJmlqU+RewCo919U/4W3egNz+9w5 sMMTaQCwG5c8poSNHphanvAoewpLFKHIoQ8fY/rMen3n+uF2gXdd1eRASJv6Ei51aXiuVb/CfJg7q ZTZESXGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTUjS-00000008eiN-2cwN; Mon, 15 Jul 2024 23:03:46 +0000 Received: from mail.flokli.de ([2a01:4f8:1c1e:e12f::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTUj8-00000008eeT-3HBe; Mon, 15 Jul 2024 23:03:28 +0000 From: Florian Klink DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flokli.de; s=mail; t=1721084599; bh=SjR3vmUlN7ap4Z9Y3SfERz2cTpTFLruN5w+w6iQ3Sbw=; h=From:To:Cc:Subject:Date; b=hAD09gcfU/W9Vw3PhjVnXQEy49V6oEvEBVWBJtywYM/JGPw2x7USuL0L/0eeLVlFH x+spFK0reQl8wFzDGtCPrEjVysy8asCqsRpBpGSFYPmzjtM7mZqYfmItNZ3x5P9kjx LWBtHPu0CZNDUmN4lIuzrkZe9SS1bVI8b+jM3CkU= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Florian Klink Subject: [PATCH] ARM: dts: bcm283x: Fix hdmi hpd-gpio pin Date: Tue, 16 Jul 2024 02:03:11 +0300 Message-ID: <20240715230311.685641-1-flokli@flokli.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240715_160327_067075_BAF90F2D X-CRM114-Status: UNSURE ( 8.59 ) 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 HDMI_HPD_N_1V8 is connected to GPIO pin 0, not 1. This fixes HDMI hotplug/output detection. See https://datasheets.raspberrypi.com/cm/cm3-schematics.pdf Signed-off-by: Florian Klink Reviewed-by: Stefan Wahren --- arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts b/arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts index 72d26d130efa..85f54fa595aa 100644 --- a/arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts +++ b/arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts @@ -77,7 +77,7 @@ &gpio { }; &hdmi { - hpd-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; + hpd-gpios = <&expgpio 0 GPIO_ACTIVE_LOW>; power-domains = <&power RPI_POWER_DOMAIN_HDMI>; status = "okay"; };