media: ti: Add CSI2RX support for J721E
authorJai Luthra <j-luthra@ti.com>
Mon, 9 Oct 2023 13:09:39 +0000 (18:39 +0530)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 12 Oct 2023 07:22:29 +0000 (09:22 +0200)
commitb4a3d877dc92963a4db16ddb71df3d333c0d40bd
tree56495855f94cec457ad28e7916724c7cc5872b77
parentca5b901c1896c5232fb3dd637279980670e8e6b9
media: ti: Add CSI2RX support for J721E

TI's J721E uses the Cadence CSI2RX and DPHY peripherals to facilitate
capture over a CSI-2 bus.

The Cadence CSI2RX IP acts as a bridge between the TI specific parts and
the CSI-2 protocol parts. TI then has a wrapper on top of this bridge
called the SHIM layer. It takes in data from stream 0, repacks it, and
sends it to memory over PSI-L DMA.

This driver acts as the "front end" to V4L2 client applications. It
implements the required ioctls and buffer operations, passes the
necessary calls on to the bridge, programs the SHIM layer, and performs
DMA via the dmaengine API to finally return the data to a buffer
supplied by the application.

Co-developed-by: Pratyush Yadav <p.yadav@ti.com>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Co-developed-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Tested-by: Vaishnav Achath <vaishnav.a@ti.com>
Tested-by: Julien Massot <julien.massot@collabora.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
MAINTAINERS
drivers/media/platform/ti/Kconfig
drivers/media/platform/ti/Makefile
drivers/media/platform/ti/j721e-csi2rx/Makefile [new file with mode: 0644]
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c [new file with mode: 0644]