Commit 0ab13674 authored by Martin Tůma's avatar Martin Tůma Committed by Hans Verkuil
Browse files

media: pci: mgb4: Added Digiteq Automotive MGB4 driver



Digiteq Automotive MGB4 is a modular frame grabber PCIe card for automotive
video interfaces. As for now, two modules - FPD-Link and GMSL - are
available and supported by the driver. The card has two inputs and two
outputs (FPD-Link only).

In addition to the video interfaces it also provides a trigger signal
interface and a MTD interface for FPGA firmware upload.

Signed-off-by: default avatarMartin Tůma <martin.tuma@digiteqautomotive.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent fd6627cb
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -6087,6 +6087,13 @@ L: linux-gpio@vger.kernel.org
S:	Maintained
F:	drivers/gpio/gpio-gpio-mm.c
DIGITEQ AUTOMOTIVE MGB4 V4L2 DRIVER
M:	Martin Tuma <martin.tuma@digiteqautomotive.com>
L:	linux-media@vger.kernel.org
S:	Maintained
F:	Documentation/admin-guide/media/mgb4.rst
F:	drivers/media/pci/mgb4/
DIOLAN U2C-12 I2C DRIVER
M:	Guenter Roeck <linux@roeck-us.net>
L:	linux-i2c@vger.kernel.org
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ if MEDIA_PCI_SUPPORT
if MEDIA_CAMERA_SUPPORT
	comment "Media capture support"

source "drivers/media/pci/mgb4/Kconfig"
source "drivers/media/pci/solo6x10/Kconfig"
source "drivers/media/pci/sta2x11/Kconfig"
source "drivers/media/pci/tw5864/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ obj-$(CONFIG_VIDEO_CX25821) += cx25821/
obj-$(CONFIG_VIDEO_CX88) += cx88/
obj-$(CONFIG_VIDEO_DT3155) += dt3155/
obj-$(CONFIG_VIDEO_IVTV) += ivtv/
obj-$(CONFIG_VIDEO_MGB4) += mgb4/
obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
obj-$(CONFIG_VIDEO_SAA7164) += saa7164/
obj-$(CONFIG_VIDEO_SOLO6X10) += solo6x10/
+17 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
config VIDEO_MGB4
	tristate "Digiteq Automotive MGB4 support"
	depends on VIDEO_DEV && PCI && I2C && DMADEVICES && SPI && MTD && IIO
	select VIDEOBUF2_DMA_SG
	select IIO_BUFFER
	select IIO_TRIGGERED_BUFFER
	select I2C_XILINX
	select SPI_XILINX
	select MTD_SPI_NOR
	select XILINX_XDMA
	help
	  This is a video4linux driver for Digiteq Automotive MGB4 grabber
	  cards.

	  To compile this driver as a module, choose M here: the
	  module will be called mgb4.
+6 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
mgb4-objs	:= mgb4_regs.o mgb4_core.o mgb4_vin.o mgb4_vout.o \
               mgb4_sysfs_pci.o mgb4_sysfs_in.o mgb4_sysfs_out.o \
               mgb4_i2c.o mgb4_cmt.o mgb4_trigger.o mgb4_dma.o

obj-$(CONFIG_VIDEO_MGB4) += mgb4.o
Loading