[PATCH 5/5] media: i2c: it6625: lower the minimum pixel clock to 25 MHz
From: Hermes Wu via B4 Relay
Date: Wed Oct 21 2026 - 02:07:30 EST
From: Hermes Wu <Hermes.wu@xxxxxxxxxx>
The 27 MHz minimum pixel clock rejected 640x480p59.94 and 640x480p60
(25.175 and 25.2 MHz), the lowest CEA-861 format, both in
QUERY_DV_TIMINGS and in S_DV_TIMINGS. A 27 MHz format whose measured
pixel clock comes out slightly below nominal can be rejected as well.
Use 25 MHz as the minimum. This admits the 640x480 formats but still
keeps out the 13.5 MHz 480i/576i presets.
Change both timings caps. The minimum doesn't depend on the CSI-2 PHY
configuration; the three-trio C-PHY cap only raises the maximum.
Fixes: 142e5f00bd57 ("media: i2c: add driver for ITE IT6625/IT6626")
Assisted-by: LLM
Signed-off-by: Hermes Wu <Hermes.wu@xxxxxxxxxx>
---
drivers/media/i2c/it6625.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/i2c/it6625.c b/drivers/media/i2c/it6625.c
index 75bcb8304c02c7c0c5feeb02af6c93378fcfa5d7..561e5b5f75d887da01755fa292d6c04e4fb22c16 100644
--- a/drivers/media/i2c/it6625.c
+++ b/drivers/media/i2c/it6625.c
@@ -342,7 +342,7 @@ static const struct v4l2_dv_timings_cap it6625_timings_cap = {
/* keep this initialization for compatibility with GCC < 4.4.6 */
.reserved = { 0 },
- V4L2_INIT_BT_TIMINGS(640, 3840, 480, 2160, 27000000, 300000000,
+ V4L2_INIT_BT_TIMINGS(640, 3840, 480, 2160, 25000000, 300000000,
V4L2_DV_BT_STD_CEA861 | V4L2_DV_BT_STD_DMT |
V4L2_DV_BT_STD_GTF | V4L2_DV_BT_STD_CVT,
V4L2_DV_BT_CAP_PROGRESSIVE | V4L2_DV_BT_CAP_INTERLACED |
@@ -357,7 +357,7 @@ static const struct v4l2_dv_timings_cap it6626_cphy_3trio_timings_cap = {
.type = V4L2_DV_BT_656_1120,
.reserved = { 0 },
- V4L2_INIT_BT_TIMINGS(640, 3840, 480, 2160, 27000000, 594000000,
+ V4L2_INIT_BT_TIMINGS(640, 3840, 480, 2160, 25000000, 594000000,
V4L2_DV_BT_STD_CEA861 | V4L2_DV_BT_STD_DMT |
V4L2_DV_BT_STD_GTF | V4L2_DV_BT_STD_CVT,
V4L2_DV_BT_CAP_PROGRESSIVE | V4L2_DV_BT_CAP_INTERLACED |
--
2.34.1