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 <[email protected]> --- Changes in v2: - do not use raw gpios but use the quirk framework fixing also initial state - Link to v1: https://patch.msgid.link/[email protected] --- 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 <[email protected]>
