From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 9943C606A31A for ; Mon, 30 Nov 2026 20:39:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Y9joW/+N; dkim=pass (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.a=rsa-sha256 header.s=20220719 header.b=HzwGe+DS 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: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=UBSXC6JZKD10fuhX6UWNVEYJiiz1q8NWFRCtwytFioA=; b=Y9joW/+NWR2R5/ HuwDmCJElXwyOzdbaMp7uPthnK/v2Fj0zFcS5jnIaNJaX7utP6Ro7ZKbiZH2GHlAkbLs+CAA68cuF C9DK3v+a6VCSsHeJiKzAsbkNTULJgH9SOXAqa+uW2QFquVdXb8OTYxlEx9/34av/80xuTQZ2T0mqE 3psOVQakZTOjKP6qUjgzkeFS8iScdf3zcZ6Q5gggjTvdePjT0RvR03yr9ZtddUmKb0suiygb6PZvc U1zldXp1uz2+90yrHu6YcjOewpfQp3YhRWLHYk2FBXF+Tfy5yJabCR6PjGZWq4i6DIhFwjACFloFd E4Y8HFYJwST69nSX/EzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY89y-00000005oig-1OL6; Mon, 30 Nov 2026 20:39:41 +0000 Received: from mail.andi.de1.cc ([2a02:c205:3004:2154::1]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY89v-00000005oiA-42Xn for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2026 20:39:37 +0000 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=1796071175; x=1797280775; b=HzwGe+DSwVREpMua6d7HD9I4n1uD+SXeVcaqSpyAVd5yKwBDMNS5SJwNc2bgQiN9VMzi9nQDduX NlX4PPjCcajyBbn+XqdCQM/koKL+P1uPwvdWw+gT7ggH/f6ij6+vMEYUINbFVPM5C89JHONIGBZxy 81w5FrBISAmfoFxuuUiWzKx9Rco0bLr9nHSsRhbcJA9bvKuUI7buBrTp7tT9Wo8VSzDy4QL15/Mvq wI4d+ckRZYddal6UH/fdDHukxtD+BBMFecBXnnJIwcroyjLh31fQ+e6wOhdu0WH8019DDg5FD80Rd O/Bd/2TVMFTlTypNUhFnQ/US3OfQ9ntq4oCg==; 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261130_123936_009587_44483280 X-CRM114-Status: GOOD ( 25.15 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-7.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, 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