media: cadence: csi2rx: Enable csi2rx_err_irq interrupt and add support for VIDIOC_LO...
authorYemike Abhilash Chandra <y-abhilashchandra@ti.com>
Wed, 16 Apr 2025 12:19:38 +0000 (17:49 +0530)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 10 Jul 2025 09:32:24 +0000 (11:32 +0200)
commit9f2d0da9b8c3477cd5ed4e1ed1e58bb44184561b
treea6719be4b81256cf2bd4bb1f24a5ed791bf6d7db
parentafba5eaf69c1aad199638d830af9c2eb3f8c2e6e
media: cadence: csi2rx: Enable csi2rx_err_irq interrupt and add support for VIDIOC_LOG_STATUS

Enable the csi2rx_err_irq interrupt to record any errors during streaming
and also add support for VIDIOC_LOG_STATUS ioctl. This allows users to
retrieve detailed error information during streaming, including FIFO
overflow, packet errors, and ECC errors.

Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
Reviewed-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Tested-by: Jai Luthra <jai.luthra@linux.dev>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/cadence/cdns-csi2rx.c