mbox series

[v5,0/2] Enable support for error detection in CSI2RX

Message ID 20250228114030.1028443-1-y-abhilashchandra@ti.com
Headers show
Series Enable support for error detection in CSI2RX | expand

Message

Yemike Abhilash Chandra Feb. 28, 2025, 11:40 a.m. UTC
This patch series enables the csi2rx_err_irq interrupt to record any errors
that occur during streaming. It also adds support for the VIDIOC_LOG_STATUS
ioctl, which outputs the current device status to the kernel log.

The IRQ handler records any errors encountered during streaming.
Additionally, VIDIOC_LOG_STATUS can be invoked from user space to retrieve
the latest status.

Changelog:

Changes in v5:
- Make two interrupts non-optional
- Take back the ACK from Krzysztof since we are reverting to
  older bindings

v4: https://lore.kernel.org/all/20250227082920.744908-1-y-abhilashchandra@ti.com/


Yemike Abhilash Chandra (2):
  dt-bindings: media: cdns,csi2rx.yaml: Add optional interrupts for
    cdns-csi2rx
  media: cadence: csi2rx: Enable csi2rx_err_irq interrupt and add
    support for VIDIOC_LOG_STATUS

 .../bindings/media/cdns,csi2rx.yaml           |   8 ++
 drivers/media/platform/cadence/cdns-csi2rx.c  | 129 ++++++++++++++++++
 2 files changed, 137 insertions(+)