[media] davinci: vpfe: dm365: add build infrastructure for capture driver
authorManjunath Hadli <manjunath.hadli@ti.com>
Wed, 28 Nov 2012 05:26:17 +0000 (02:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 16:14:20 +0000 (14:14 -0200)
add build infrastructure for dm365 specific modules for VPFE
capture driver.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/Kconfig
drivers/staging/media/Makefile
drivers/staging/media/davinci_vpfe/Kconfig [new file with mode: 0644]
drivers/staging/media/davinci_vpfe/Makefile [new file with mode: 0644]

index 427218b8b10f435e5f9dcd7dbc3751a572b0566f..ae0abc350e340221af485aa9634d712124534430 100644 (file)
@@ -23,6 +23,8 @@ source "drivers/staging/media/as102/Kconfig"
 
 source "drivers/staging/media/cxd2099/Kconfig"
 
+source "drivers/staging/media/davinci_vpfe/Kconfig"
+
 source "drivers/staging/media/dt3155v4l/Kconfig"
 
 source "drivers/staging/media/go7007/Kconfig"
index aec6eb96394033c156a9731a5503f813c9193393..2b97cae9949942f0bfc96269ca49d5e11ec2013f 100644 (file)
@@ -4,3 +4,4 @@ obj-$(CONFIG_LIRC_STAGING)      += lirc/
 obj-$(CONFIG_SOLO6X10)         += solo6x10/
 obj-$(CONFIG_VIDEO_DT3155)     += dt3155v4l/
 obj-$(CONFIG_VIDEO_GO7007)     += go7007/
+obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci_vpfe/
diff --git a/drivers/staging/media/davinci_vpfe/Kconfig b/drivers/staging/media/davinci_vpfe/Kconfig
new file mode 100644 (file)
index 0000000..2e4a28b
--- /dev/null
@@ -0,0 +1,9 @@
+config VIDEO_DM365_VPFE
+       tristate "DM365 VPFE Media Controller Capture Driver"
+       depends on VIDEO_V4L2 && ARCH_DAVINCI_DM365 && !VIDEO_VPFE_CAPTURE
+       select VIDEOBUF2_DMA_CONTIG
+       help
+         Support for DM365 VPFE based Media Controller Capture driver.
+
+         To compile this driver as a module, choose M here: the
+         module will be called vpfe-mc-capture.
diff --git a/drivers/staging/media/davinci_vpfe/Makefile b/drivers/staging/media/davinci_vpfe/Makefile
new file mode 100644 (file)
index 0000000..c64515c
--- /dev/null
@@ -0,0 +1,3 @@
+obj-$(CONFIG_VIDEO_DM365_VPFE) += \
+       dm365_isif.o dm365_ipipe_hw.o dm365_ipipe.o \
+       dm365_resizer.o dm365_ipipeif.o vpfe_mc_capture.o vpfe_video.o