Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/bridge: tc358762: fix reset handling
@ 2026-11-25 11:37 Andreas Kemnade
  2026-11-25 11:37 ` [PATCH v2 1/2] gpio: tc358762: fix reset gpio handling Andreas Kemnade
  2026-11-25 11:37 ` [PATCH v2 2/2] ARM: dts: st: stm32mp15xx-dhsom: fix bridge reset polarity Andreas Kemnade
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Kemnade @ 2026-11-25 11:37 UTC (permalink / raw)
  To: Neil Armstrong, Dmitry Baryshkov, Robert Foss, Laurent Pinchart,
	Jernej Skrabec, Luca Ceresoli, 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
  Cc: dri-devel, devicetree, kernel, linux-stm32, linux-arm-kernel,
	linux-gpio, Andreas Kemnade

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.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
Changes in v2:
- do not use raw gpios but use the quirk framework fixing also initial
  state
- Link to v1: https://patch.msgid.link/20261124-tc3-reset-v1-0-a5d27fe4b5de@kemnade.info

---
Andreas Kemnade (2):
      gpio: tc358762: fix reset gpio handling
      ARM: dts: st: stm32mp15xx-dhsom: fix bridge reset polarity

 .../boot/dts/st/stm32mp15xx-dhsom-overlay-panel-dsi-rpi7inch.dtsi  | 2 +-
 drivers/gpio/gpiolib-of.c                                          | 7 +++++++
 drivers/gpu/drm/bridge/tc358762.c                                  | 6 +++---
 3 files changed, 11 insertions(+), 4 deletions(-)
---
base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
base-tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
change-id: 20261124-tc3-reset-e68e91bc1638

Best regards,
--  
Andreas Kemnade <andreas@kemnade.info>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-25 11:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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-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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox