]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: ti: j721e-csi2rx: Support multiple pixels per clock
authorJai Luthra <jai.luthra@ideasonboard.com>
Mon, 11 Aug 2025 08:20:18 +0000 (13:50 +0530)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Mon, 25 Aug 2025 13:40:42 +0000 (15:40 +0200)
commit31f91c5224cdfa505b91edb6a92c3c468e6a3d1d
tree7c89961a23f71c9642fb209aa04a2478327ac406
parent7b78fa862296f8931e42ecaec3703e307e4044d2
media: ti: j721e-csi2rx: Support multiple pixels per clock

Add support for negotiating the highest possible pixel mode (from
single, dual, quad) with the Cadence CSI2RX bridge. This is required to
drain the Cadence stream FIFOs without overflowing when the source is
operating at a high link-frequency [1].

Also, update the Kconfig as this introduces a hard build-time dependency
on the Cadence CSI2RX driver, even for a COMPILE_TEST.

[1] Section 12.6.1.4.8.14 CSI_RX_IF Programming Restrictions of AM62 TRM

Link: https://www.ti.com/lit/pdf/spruj16
Tested-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com> (on SK-AM68)
Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/ti/Kconfig
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c