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 A8011606A31C for ; Thu, 26 Nov 2026 19:38:17 +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=OyaAE7kt; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=ikpepjGN 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:In-Reply-To:References:From: To:Cc:Subject:Message-Id:Date:Content-Type:Content-Transfer-Encoding: Mime-Version: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=ybgKfYhvLLU6UqBy8vCA/+mhJgc1ZHe5FG2bKhBu33A=; b=OyaAE7ktA5HEt7 zn4mf34DTYh+6GqShtu9OXdsdvFvK4iEqzlZZFxRnHKvVOvClxI3Gqx4JXLe/fmh2e80FmNMc+apJ NRkuTmFRdNpchZWI9s2Nm0ZygJUMa56dBwf3f3yLb8E4vtaKS7ahtCHFTLyoI8aTGM+6BIaRhGpT9 8KPkB2KCEtmQ4Va809x0O/tA2Rjw16jcXHaOqIw56tBdwY7ejqDp9A+rDg2gmxIBQmUEj0cbKC7y/ iODMvN6vIO0W9CBS1Cnxcrd+alFIrQwwUv31O/sEg9GEKhZFnwUjrJsF4i3jzl0U3vs9z7ffc/kKC yT4NZF6HYLWRaryl48zw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xWfIB-0000000EMb7-1LKq; Thu, 26 Nov 2026 19:38:03 +0000 Received: from smtpout-03.galae.net ([185.246.85.4]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xWfI7-0000000EMaO-3Zom for linux-arm-kernel@lists.infradead.org; Thu, 26 Nov 2026 19:38:02 +0000 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id A23214E417B4; Thu, 26 Nov 2026 19:37:57 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 5EE0C60558; Thu, 26 Nov 2026 19:37:57 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 156A911E68361; Thu, 26 Nov 2026 20:37:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1795721871; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=ybgKfYhvLLU6UqBy8vCA/+mhJgc1ZHe5FG2bKhBu33A=; b=ikpepjGN6sLKeY5KwFcYxKIG1E9nr29DC1TZLHGxbMfWVZF+/P/Yyr0QsaYzSjFSMvYlda /AVOUAjUJ5yv2pMovn9eC2e6V8iKJU+8ekSOrJbyDk1bbAzHKSC1nnBvwJwvu060nADTN4 OIkLuACu5VZ0Fi6w1MIwulFj1cm6ouGlut+nvLbfHtoTSUYAoWg5bFkntpdzVvcKp9smgz /bzChrnaA7J0UiqwudDozyaSFRxadMMqec7pWt2+VFrD2RcDEHICmc3z8Uz+E9qChY0m4R eoBnaqA6+wKKu7H2AkAhN/sBVj5CMtyNCUSen+7ZG3+xkzmLBSP4gCgTGNm4vQ== X-Archived-By: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 26 Nov 2026 20:37:40 +0100 Message-Id: Subject: Re: [PATCH v2 0/2] drm/bridge: tc358762: fix reset handling 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" , , , , , , To: "Andreas Kemnade" , "Luca Ceresoli" From: "Luca Ceresoli" X-Mailer: aerc 0.22.0 References: <20261125-tc3-reset-v2-0-32eefcaf1460@kemnade.info> <20261126193423.2344f609@kemnade.info> In-Reply-To: <20261126193423.2344f609@kemnade.info> X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261126_113800_031683_C3F77723 X-CRM114-Status: GOOD ( 21.19 ) 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=-5.9 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 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 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 sin= gle > chip works with GPIO_ACTIVE_HIGH without Patch 1, with Patch 1 it works w= ith > both GPIO_ACTIVE_LOW (which is the correct descrption of the hardware) an= d 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? So, well, nevermind. > Patch 2 is based on the assumption that things are working in the state i= t > is in right now, and only corrects the description of the hardware. > I expect to break things if it goes in without patch 1, so probably the > best strategy. would be if patch 1 goes to v7.n, then patch 2 should > go into v7.n+1. OK. I can apply patch 1 next week. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com