diff options
| author | 2026-09-30 14:41:32 +0800 | |
|---|---|---|
| committer | 2026-09-30 16:51:17 +0200 | |
| commit | 2a1247ebf80e3156fcbe7df3b3d892fede0fcf6e (patch) | |
| tree | bddf1f5c27f30431e967fc91844d40008cad35bf /scripts/Makefile.thinlto | |
| parent | media: i2c: it6625: decode detected timings via typed register structs (diff) | |
media: i2c: it6625: fix link-frequency reporting for one-/two-trio C-PHY
it6625_v4l2_init_controls() selected the 2.5 Gsym/s link-frequency
menu entry for any C-PHY configuration, but it6625_get_timings_cap()
only raises the DV-timings pixel-clock ceiling for three-trio C-PHY,
matching the actually-tested hardware capability. A one-/two-trio
C-PHY device was reporting an inflated V4L2_CID_LINK_FREQ.
Split the shared two-entry array into two single-entry arrays and
select between them with the same condition it6625_get_timings_cap()
uses (bus_type == V4L2_MBUS_CSI2_CPHY && csi_lanes == 3; C-PHY is only
ever set for IT6626, so this is equivalent to that function's chip-type
check as well). Name them for what they actually cover rather than for
a PHY type alone, since one-/two-trio C-PHY uses the low-rate array
too, not a "D-PHY" array.
Fixes: 142e5f00bd57 ("media: i2c: add driver for ITE IT6625/IT6626")
Signed-off-by: Hermes Wu <Hermes.wu@ite.com.tw>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
