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/[email protected]/
Signed-off-by: Joachim Eastwood <[email protected]>
---
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 <[email protected]>