Devicetree
 help / color / mirror / Atom feed
From: Andreas Kemnade <andreas@kemnade.info>
To: "Luca Ceresoli" <luca.ceresoli@bootlin.com>
Cc: "Neil Armstrong" <neil.armstrong@linaro.org>,
	"Dmitry Baryshkov" <lumag@kernel.org>,
	"Robert Foss" <rfoss@kernel.org>,
	"Laurent Pinchart" <Laurent.pinchart@ideasonboard.com>,
	"Jernej Skrabec" <jernej.skrabec@gmail.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Christoph Niedermaier" <cniedermaier@dh-electronics.com>,
	"Marek Vasut" <marex@nabladev.com>,
	"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
	"Alexandre Torgue" <alexandre.torgue@foss.st.com>,
	"Tomi Valkeinen" <tomi.valkeinen@ideasonboard.com>,
	"Linus Walleij" <linusw@kernel.org>,
	"Bartosz Golaszewski" <brgl@kernel.org>,
	<dri-devel@lists.freedesktop.org>, <devicetree@vger.kernel.org>,
	<kernel@dh-electronics.com>,
	<linux-stm32@st-md-mailman.stormreply.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-gpio@vger.kernel.org>
Subject: Re: [PATCH v2 0/2] drm/bridge: tc358762: fix reset handling
Date: Mon, 30 Nov 2026 21:39:19 +0100	[thread overview]
Message-ID: <20261130213919.0b3bc82b@kemnade.info> (raw)
In-Reply-To: <DN5E9UEG4WF7.3HAHIZ08FF1OA@bootlin.com>

On Thu, 26 Nov 2026 20:37:40 +0100
"Luca Ceresoli" <luca.ceresoli@bootlin.com> 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" <luca.ceresoli@bootlin.com> 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

      reply	other threads:[~2026-11-30 20:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 11:37 [PATCH v2 0/2] drm/bridge: tc358762: fix reset handling Andreas Kemnade
2026-11-25 11:37 ` [PATCH v2 1/2] gpio: tc358762: fix reset gpio handling Andreas Kemnade
2026-11-26 19:38   ` Luca Ceresoli
2026-11-30 15:12   ` Bartosz Golaszewski
2026-11-25 11:37 ` [PATCH v2 2/2] ARM: dts: st: stm32mp15xx-dhsom: fix bridge reset polarity Andreas Kemnade
2026-11-25 11:47   ` sashiko-bot
2026-11-26 16:31 ` [PATCH v2 0/2] drm/bridge: tc358762: fix reset handling Luca Ceresoli
2026-11-26 18:34   ` Andreas Kemnade
2026-11-26 19:37     ` Luca Ceresoli
2026-11-30 20:39       ` Andreas Kemnade [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261130213919.0b3bc82b@kemnade.info \
    --to=andreas@kemnade.info \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=airlied@gmail.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=brgl@kernel.org \
    --cc=cniedermaier@dh-electronics.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=kernel@dh-electronics.com \
    --cc=krzk+dt@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=luca.ceresoli@bootlin.com \
    --cc=lumag@kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=marex@nabladev.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tomi.valkeinen@ideasonboard.com \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox