[PATCH 0/3] media: synopsys: hdmirx: pixelclock fix and input status reporting

From: Sascha Hauer

Date: Mon Sep 21 2026 - 03:16:04 EST


Three changes to the Synopsys HDMI receiver, all found while bringing the
driver up on an RK3588 board.

The first is a fix. hdmirx_get_detected_timings() divides the TMDS clock
by a colordepth that only the format change worker ever fills in, so a
VIDIOC_QUERY_DV_TIMINGS issued in the window between the hardware
reporting lock and that worker running divides by zero and reports a
pixelclock of zero. It reads the colordepth from the hardware at the
point of use now.

The other two belong together. So far the only way for userspace to learn
the cable and lock state was the error code of VIDIOC_QUERY_DV_TIMINGS,
and both of those paths log at v4l2_err level, so an application polling
for a source fills the kernel log. Patch 2 reports the two states through
VIDIOC_ENUMINPUT, where the V4L2 API puts them, and patch 3 then drops
the prints to debug level.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
Gerald Loacker (1):
media: synopsys: hdmirx: add input status reporting to VIDIOC_ENUMINPUT

Lucas Sinn (1):
media: synopsys: hdmirx: fetch colordepth before calculating pixelclock

Sascha Hauer (1):
media: synopsys: hdmirx: stop logging a missing signal at error level

.../media/platform/synopsys/hdmirx/snps_hdmirx.c | 84 ++++++++++++----------
1 file changed, 47 insertions(+), 37 deletions(-)
---
base-commit: bc35965f6940a9bf834d54187b6088b8eb09206d
change-id: 20260904-hdmirx-fixes-edf0ce189f85

Best regards,
--
Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>