Re: [PATCH v3 07/11] media: qcom: camss: csid-340: Enable RDI SOF tracking

From: Bryan O'Donoghue

Date: Mon Nov 09 2026 - 10:54:51 EST


On 07/11/2026 01:01, bryan.odonoghue@xxxxxxxxxx wrote:
From: Loic Poulain <loic.poulain@xxxxxxxxxxxxxxxx>

Add silicon specific changes to get SOF triggering V4L2_EVENT_FRAME_SYNC on
the '340' CSID. Covers QCM2290.

Unlike gen2 the 340 CSID has a per-interface IRQ block at
0x030 + 0x10 * iface, so the SOF mask and status have to be handled per
interface rather than globally. Run the existing csid_port_iface_map[]
through it so that PIX and RDI0-2 are all covered.

The spurious interrupt warning needs to account for the new per-interface
status too, otherwise every SOF would be reported as spurious.

Signed-off-by: Loic Poulain <loic.poulain@xxxxxxxxxxxxxxxx>
Signed-off-by: Bryan O'Donoghue <bod@xxxxxxxxxx>

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>