On Thu May 29 12:13:21 2025 +0800, Bingbu Cao wrote: > The main input system driver mainly cover the basic hardware setup, v4l2 > devices registration, firmware stream interfaces and interrupt handling. > > Input system CSI2 receiver is exposed as a v4l2 sub-device. Each CSI2 > sub-device represent one single CSI2 hardware port which be linked with > external sub-device such camera sensor by linked with ISYS CSI2's sink > pad. The CSI2 source pad is linked to the sink pad of video capture device. > > Register V4L2 video device and setup the VB2 queues to support video > capture. Video streaming callback will trigger the input system driver to > construct a input system stream configuration for firmware based on data > type and stream ID and then queue buffers to firmware to do capture. > > IPU7 CSI-2 D-PHY hardware is a Synopsys DWC MIPI CSI2 Rx IP, the driver > program the DPHY to receive MIPI data from camera sensors. > > Signed-off-by: Bingbu Cao <bingbu....@intel.com> > Signed-off-by: Sakari Ailus <sakari.ai...@linux.intel.com> > Signed-off-by: Hans Verkuil <hverk...@xs4all.nl>
Patch committed. Thanks, Hans Verkuil drivers/staging/media/ipu7/ipu7-fw-isys.c | 301 ++++++ drivers/staging/media/ipu7/ipu7-fw-isys.h | 39 + drivers/staging/media/ipu7/ipu7-isys-csi-phy.c | 1034 +++++++++++++++++++ drivers/staging/media/ipu7/ipu7-isys-csi-phy.h | 16 + drivers/staging/media/ipu7/ipu7-isys-csi2-regs.h | 1197 ++++++++++++++++++++++ drivers/staging/media/ipu7/ipu7-isys-csi2.c | 543 ++++++++++ drivers/staging/media/ipu7/ipu7-isys-csi2.h | 64 ++ drivers/staging/media/ipu7/ipu7-isys-queue.c | 829 +++++++++++++++ drivers/staging/media/ipu7/ipu7-isys-queue.h | 72 ++ drivers/staging/media/ipu7/ipu7-isys-subdev.c | 348 +++++++ drivers/staging/media/ipu7/ipu7-isys-subdev.h | 53 + drivers/staging/media/ipu7/ipu7-isys-video.c | 1112 ++++++++++++++++++++ drivers/staging/media/ipu7/ipu7-isys-video.h | 117 +++ drivers/staging/media/ipu7/ipu7-isys.c | 1166 +++++++++++++++++++++ drivers/staging/media/ipu7/ipu7-isys.h | 140 +++ drivers/staging/media/ipu7/ipu7.c | 6 +- 16 files changed, 7033 insertions(+), 4 deletions(-) --- NOTE: diff discarded since email is too big. Use: git diff a516d36bdc3d8373f904af57c95e76d6f921cf1c~1..a516d36bdc3d8373f904af57c95e76d6f921cf1c To check the changes