[PATCH 0/5] media: i2c: it6625: fix DV timings handling
From: Hermes Wu via B4 Relay
Date: Wed Oct 21 2026 - 02:04:50 EST
This series fixes five issues in how the IT6625 driver detects, reports
and configures DV timings.
Patch 1 keeps the configured DV timings and the ACTIVE pad format when
the HDMI 5V state changes, instead of clearing them.
Patch 2 makes S_DV_TIMINGS return -EBUSY for a timings change while the
subdev is streaming.
Patch 3 reports the detected horizontal and vertical sync polarities.
Patch 4 fixes the vertical timings of the second field of interlaced
input, so that a 1080i frame totals 1125 lines.
Patch 5 lowers the minimum pixel clock to 25 MHz, so that the 640x480
formats are accepted.
The series is based on media next and applies on its own. It does not
depend on the pending IT6625 reset timing series [1]; the two apply in
either order.
The changes were tested on hardware with HDMI sources, with the patches
applied to the driver on an older kernel. The configured timings were
kept across an HDMI unplug and replug. While the subdev was streaming, a
timings change was refused and identical timings were still accepted;
the change was accepted once streaming had stopped. Negative, positive
and mixed (negative horizontal, positive vertical) sync polarities were
reported correctly. 1080i50, 1080i59.94 and 1080i60 input was reported
with 1125 lines per frame and the expected field rates, and 640x480p60
and 720x576p50 input was detected. No video frames were captured in
these tests.
[1] https://lore.kernel.org/r/20261007-upstream-it6625-reset-delay-v2-0-c5d6b2522bbe@xxxxxxxxxx
Signed-off-by: Hermes Wu <Hermes.wu@xxxxxxxxxx>
---
Hermes Wu (5):
media: i2c: it6625: keep the configured DV timings on 5V changes
media: i2c: it6625: reject DV timings changes while streaming
media: i2c: it6625: report the detected sync polarities
media: i2c: it6625: fix the second-field vertical timings
media: i2c: it6625: lower the minimum pixel clock to 25 MHz
drivers/media/i2c/it6625.c | 37 +++++++++++++++++--------------------
1 file changed, 17 insertions(+), 20 deletions(-)
---
base-commit: d7e7bca7169873b46e857c025c10f3336c1258d8
change-id: 20261021-upstream-it6625-dv-timings-fix-dfec06cb0b34
Best regards,
--
Hermes Wu <Hermes.wu@xxxxxxxxxx>