From mboxrd@z Thu Jan 1 00:00:00 1970 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 211ACC5516E for ; Thu, 30 Jul 2026 18:50:29 +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-Type: Content-Transfer-Encoding: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=lw261SftemxN1SqHSmMtQfPekZaiyKsME3L516pe5q4=; b=cVlm/YJxU1fUfollLIdTbz6GSX soNyxGQKYN8mAS7+dkFWBsiAeZpGoZn1oSAeHiQBAuREGmDgnKwS94m/yv8ZY6lVCM2RF+b7Fc5WW y3wOQeAZ6w1yIO8+ml+JPZq+fTbMHvocYZWEgVMLxD9Cq08bhInPOJRfW5eOlF+oeQphVn4+Xo716 uerirHJ8g8SGIaxPjY5hAP/aILvrndqkOBMI2Fl5KYhxkfzzfoLW2pDeAPTpvy387ZEvkQCSgzA6i 1vjYC7iSV00RIcZtmt/kHBHVki9qRn4r3zRndiCNZW5GbNZp8xey8YcJ/13H5Fk5u+BkC57x/a0cr f6SiDm6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wpVpm-0000000BBEG-2oaJ; Thu, 30 Jul 2026 18:50:22 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wpVpj-0000000BBDb-2OnM; Thu, 30 Jul 2026 18:50:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Type:Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To; bh=lw261SftemxN1SqHSmMtQfPekZaiyKsME3L516pe5q4=; b=EdR/nENw/RKQjMwL7fuYGbAaDb DmWHpj6oHz/AD/uqXIBHEuNvGTFKc12WXNLx7cpqJeM5UaPHUgO4g1GCNK/gmeHOVsB47Zv05qGHM 5Wl99fd6H0oQZWbeEUt9Q7A+a72saSngMEMGF/43Ckj9nEo4pDrbFcuOMpF1I6QrVzMok6PutRWST LYsv7WzB1WX5QbDf1Vu3wAyY7U9vTO6EqLcsm796rV1y/AN3xTUAoe2xGKT+3GppRx1t4cGg6qCVT bWHPhZVjdIyhK/eZUgRJeJLq9puDihjHg/XuQVdgs/ZMTixgso0dQIZNC71LQUB6+UJAuf2+S6YBE 03Bkb8ZQ==; From: Heiko =?UTF-8?B?U3TDvGJuZXI=?= To: Andrzej Hajda , Neil Armstrong , Robert Foss , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Andy Yan , Damon Ding Cc: Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Dmitry Baryshkov , Marek Szyprowski , Sebastian Reichel , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Damon Ding Subject: Re: [PATCH v1 0/7] Add HPD support for Rockchip Analogix DP Date: Thu, 30 Jul 2026 20:49:43 +0200 Message-ID: <2014349.VZ3vTMCxA0@diego> In-Reply-To: <20260730032744.381566-1-damon.ding@rock-chips.com> References: <20260730032744.381566-1-damon.ding@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260730_115019_692312_49001759 X-CRM114-Status: GOOD ( 14.77 ) 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 Hi Damon, Am Donnerstag, 30. Juli 2026, 05:27:37 Mitteleurop=C3=A4ische Sommerzeit sc= hrieb Damon Ding: > This series improves the HPD (Hotplug Detect) interrupt handling in > the Analogix DP driver to enable reliable native HPD pin detection on > Rockchip platforms, and introduces platform-specific HPD detection > schemes with fine-grained interrupt control. [...] > Tested on RK3576 with both native HPD pin and GPIO HPD configurations. >=20 > Native HPD pin mode: >=20 > &edp { > status =3D "okay"; > pinctrl-names =3D "default"; > pinctrl-0 =3D <&edp_txm0_pins>; > }; >=20 > GPIO HPD mode: >=20 > &edp { > status =3D "okay"; > pinctrl-names =3D "default"; > pinctrl-0 =3D <&edp0_hpd>; > hpd-gpios =3D <&gpio4 RK_PC1 GPIO_ACTIVE_HIGH>; > }; >=20 > &pinctrl { > edp { > edp0_hpd: edp0-hpd { > rockchip,pins =3D <4 RK_PC1 0 &pcfg_pull_none>; > }; > }; > }; Yay and thanks a lot for working on that. If I roll my display-port carrier board back to the analogix-dp being the endpoint, this works exactly as expected :-) . I can plug in the display at some point after the boot and have it detected and setup correctly. Same with unplugging it while the system is running. The connection status is correctly reported in sysfs. Though there is a caveat. When the eDP is not the last part, this does not work anymore. The detect function always returns "connected" if there is a next bridge available. My board [0] has a physical DP connector on it, so models it as dp-connector, but in that case the Analogix driver always reports being connected. Heiko [0] https://lore.kernel.org/linux-rockchip/20251009225050.88192-3-heiko@snt= ech.de/ =2E.. same effect with hpd-gpios in either the edp node or dp-connector nod= e