From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9467E606A320 for ; Mon, 30 Nov 2026 20:39:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.a=rsa-sha256 header.s=20220719 header.b=onoONxMv Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0028E10E035; Mon, 30 Nov 2026 20:39:34 +0000 (UTC) Received: from mail.andi.de1.cc (mail.andi.de1.cc [178.238.236.174]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2255010E035 for ; Mon, 30 Nov 2026 20:39:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=References:In-Reply-To:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description; bh=UBSXC6JZKD10fuhX6UWNVEYJiiz1q8NWFRCtwytFioA=; t=1796071169; x=1797280769; b=onoONxMv/0ycMPJYrGqm/T5PmjHBGECDAmfnCSkzAmp2hc1UTjODds6BR7auYO1nhcgg63v9brX N88zjCZlSvxgXYOC5Gz9BjkQcBfj3nfaHfstF7n1ogXshG3daGpUupx1LwWWIVhrEZypg0Rdkenmf Y16FgY+QauZ/kfrv2cbGr2Sr/VtzyNdNF4VH//GS/IMz7aX8L96AhS3gLRSfSVdAK2MUFzp+rTRDY cclRVA9rMdy8FfSxSos8eTdV3CdtVGyUyJCTfqfhNjx7ixjYW94LXt72v4Tf/Z+cV2SAXpR1kjJ7y tC6NP0GN1VwJpvyPJwJxPuV/q5QKX4ALXesA==; Date: Mon, 30 Nov 2026 21:39:19 +0100 From: Andreas Kemnade To: "Luca Ceresoli" Cc: "Neil Armstrong" , "Dmitry Baryshkov" , "Robert Foss" , "Laurent Pinchart" , "Jernej Skrabec" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Simona Vetter" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Christoph Niedermaier" , "Marek Vasut" , "Maxime Coquelin" , "Alexandre Torgue" , "Tomi Valkeinen" , "Linus Walleij" , "Bartosz Golaszewski" , , , , , , Subject: Re: [PATCH v2 0/2] drm/bridge: tc358762: fix reset handling Message-ID: <20261130213919.0b3bc82b@kemnade.info> In-Reply-To: References: <20261125-tc3-reset-v2-0-32eefcaf1460@kemnade.info> <20261126193423.2344f609@kemnade.info> X-Mailer: Claws Mail 4.3.1 (GTK 3.24.49; aarch64-unknown-linux-gnu) X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "dri-devel" X-Spam-Status: No, score=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Thu, 26 Nov 2026 20:37:40 +0100 "Luca Ceresoli" wrote: > On Thu Nov 26, 2026 at 7:34 PM CET, Andreas Kemnade wrote: > > On Thu, 26 Nov 2026 17:31:09 +0100 > > "Luca Ceresoli" wrote: > > > >> Hello Andreas, > >> > >> On Wed Nov 25, 2026 at 12:37 PM CET, Andreas Kemnade wrote: > >> > The bridge driver desserts reset after disable and asserts that > >> > upon enbale. That requires users to workaround that by declaring > >> > the reset gpio wrongfully active high. > >> > > >> > Fix polarity in the one device tree actually declaring > >> > a reset line. That patch has to go in after the bridge fix. > >> > > >> > The issue came to sight during experiments with reset lines on the > >> > Epson Moverio BT-200. There are two of these chips with a shared reset > >> > line, so also prepare for future conversion to use a reset controller. > >> > > >> > To avoid having GPIO maintainers spammed with a bunch of patches for > >> > BT200 support, do that fix separately and now, so it can go in more > >> > fast-track way. > >> > > >> > The devicetree change is only compile tested and is more > >> > a cleanup, not an urgent fix. > >> > >> Can you test it and report back? I guess it just means applyint patch 2 > >> without patch 1 and checking whether it works. > >> > > No, I cannot test that. What I can confirm is that BT200 reset with a single > > chip works with GPIO_ACTIVE_HIGH without Patch 1, with Patch 1 it works with > > both GPIO_ACTIVE_LOW (which is the correct descrption of the hardware) and HIGH. > > Ah, after re-reading the details I think I got what you mean: your hardware > should work with patch 2 + the part of patch 1 changing tc358762.c (even > without the gpiolib-of.c changes), right? > yes, for the hardware touched by patch 2 (I was grepping for possible debris I might create) So for that hardware (probably same situation for all the RPi Touchscreen hat overlays with the tc358762) out thare: Patch 1 Patch 2 not applied not applied works not applied applied breaks drm part applied works drm part not applied breaks fully applied applied works fully applied not applied works My hardware devicetree is here: https://lore.kernel.org/lkml/20260922-b2-panel-via-bridge-v1-9-45ff36b364cf@kemnade.info/ I will take the brush again after https://lore.kernel.org/lkml/20261124-tc358762-fixes-v6-0-bd38fed6460f@ideasonboard.com/ is in and rebase. Regards, Andreas