From: Muralidharan Karicheri <m-kariche...@ti.com>

Adds Kconfig and Makefile changes required for vpif capture driver

Reviewed-by: Hans Verkuil <hverk...@xs4all.nl>

Signed-off-by: Muralidharan Karicheri <m-kariche...@ti.com>
---
Applies to V4L-DVB linux-next repository
 drivers/media/video/Kconfig          |   15 +++++++++++++--
 drivers/media/video/davinci/Makefile |    2 ++
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index 1fa3c87..fc6a83e 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -501,10 +501,21 @@ config DISPLAY_DAVINCI_DM646X_EVM
        select VIDEO_ADV7343
        select VIDEO_THS7303
        help
-         Support for DaVinci based display device.
+         Support for DM6467 based display device.
 
          To compile this driver as a module, choose M here: the
-         module will be called davincihd_display.
+         module will be called vpif_display.
+
+config CAPTURE_DAVINCI_DM646X_EVM
+       tristate "DM646x EVM Video Capture"
+       depends on VIDEO_DEV && MACH_DAVINCI_DM6467_EVM
+       select VIDEOBUF_DMA_CONTIG
+       select VIDEO_DAVINCI_VPIF
+       help
+         Support for DM6467 based capture device.
+
+         To compile this driver as a module, choose M here: the
+         module will be called vpif_capture.
 
 config VIDEO_DAVINCI_VPIF
        tristate "DaVinci VPIF Driver"
diff --git a/drivers/media/video/davinci/Makefile 
b/drivers/media/video/davinci/Makefile
index f44cad2..1a8b8f3 100644
--- a/drivers/media/video/davinci/Makefile
+++ b/drivers/media/video/davinci/Makefile
@@ -7,6 +7,8 @@ obj-$(CONFIG_VIDEO_DAVINCI_VPIF) += vpif.o
 
 #DM646x EVM Display driver
 obj-$(CONFIG_DISPLAY_DAVINCI_DM646X_EVM) += vpif_display.o
+#DM646x EVM Capture driver
+obj-$(CONFIG_CAPTURE_DAVINCI_DM646X_EVM) += vpif_capture.o
 
 # Capture: DM6446 and DM355
 obj-$(CONFIG_VIDEO_VPSS_SYSTEM) += vpss.o
-- 
1.6.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to