devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/bridge: dw-hdmi-qp: Fix HDMI output on H96 MAX V58 board
@ 2026-11-18 21:45 Joachim Eastwood via B4 Relay
  2026-11-18 21:45 ` [PATCH 1/4] drm/bridge: synopsys: dw-hdmi-qp: Propagate the bus format to the bridge input Joachim Eastwood via B4 Relay
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Joachim Eastwood via B4 Relay @ 2026-11-18 21:45 UTC (permalink / raw)
  To: Sandy Huang, Heiko Stübner, Andy Yan, Andrzej Hajda,
	Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman,
	Jernej Skrabec, Luca Ceresoli, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Alexey Charkov,
	Cristian Ciocaltea, Nicolas Frattaroli
  Cc: dri-devel, linux-rockchip, devicetree, linux-arm-kernel,
	Joachim Eastwood

This patch series is an attempt to fix the broken HDMI out on the H96
MAX V58 board. On this board the on-chip DDC controller doesn't manage
to read the EDID from the connected monitor. The root cause of this is
not known. I attempted enable pull-ups and lower the DDC speed but it
makes no difference. So the solution is to use a i2c-gpio driver on the
same DDC pins.

It was noted in the original submission of H96 MAX V58 [1] that HDMI was
untested but was assumed to be working. This is not the case, and
Armbian have had a similar workaround for this problem for some time.

Patch 1: Propagate bus format to the bridge input. Without this the 
	 output would be disabled when dw-hdmi-qp attaches to connector.
Patch 2: Attach dw-hdmi-qp to next bridge in the chain. This allows the
	 driver chain to use properties from the hdmi-connector. For
	 example the ddc-i2c-bus needed by H96 MAX V58.
Patch 3/4: Fix HDMI by using i2c-gpio for DDC and enable HDMI sound.

I used AI assistance (Claude) to write the two first patch so please
give them a critical review. I am not very familiar with the DRM subs
system. So please provide some guidance if this approach is wrong.

Patches tested on both H96 MAX V58 and NanoPi M6. No regressions
observed on NanoPi M6.

Also note that there is no schematics for H96 MAX V58 so it's not
possible to see where they screwed up the design. No other board in
mainline require this type of workaround.

Based on drm-misc-next.

[1]: https://lore.kernel.org/all/20250108-rk3588-h96-max-v58-v2-0-522301b905d6@gmail.com/

Signed-off-by: Joachim Eastwood <joachim.eastwood@gmail.com>
---
Joachim Eastwood (4):
      drm/bridge: synopsys: dw-hdmi-qp: Propagate the bus format to the bridge input
      drm/bridge: synopsys: dw-hdmi-qp: Attach the next bridge in the chain
      arm64: dts: rockchip: use i2c-gpio for hdmi ddc on rk3588-h96-max-v58
      arm64: dts: rockchip: enable hdmi sound on rk3588-h96-max-v58

 .../arm64/boot/dts/rockchip/rk3588-h96-max-v58.dts | 30 +++++++++++++++++++--
 drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c       | 31 ++++++++++++++++++++++
 2 files changed, 59 insertions(+), 2 deletions(-)
---
base-commit: 17a180572ca50c8d38f3aa47d6fc81ce7c5594da
change-id: 20261115-dw-hdmi-qp-bridge_attach-a3c943a4ac33

Best regards,
--  
Joachim Eastwood <joachim.eastwood@gmail.com>



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

end of thread, other threads:[~2026-11-18 22:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 21:45 [PATCH 0/4] drm/bridge: dw-hdmi-qp: Fix HDMI output on H96 MAX V58 board Joachim Eastwood via B4 Relay
2026-11-18 21:45 ` [PATCH 1/4] drm/bridge: synopsys: dw-hdmi-qp: Propagate the bus format to the bridge input Joachim Eastwood via B4 Relay
2026-11-18 21:45 ` [PATCH 2/4] drm/bridge: synopsys: dw-hdmi-qp: Attach the next bridge in the chain Joachim Eastwood via B4 Relay
2026-11-18 22:05   ` sashiko-bot
2026-11-18 21:45 ` [PATCH 3/4] arm64: dts: rockchip: use i2c-gpio for hdmi ddc on rk3588-h96-max-v58 Joachim Eastwood via B4 Relay
2026-11-18 21:45 ` [PATCH 4/4] arm64: dts: rockchip: enable hdmi sound " Joachim Eastwood via B4 Relay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).