Skip to contentSkip to conversation

Driver for Intersil/Techwell TW686x-based PCIe frame grabbers again

PATCH New Krzysztof Hałasa 1 participant 1 message Mar 11, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Driver for Intersil/Techwell TW686x-based PCIe frame grabbers again

MAINTAINERS +6 -0
index f9c1a0f..c1759ce 100644
@@ -11071,6 +11071,12 @@ W:	https://linuxtv.org
 S:	Odd Fixes
 F:	drivers/media/pci/tw68/
 
+TW686x VIDEO4LINUX DRIVER
+M:	Krzysztof Halasa <[email protected]>
+L:	[email protected]
+S:	Maintained
+F:	drivers/staging/media/pci/tw686x/
+
 TPM DEVICE DRIVER
 M:	Peter Huewe <[email protected]>
 M:	Marcel Selhorst <[email protected]>
drivers/staging/media/Kconfig +2 -0
index 0078b6a..fbf6a66 100644
@@ -37,6 +37,8 @@ source "drivers/staging/media/omap4iss/Kconfig"
 
 source "drivers/staging/media/timb/Kconfig"
 
+source "drivers/staging/media/tw686x/Kconfig"
+
 # Keep LIRC at the end, as it has sub-menus
 source "drivers/staging/media/lirc/Kconfig"
 
drivers/staging/media/Makefile +1 -0
index 9149588..22d4281 100644
@@ -8,3 +8,4 @@ obj-$(CONFIG_VIDEO_OMAP1)	+= omap1/
 obj-$(CONFIG_VIDEO_OMAP4)	+= omap4iss/
 obj-$(CONFIG_DVB_MN88472)       += mn88472/
 obj-$(CONFIG_VIDEO_TIMBERDALE)  += timb/
+obj-$(CONFIG_VIDEO_TW686X)	+= tw686x/
drivers/staging/media/tw686x/Kconfig new file +16 -0
new file mode 100644
index 0000000..8792a68
@@ -0,0 +1,16 @@
+config VIDEO_TW686X
+	tristate "Intersil/Techwell TW686x Video For Linux"
+	depends on VIDEO_DEV && PCI && VIDEO_V4L2
+	select VIDEOBUF2_DMA_SG
+	help
+	  Support for Intersil/Techwell TW686x-based frame grabber cards.
+
+	  Currently supported chips:
+	  - TW6864 (4 video channels),
+	  - TW6865 (4 video channels, not tested, second generation chip),
+	  - TW6868 (8 video channels but only 4 first channels using
+	    built-in video decoder are supported, not tested),
+	  - TW6869 (8 video channels, second generation chip).
+
+	  To compile this driver as a module, choose M here: the module
+	  will be named tw686x.
drivers/staging/media/tw686x/Makefile new file +3 -0
new file mode 100644
index 0000000..083b806
@@ -0,0 +1,3 @@
+tw686x-objs := tw686x-core.o tw686x-video.o
+
+obj-$(CONFIG_VIDEO_TW686X) += tw686x.o
drivers/staging/media/tw686x/TODO new file +3 -0
new file mode 100644
index 0000000..f226e80
@@ -0,0 +1,3 @@
+TODO: implement V4L2_FIELD_INTERLACED* mode(s).
+
+Please Cc: patches to Krzysztof Halasa <[email protected]>.
drivers/staging/media/tw686x/tw686x-core.c new file +140 -0

140 lines not on this page · raw message

drivers/staging/media/tw686x/tw686x-regs.h new file +103 -0

103 lines not on this page · raw message

drivers/staging/media/tw686x/tw686x-video.c new file +820 -0

820 lines not on this page · raw message

drivers/staging/media/tw686x/tw686x.h new file +118 -0

118 lines not on this page · raw message

Signature · 4 lines
Krzysztof Halasa

Industrial Research Institute for Automation and Measurements PIAP
Al. Jerozolimskie 202, 02-486 Warsaw, Poland