Skip to content

Commit cf21f32

Browse files
pinchartlmchehab
authored andcommitted
media: nxp: Add i.MX8 ISI driver
The Image Sensing Interface (ISI) combines image processing pipelines with DMA engines to process and capture frames originating from a variety of sources. The inputs to the ISI go through Pixel Link interfaces, and their number and nature is SoC-dependent. They cover both capture interfaces (MIPI CSI-2 RX, HDMI RX) and memory inputs. Signed-off-by: Christian Hemp <[email protected]> Signed-off-by: Dong Aisheng <[email protected]> Signed-off-by: Guoniu Zhou <[email protected]> Signed-off-by: Jacopo Mondi <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Stefan Riedmueller <[email protected]> Tested-by: Adam Ford <[email protected]> #imx8mn-beacon Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent b28e241 commit cf21f32

File tree

14 files changed

+6024
-0
lines changed

14 files changed

+6024
-0
lines changed

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14931,6 +14931,13 @@ F: Documentation/devicetree/bindings/clock/imx*
1493114931
F: drivers/clk/imx/
1493214932
F: include/dt-bindings/clock/imx*
1493314933

14934+
NXP i.MX 8M ISI DRIVER
14935+
M: Laurent Pinchart <[email protected]>
14936+
14937+
S: Maintained
14938+
F: Documentation/devicetree/bindings/media/nxp,imx8-isi.yaml
14939+
F: drivers/media/platform/nxp/imx8-isi/
14940+
1493414941
NXP i.MX 8MQ DCSS DRIVER
1493514942
M: Laurentiu Palcu <[email protected]>
1493614943
R: Lucas Stach <[email protected]>

drivers/media/platform/nxp/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ config VIDEO_IMX_MIPI_CSIS
2828
Video4Linux2 sub-device driver for the MIPI CSI-2 CSIS receiver
2929
v3.3/v3.6.3 found on some i.MX7 and i.MX8 SoCs.
3030

31+
source "drivers/media/platform/nxp/imx8-isi/Kconfig"
32+
3133
# mem2mem drivers
3234

3335
config VIDEO_IMX_PXP

drivers/media/platform/nxp/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
obj-y += dw100/
44
obj-y += imx-jpeg/
5+
obj-y += imx8-isi/
56

67
obj-$(CONFIG_VIDEO_IMX7_CSI) += imx7-media-csi.o
78
obj-$(CONFIG_VIDEO_IMX_MIPI_CSIS) += imx-mipi-csis.o
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
3+
config VIDEO_IMX8_ISI
4+
tristate "i.MX8 Image Sensor Interface (ISI) driver"
5+
depends on ARCH_MXC || COMPILE_TEST
6+
depends on HAS_DMA && PM
7+
depends on VIDEO_DEV
8+
select MEDIA_CONTROLLER
9+
select V4L2_FWNODE
10+
select V4L2_MEM2MEM_DEV if VIDEO_IMX8_ISI_M2M
11+
select VIDEO_V4L2_SUBDEV_API
12+
select VIDEOBUF2_DMA_CONTIG
13+
help
14+
V4L2 driver for the Image Sensor Interface (ISI) found in various
15+
i.MX8 SoCs.
16+
17+
config VIDEO_IMX8_ISI_M2M
18+
bool "i.MX8 Image Sensor Interface (ISI) memory-to-memory support"
19+
depends on VIDEO_IMX8_ISI
20+
help
21+
Select 'yes' here to enable support for memory-to-memory processing
22+
in the ISI driver.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
3+
imx8-isi-y := imx8-isi-core.o imx8-isi-crossbar.o imx8-isi-hw.o \
4+
imx8-isi-pipe.o imx8-isi-video.o
5+
imx8-isi-$(CONFIG_DEBUG_FS) += imx8-isi-debug.o
6+
imx8-isi-$(CONFIG_VIDEO_IMX8_ISI_M2M) += imx8-isi-m2m.o
7+
8+
obj-$(CONFIG_VIDEO_IMX8_ISI) += imx8-isi.o

0 commit comments

Comments
 (0)